Download the PHP package erbitron/dialog-esms without Composer
On this page you can find all versions of the php package erbitron/dialog-esms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download erbitron/dialog-esms
More information about erbitron/dialog-esms
Files in erbitron/dialog-esms
Package dialog-esms
Short Description PHP and Laravel client for Dialog eSMS API Sri Lanka
License MIT
Homepage https://github.com/bandaranaike/dialog-esms
Informations about the package dialog-esms
Dialog eSMS
PHP 8.1+ client for the Dialog Axiata Sri Lanka eSMS API, published on Packagist and ready for Laravel or plain PHP projects.
Source repository: https://github.com/bandaranaike/dialog-esms Packagist: https://packagist.org/packages/erbitron/dialog-esms Docs index: docs/README.md
Contents
- Installation
- Plain PHP usage
- Laravel usage
- Environment variables
- Config publishing
- Send SMS example
- Check balance example
- Error handling example
- Contributing
- Security
- Release
- License
Installation
Install from Packagist
Local development with a path repository
If you are working on the package locally, add this to your application composer.json:
Then install the package:
Install directly from GitHub during development
If you want to install from the GitHub repository directly, add a VCS repository entry:
Then require it normally:
Notes
- For normal projects, installing from Packagist is the recommended path.
- Use the path or VCS repository entries only for local development or when you need an unpublished change.
Plain PHP usage
Laravel usage
The package is auto-discovered by Laravel.
You can also use the facade:
Environment variables
Optional:
Config publishing
Publish the Laravel config file:
Send SMS example
Check balance example
Error handling example
Contributing
See CONTRIBUTING.md for the contribution workflow and local checks.
Security
If you discover a security issue, do not open a public issue with exploit details. Please report it through GitHub Security Advisories or create a private security report for the repository if available.
Release
See RELEASE.md for the release checklist and Packagist publishing flow.
License
This package is released under the MIT license. See the LICENSE file in the repository.