承接 ivansabat/sendpulse-rest-api-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Install Package in a Laravel project:
composer require ivansabat/sendpulse-rest-api-laravel
  1. Set Environment Variables in .env:
SENDPULSE_API_USER_ID=your_api_user_id
SENDPULSE_API_SECRET=your_api_secret
  1. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-04