Download the PHP package mangoweb-sylius/sylius-bulksms-plugin without Composer
On this page you can find all versions of the php package mangoweb-sylius/sylius-bulksms-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mangoweb-sylius/sylius-bulksms-plugin
More information about mangoweb-sylius/sylius-bulksms-plugin
Files in mangoweb-sylius/sylius-bulksms-plugin
Download mangoweb-sylius/sylius-bulksms-plugin
More information about mangoweb-sylius/sylius-bulksms-plugin
Files in mangoweb-sylius/sylius-bulksms-plugin
Vendor mangoweb-sylius
Package sylius-bulksms-plugin
Short Description BulkSMS plugin for Sylius
License MIT
Package sylius-bulksms-plugin
Short Description BulkSMS plugin for Sylius
License MIT
Please rate this library. Is it a good library?
Informations about the package sylius-bulksms-plugin
BulkSMS Plugin
Features
- Use https://www.bulksms.com account to send SMS to customers
- Inform your customers with a text message that the package has been sent
- Custom text for every shipping method and language
- Use variables to personalise the text
Installation
- Run
$ composer require mangoweb-sylius/sylius-bulksms-plugin
. - Register
\MangoSylius\BulkSmsPlugin\MangoSyliusBulkSmsPlugin
in your Kernel. - Import
@MangoSyliusBulkSmsPlugin/Resources/config/resources.yml
in the config.yml. - Your Entity
Channel
has to implement\MangoSylius\BulkSmsPlugin\Model\BulkSmsChannelInterface
. You can use TraitMangoSylius\BulkSmsPlugin\Model\BulkSmsChannelTrait
. - Your Entity
ShippingMethodTranslation
has to implement\MangoSylius\BulkSmsPlugin\Model\BulkSmsShippingMethodInterface
. You can use TraitMangoSylius\BulkSmsPlugin\Model\BulkSmsShippingMethodTrait
. - Include template
@MangoSyliusBulkSmsPlugin/channelSmsSegmentForm.html.twig
in@SyliusAdmin/Channel/_form.html.twig
. - Include template
@MangoSyliusBulkSmsPlugin/shippingMethodSmsForm.html.twig
in@SyliusAdmin/ShippingMethod/_form.html.twig
. For guide to use your own entity see Sylius docs - Customizing Models
Usage
First enter BulkSMS credentials and other parameters in channel settings, then enter SMS text for each shipping method. If the text is blank, no SMS will be sent.
You can use the following variables in the text:
Development
Usage
- Create symlink from .env.dist to .env or create your own .env file
- Develop your plugin in
/src
- See
bin/
for useful commands
Testing
After your changes you must ensure that the tests are still passing.
-
Easy Coding Standard
- PHPStan
License
This library is under the MIT license.
Credits
Developed by manGoweb.
All versions of sylius-bulksms-plugin with dependencies
PHP Build Version
Package Version
Requires
ext-curl Version
*
ext-json Version *
php Version ^7.1
sylius/sylius Version ^1.2.5
symfony/symfony Version ^4.1
ext-json Version *
php Version ^7.1
sylius/sylius Version ^1.2.5
symfony/symfony Version ^4.1
The package mangoweb-sylius/sylius-bulksms-plugin contains the following files
Loading the files please wait ....