aarongrtech/qbwc-laravel
Composer 安装命令:
composer require aarongrtech/qbwc-laravel
包简介
Laravel-flavored QuickBooks Web Connector package
README 文档
README
QBWC Laravel is a Laravel-flavored QuickBooks Web Connector package. This library is still a work in progress but is largely complete and stable, offering communication with QuickBooks Desktop through SOAP services.
Installation
To install the package, run:
composer require aarongrtech/qbwc-laravel
Ensure that your composer.json includes the necessary autoload settings:
"autoload": { "psr-4": { "AaronGRTech\\QbwcLaravel\\": "./src/AaronGRTech/QbwcLaravel" } }, "extra": { "laravel": { "providers": [ "AaronGRTech\\QbwcLaravel\\Providers\\QbwcServiceProvider" ] } }
After updating Composer, add the service provider to the config/app.php file:
'providers' => [ // Other Service Providers AaronGRTech\QbwcLaravel\Providers\QbwcServiceProvider::class, ],
Usage
Setting Up WSDL File
Ensure that the WSDL file is available at storage_path('app/wsdl/QBWebConnectorSvc.wsdl'). You can publish the WSDL file to the storage directory using:
php artisan vendor:publish --provider="AaronGRTech\QbwcLaravel\Providers\QbwcServiceProvider"
Routes
This package provides routes to handle SOAP requests. These routes are automatically registered by the QbwcServiceProvider.
Controller
The SoapController handles various SOAP requests:
-
Server Version
- Route:
/soap/serverVersion - Method:
serverVersion - Request:
POST
- Route:
-
Client Version
- Route:
/soap/clientVersion - Method:
clientVersion - Request:
POST
- Route:
-
Authenticate
- Route:
/soap/authenticate - Method:
authenticate - Request:
POST
- Route:
-
Send Request XML
- Route:
/soap/sendRequestXML - Method:
sendRequestXML - Request:
POST
- Route:
-
Receive Response XML
- Route:
/soap/receiveResponseXML - Method:
receiveResponseXML - Request:
POST
- Route:
Post-Installation Steps
After installing this package, please update your application's composer.json file to autoload the callbacks:
{
"autoload": {
"psr-4": {
"App\\Callbacks\\": "app/Callbacks/"
}
}
}
Requirements
- PHP >= 7.4
- Laravel framework
- Extensions:
ext-dom,ext-mbstring,ext-soap - Dependency:
wsdltophp/packagebase~5.0
License
This package is licensed under the MIT License. See the LICENSE file for more information.
Authors
- AaronGRTech - aaron@goldenruleweb.com
Contributing
Please read the CONTRIBUTING file for details on our code of conduct, and the process for submitting pull requests.
aarongrtech/qbwc-laravel 适用场景与选型建议
aarongrtech/qbwc-laravel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 91 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 06 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 aarongrtech/qbwc-laravel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aarongrtech/qbwc-laravel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 91
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-29