pisystems/fakturownia
最新稳定版本:2.0.0
Composer 安装命令:
composer require pisystems/fakturownia
包简介
Library for set/get invoices into Fakturownia.pl
README 文档
README
Library for all methods available in Fakturownia API.
Installation
Install via Composer:
composer require pisystems/fakturownia
Install via Git over SSH:
git clone git@github.com:kamilus67/fakturownia.git
Install via Git over HTTPS:
git clone https://github.com/kamilus67/fakturownia.git
Configuration
All you need to do is set the API token using $this-> (examples below). The API token can be generated in the Fakturownia settings.
$this->setToken('myowntoken');
Logs
The library uses the logging system to save all confirmations and notifications sent by the Invoice server, outgoing requests and exceptions.
Make sure that the tmp/logs directory is writable and add a rule to Apache .htaccess or NGINX to block browser access to this area.
Logging is enabled by default, but you can disable this feature:
Logger::disableLogging();
You can also set your own logging path by this command:
Logger::setLogPath('/my/own/path/Logs/');
You can also set you own Logger by this command it has to be compatible with Psr\Log\LoggerInterface:
Logger::setLogger(new CustomLogger());
The logs file names is generated automatically.
License
This library is released under the MIT License
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-17