ivansabat/sendpulse-rest-api-laravel
最新稳定版本:1.1.2
Composer 安装命令:
composer require ivansabat/sendpulse-rest-api-laravel
包简介
A service provider and facade to set up and use the SendPulse PHP library in Laravel.
关键字:
README 文档
README
A service provider and facade to set up and use the SendPulse PHP library in Laravel.
Installation
- Install Package in a Laravel project:
composer require ivansabat/sendpulse-rest-api-laravel
- Set Environment Variables in .env:
SENDPULSE_API_USER_ID=your_api_user_id SENDPULSE_API_SECRET=your_api_secret
- Publish the configuration file (create sendpulse.php in the config directory).
php artisan vendor:publish --provider="IvanSabat\SendPulse\Providers\SendPulseServiceProvider"
Usage
Use the Package in your Laravel application:
use IvanSabat\Sendpulse\Facades\SendPulse; $addressBooks = SendPulse::listAddressBooks();
use IvanSabat\Sendpulse\Facades\SendPulse; $sendPulse = new Sendpulse( config('sendpulse.api_user_id'), config('sendpulse.api_secret') ); $addressBooks = $sendPulse->get('addressbooks');
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-04