bluntelk/ixpmanager-xero
最新稳定版本:v1.11
Composer 安装命令:
composer require bluntelk/ixpmanager-xero
包简介
IXP Manager Integration with Xero
README 文档
README
Install Instructions
composer require bluntelk/ixpmanager-xero
Setting up Xero Config
Please perform the following config
In your ixpmanager base dir, run (if you haven't already)
php artisan vendor:publish --tag=config --provider="Webfox\Xero\XeroServiceProvider"
php artisan vendor:publish --provider="bluntelk\IxpManagerXero\IxpXeroServiceProvider"
Xero Scopes
This is the config for the package that we are using to handle the integration with Xero. You will need to include the following scopes
accounting.contacts
accounting.settings.read
accounting.transactions.read
The scopes config section may look a little like:
'scopes' => [ 'openid', 'email', 'profile', 'offline_access', 'accounting.contacts', 'accounting.settings.read', 'accounting.transactions.read', ],
Integrations
In the config file you can see the client id and client secret config are set from the environment. You can either inject your config into the environment (preferred) or update the config to include the client id and secret provided to you.
Development
I have used a small composer trick to develop this package
We tell composer to look for our dev dir with our package at the same level
php composer.phar config repositories.local '{"type": "path", "url": "../ixp-manager-xero"}' --file composer.json
and then we require our package at the tip
php composer.phar require bluntelk/ixpmanager-xero:dev-master
now you can develop on a freshly checkout out IXP Manager!
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-24