webeweb / smsmode-bundle
Integrate sMsmode API with Symfony 2 and more
Installs: 841
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1|^8.0
- ext-json: *
- webeweb/core-bundle: ^3.0
- webeweb/core-library: ^8.33
- webeweb/smsmode-library: ^4.0
Requires (Dev)
- masterminds/html5: ^2.6
- monolog/monolog: ^1.18
- phpunit/phpunit: ^7.0|^9.0
- symfony/browser-kit: ^4.4|^5.0|^6.0
- symfony/framework-bundle: ^4.4|^5.0|^6.0
- symfony/monolog-bundle: ^3.0
- symfony/security-bundle: ^4.4|^5.0|^6.0
README
sMsmode bundle for Symfony 4 and more.
IMPORTANT NOTICE: This package is no longer maintained.
sMsmode
provides an API that enables you to easily and automatically send SMS
messages from your applications. This API provides the following functions:
- sending immediate or scheduled SMS messages
- managing SMS replies
- SMS history
- deleting SMS message
- account balance
- creating sub-account
- transferring credits from one account to another one
- adding contact
- getting delivery report
- callback on delivery report update
Includes:
If you like this package, pay me a beer (or a coffee)
Compatibility
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:
$ composer require webeweb/smsmode-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
public function registerBundles() { $bundles = [ // ... new WBW\Bundle\SmsModeBundle\WBWSmsModeBundle(), ]; // ... return $bundles; }
Once the bundle is added then do:
$ php bin/console assets:install
Add the bundle routing in the app/config/routing.yml
file of your project:
wbw_smsmode: prefix: "/" resource: "@WBWSmsModeBundle/Resources/config/routing.yml"
Usage
Read the documentation.
Testing
To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:
$ git clone https://github.com/webeweb/smsmode-bundle.git
$ cd smsmode-bundle
$ composer install
Once all required libraries are installed then do:
$ vendor/bin/phpunit
License
smsmode-bundle
is released under the MIT License. See the bundled LICENSE
file for details.
Please note that the sMsmode API is not free for use, see their product page for details on pricing.