Download the PHP package onramplab/php-twilio-enhancement without Composer
On this page you can find all versions of the php package onramplab/php-twilio-enhancement. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download onramplab/php-twilio-enhancement
More information about onramplab/php-twilio-enhancement
Files in onramplab/php-twilio-enhancement
Download onramplab/php-twilio-enhancement
More information about onramplab/php-twilio-enhancement
Files in onramplab/php-twilio-enhancement
Vendor onramplab
Package php-twilio-enhancement
Short Description enhancement for PHP twilio sdk
License MIT
Package php-twilio-enhancement
Short Description enhancement for PHP twilio sdk
License MIT
Please rate this library. Is it a good library?
Informations about the package php-twilio-enhancement
php-twilio-enhancement
If you want to test your twilio/sdk by using Twilio API fake response, you can use this package to make it.
Requirements
- PHP >= 7.4;
- composer.
Installation
Features
- Able to log Twilio API response
- Able to mock API response for testing
Tricks
How to add custom HTTP Client to Twilio Rest Client
You can check out this document: Call the Twilio REST API with a custom TwilioRestClient in PHP.
Example code for Laravel:
Tech Features
- PSR-4 autoloading compliant structure;
- PSR-2 compliant code style;
- Unit-Testing with PHPUnit 6;
- Comprehensive guide and tutorial;
- Easy to use with any framework or even a plain php file;
- Useful tools for better code included.
Useful Tools
Running Tests:
php vendor/bin/phpunit
or
composer test
Code Sniffer Tool:
php vendor/bin/phpcs --standard=PSR2 src/
or
composer psr2check
Code Auto-fixer:
composer psr2autofix
composer insights:fix
rector:fix
Building Docs:
php vendor/bin/phpdoc -d "src" -t "docs"
or
composer docs
Changelog
To keep track, please refer to CHANGELOG.md.
Contributing
- Fork it.
- Create your feature branch (git checkout -b my-new-feature).
- Make your changes.
- Run the tests, adding new ones for your own code if necessary (phpunit).
- Commit your changes (git commit -am 'Added some feature').
- Push to the branch (git push origin my-new-feature).
- Create new pull request.
Also please refer to CONTRIBUTION.md.
License
Please refer to LICENSE.
All versions of php-twilio-enhancement with dependencies
PHP Build Version
Package Version
The package onramplab/php-twilio-enhancement contains the following files
Loading the files please wait ....