lemmotresto/laravel-moneybird
最新稳定版本:v1.2.0
Composer 安装命令:
composer require lemmotresto/laravel-moneybird
包简介
Fork of Casdr/laravel-moneybird. Moneybird package for Laravel based on Picq'ers client
关键字:
README 文档
README
This Laravel package is a wrapper for picqer/moneybird-php-client.
This is an updated and maintained fork of casdr/laravel-moneybird.
Install
Via Composer
$ composer require lemmotresto/laravel-moneybird
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Laravel without auto-discovery:
If you don't use auto-discovery, add the ServiceProvider and the Facade to your config/app.php:
'providers' => [ ... LemmoTresto\Moneybird\MoneybirdServiceProvider::class, ], 'aliases' => [ ... 'Moneybird' => LemmoTresto\Moneybird\MoneybirdFacade::class, ]
Then run the following command to publish the config to your config/ directory.
$ php artisan vendor:publish --tag=config
You then need to generate an application in the Moneybird interface and set the configuration in your environment file. See config/moneybird.php for all environment variables available.
Usage
$contact = Moneybird::contact(); $contact->company_name = 'BlaLabs'; $contact->firstname = 'Cas'; $contact->lastname = 'de Reuver'; $contact->save();
There is additional documentation on the MoneybirdFacade class using phpdoc annotations. For more usage information, see picqer/moneybird-php-client
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-12