PHP text message PEAR package: Services_Sms_PHP tutorial

Source: Internet
Author: User
Php pear package: Services_Sms. PHP text message PEAR package: Services_Sms for this third-party library, which is officially called PEAR by PHP and needs to be developed according to the PEAR standard (standard URI ). PEAR advantages: One-click installation to the phplibphp directory PHP text message PEAR package: Services_Sms

For this third-party library, PHP officially calls it PEAR and needs to be developed according to the PEAR standard (standard URI ).

PEAR advantages: One-click installation to the php/lib/php Directory, require can be used, very convenient.

Because the project needs to send text messages, I have developed one, which is now open-source. The installation procedure is as follows:

pear channel-discover sinkcup.github.io/ sinkcup/Services_Sms

0.0.1 supports the following text message service providers:

Mobile network: http://www.etonenet.com/

SMS: http://smsbao.com/

Infinite mutual: http://ihuyi.com/

Procedure:

1, to the text message service provider website to register an account, such as mobile network (http://www.etonenet.com /).

2, demo (reference https://github.com/sinkcup/Services_Sms/blob/master/tests/Services/SmsTest.php ):

 'Foo', 'sppassword' => 'bar', 'apiuriprefix' => 'http: // esms.etonenet.com/', = Services_Sms ('etonenet ', =-> send ('20140901', 'Hello! Mr. etonenet '(?>

Source code: https://github.com/sinkcup/Services_Sms

Sinkcup PEAR Channel: http://sinkcup.github.io/pear/

PEAR package: Services_Sms for this third-party library, which is officially called PEAR by PHP and needs to be developed according to the PEAR standard (standard URI ). PEAR advantages: One-click installation to the php/lib/php directory...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.