承接 sumocoders/defactuur 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sumocoders/defactuur

最新稳定版本:v2.1.1

Composer 安装命令:

composer require sumocoders/defactuur

包简介

PHP DeFactuur is a (wrapper)class to communicate with DeFactuur (https://www.defactuur.be).

README 文档

README

De Factuur is an online invoicing web application

About

PHP DeFactuur is a (wrapper)class to communicate with De Factuur.

License

PHP DeFactuur is BSD licensed.

Initialisation

Using symfony/httpclient:

use Nyholm\Psr7\Factory\Psr17Factory;
use Symfony\Component\HttpClient\Psr18Client;

$deFactuur = new DeFactuur(
    new Psr18Client(),
    new Psr17Factory(),
    new Psr17Factory(),
    'your_api_token'
);

Using Guzzle:

$deFactuur = new \SumoCoders\DeFactuur\DeFactuur(
    new \GuzzleHttp\Client(),
    new \Nyholm\Psr7\Factory\Psr17Factory(),
    new \Nyholm\Psr7\Factory\Psr17Factory(),    
    'your_api_token'
);

You can replace Psr17Factory with your own implementations of PSR-17's RequestFactoryInterface and StreamFactoryInterface.

Using DeFactuur as a Service

Add the following to your services.yml:

SumoCoders\DeFactuur\DeFactuur:
    arguments:
        $apiToken: '%your.api.token%'

If you use auto-wiring, that's it!

Documentation

Each method in the class is well documented using PHPDoc.

统计信息

  • 总下载量: 267
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2021-09-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固