ortigan/cashfree
Composer 安装命令:
composer require ortigan/cashfree
包简介
Cashfree Library for Laravel
README 文档
README
Cashfree package for laravel
Simplified laravel package for cashfree integration. The package provides easy to use functions that will enable you to integrate cashfree API's seamlessly.
Installation
You can install the package via composer:
composer require ortigan/cashfree
You can optionally publish the config file with:
php artisan vendor:publish --provider="Ortigan\Cashfree\CashfreeServiceProvider" --tag="cashfree-config"
Configuration
Modify your .env
Required
// required if you use "Auto Collect"
CASHFREE_AUTO_COLLECT_CLIENT_ID=
CASHFREE_AUTO_COLLECT_SECRET_KEY=
// required if you use "Payout"
CASHFREE_PAYOUT_CLIENT_ID=
CASHFREE_PAYOUT_CLIENT_KEY=
Optional
CASHFREE_SANDBOX=true|false
CASHFREE_AUTO_COLLECT_TEST_URL=
CASHFREE_AUTO_COLLECT_PROD_URL=
CASHFREE_AUTO_COLLECT_AUTH_ROUTE=
CASHFREE_PAYOUT_TEST_URL=
CASHFREE_PAYOUT_PROD_URL=
CASHFREE_PAYOUT_AUTH_ROUTE=
Basic Usage
use Ortigan/Cashfree/Cashfree; $virtualAccount = Cashfree::auto_collect()->createVirtualAccount([ 'vAccountId' => 'johndoe_1324', 'name' => John Doe, 'phone' => "9999999999", 'email' => 'johndoe@gmail.com', 'min_amount' => 50000, 'max_amount' => 500000 ]);
Response
{
"status": "SUCCESS",
"subCode": "200",
"message": "Virtual account added successfully",
"data": [
"accountNumber": "CASHFREE1234VATEST",
"ifsc": "YESB0CMSNOC"
]
}
Services incuded
- Payout
- Auto Collect
- Verification Suite
License
The MIT License (MIT). Please see License File for more information.
ortigan/cashfree 适用场景与选型建议
ortigan/cashfree 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 72 次下载、GitHub Stars 达 2, 最近一次更新时间为 2022 年 04 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「cashfree」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ortigan/cashfree 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ortigan/cashfree 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ortigan/cashfree 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Cashfree's Payout APIs provide developers with a streamlined pathway to integrate advanced payout capabilities into their applications, platforms and websites.
Cashfree's Verification APIs provide different types of verification to our merchants.
Alfabank REST API integration
payment gateway extension for magento by Cashfree
Cashfree driver for the Omnipay payment processing library
UI for Cashfree - Usage RestAPI
统计信息
- 总下载量: 72
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-20