jplarar/facturama-bundle
Composer 安装命令:
composer require jplarar/facturama-bundle
包简介
A simple Symfony2+ bundle for the API for Facturama.
README 文档
README
A simple Symfony2 bundle for the API for AWS Facturama.
Setup
Step 1: Download JplararFacturamaBundle using composer
Add Facturama Bundle in your composer.json:
{ "require": { "jplarar/facturama-bundle": "dev-master" } }
Now tell composer to download the bundle by running the command:
$ php composer.phar update "jplarar/facturama-bundle"
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Jplarar\FacturamaBundle\JplararFacturamaBundle() ); }
Step 3: Add configuration
# app/config/config.yml jplarar_facturama: facturama_username: %facturama_username% facturama_password: %facturama_password% serie: %serie% currency: %currency% expedition_place: %expedition_place% cfdi_use: %cfdi_use% payment_form: %payment_form% unit_code: %unit_code% unitCode: %unitCode% taxes: %taxes% env: %env%
Usage
Using service
<?php $facturamaClient = $this->get('facturama_client'); ?>
##Example
###Upload new file to Facturama
<?php $facturamaClient->write($key, $content, $mimeType); ?>
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-18