jadessoriano / mobivate-sdk-php
Mobivate SDK for PHP
Fund package maintenance!
jadessoriano
Requires
- php: ^8.2
- ext-json: *
Requires (Dev)
- laravel/pint: ^1.5
- mockery/mockery: ^1.4
- pestphp/pest: ^3.7.4
- phly/keep-a-changelog: ^2.11
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0.1
- phpstan/phpstan-phpunit: ^2.0.4
- rector/rector: ^2.0.9
- spatie/ray: ^1.28
- ticketswap/phpstan-error-formatter: ^1.1
This package is auto-updated.
Last update: 2025-04-19 08:35:20 UTC
README
Mobivate SDK for PHP (WIP)
Mobivate SDK for PHP.
- Installation
- Usage
⚠️ This project is a work in progress. May contain breaking changes or incomplete features. Use at your own risk. Contributions are welcome!
Installation
You can install the package via composer:
composer require jadessoriano/mobivate-sdk-php
Single Send Message
use Jadessoriano\Mobivate\Client\Credentials\Basic; use Jadessoriano\Mobivate\Client\Sms\SendSingle; use Jadessoriano\Mobivate\MobivateClient; use Jadessoriano\Mobivate\Requests\Sms\Message; $client = new MobivateClient( new Basic('api_live_abcd1234efgh5678ijkl9012mnop3456') ); $response = (new SendSingle($client)) ->execute( new Message( originator: 'Test', recipient: '44700011122', body: 'This is a test message', ) )
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.