zlodey / laravel-sendpulse-api
This package is abandoned and no longer maintained.
No replacement package was suggested.
SendPulse service provider for laravel
1.0.3
2021-02-23 19:01 UTC
Requires
- php: >=5.4.0
- illuminate/support: *
- sendpulse/rest-api: 1.*
This package is auto-updated.
Last update: 2022-01-21 10:59:02 UTC
README
Laravel - SendPulse Service Provider
Install With Composer:
composer require zlodey/laravel-sendpulse-api 1.*
Or manualy in composer.json:
"require": { "zlodey/laravel-sendpulse-api": "1.*" }
Define into .env
SENDPULSE_API_USER_ID=<your api user id>
SENDPULSE_API_SECRET=<your api secret>
For Laravel >= 5.5 you are ready to go
For laravel < 5.5 you need to register service provider
/configs/app.php
... 'providers' => [ /* * Laravel Framework Service Providers... */ ... /* * Application Service Providers... */ ... 'Zlodey\SendPulse\SendPulseServiceProvider' ],
Usage
app('SendPulse')->listAddressBooks(); app('SendPulse')->listSenders();
And so on..
Full list of available commands you can find at \Sendpulse\RestApi\ApiInterface