rieznyk/laravel-infusionsoft
Composer 安装命令:
composer require rieznyk/laravel-infusionsoft
包简介
This package provides port of the Infusionsoft SDK utilizing Laravel fascades.
关键字:
README 文档
README
Laravel 6 & 7 Laravel Infusionsoft
This package eases the oAuth flow for authentication and helps with token management.
Installation
Use composer to install this package:
composer require upwebdesign/laravel-infusionsoft
For Laravel 5.6+, this package uses service provider and alias auto discovery. You can still add the service provider and alias below in config/app.php.
Upwebdesign\Infusionsoft\InfusionsoftServiceProvider::class,
in the providers array and optionally
'Infusionsoft' => Upwebdesign\Infusionsoft\InfusionsoftFacade::class,
to the aliases array.
Configuration
Publish infusionsoft.php config file.
php artisan vendor:publish --provider="Upwebdesign\Infusionsoft\InfusionsoftServiceProvider" --tag="config"
Environment
Fill in your Client ID and Secret along with the redirect URI and cache store. Default values are used below.
INFUSIONSOFT_CLIENT_ID=
INFUSIONSOFT_CLIENT_SECRET=
INFUSIONSOFT_CACHE=file
Credentials
Once you have all the necessary authorization information entered in your .env we can begin the authorization process.
You may access the route /infusionsoft/auth to begin the authorization process. This route will generate the necessary authorization URL to infusionsoft and redirect you to your Infusionsoft application. You must log into Infusionsoft and authorize your app to use the Infusionsoft API. Once you allow, you will be redirected back to your application /infusionsoft/auth/callback. Here you will either receive an exception or a successful message.
Redirect URI
INFUSIONSOFT_REDIRECT_URI if used, will override the callback from Infusionsoft and will result in the infusionsoft.token to not get created. This means you will need to handle the authorization code returned back from Infusionsoft to request an access token.
Token Name & Cache
Token name default is infusionsoft.token, but can be overridden by INFUSIONSOFT_TOKEN_NAME. By default the cache store is set to local, but can be any cache store you have set up in your application and can be overridden by INFUSIONSOFT_CACHE. The default cache store is file, but can be any cache store you have set up.
Lumen
Register the service provider
$app->register(Upwebdesign\Infusionsoft\InfusionsoftLumenServiceProvider::class);
Add Infusionsoft configuration bootstrap/app.php
// Add the ability to read the `infusionsoft` config file $app->configure('infusionsoft');
Activate filesystems
config/filesystems.php
See a sample filesystems.php config file. https://github.com/laravel/laravel/blob/master/config/filesystems.php
Add our configuration bootstrap/app.php
... $app->configure('filesystems'); ... $app->singleton( Illuminate\Contracts\Filesystem\Factory::class, function ($app) { return new Illuminate\Filesystem\FilesystemManager($app); } ); ...
Add Infusionsoft facade (optional)
class_alias(Upwebdesign\Infusionsoft\InfusionsoftFacade::class, 'Infusionsoft');
License
Upwebdesign/Infusionsoft & Infusionsoft SDK is free software distributed under the terms of the MIT license.
rieznyk/laravel-infusionsoft 适用场景与选型建议
rieznyk/laravel-infusionsoft 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 04 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「sdk」 「laravel」 「infusionsoft」 「isdk」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rieznyk/laravel-infusionsoft 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rieznyk/laravel-infusionsoft 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rieznyk/laravel-infusionsoft 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This package provides port of the Infusionsoft SDK utilizing Laravel fascades.
The unofficial Infusionsoft API PHP SDK
Laravel Package for accessing the Keap REST API (v1/v2)
Infusionsoft OAuth 2 Client Provider for The PHP League OAuth2-Client package
Laravel package to facilitate the use of the Infusionsoft API using OAUTH2
Alfabank REST API integration
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-05