dev-master
9999999-dev https://github.com/dVelopment/FastBillBundleSymfony2 Bundle for making calls to fastbill.com API
MIT
The Requires
The Development Requires
by Daniel Holzmann
symfony fastbill
Wallogit.com
2017 © Pedro Peláez
Symfony2 Bundle for making calls to fastbill.com API
Symfony 2 Bundle that registers the DVelopment/FastBill library as a service., (*1)
Install the bundle using composer (see http://getcomposer.org/ for more information about composer), (*2)
composer require dvelopment/fastbill-bundle dev-master
or add the package directly to your composer.json file and run composer update., (*3)
Then just add the bundle to your AppKernel.php file:, (*4)
<?php
// in AppKernel::registerBundles()
$bundles = array(
// ...
new DVelopment\FastBillBundle\DVelopmentFastBillBundle(),
// ...
);
You need to configure your FastBill API credentials in config.yml (you can find the API Key inside the Settings area of your account settings on my.fastbill.com), (*5)
d_velopment_fast_bill:
# the username is your e-mail address
# used to sign up to FastBill
username: %fast_bill_username%
apiKey: %fast_bill_api_key%
The API wrapper is available as d_velopment_fast_bill.api service:, (*6)
<?php
$api = $container->get('d_velopment_fast_bill.api');
$customers = $api->getCustomers();
Symfony2 Bundle for making calls to fastbill.com API
MIT
symfony fastbill