Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jongotlin/billogrambundle
https://github.com/jongotlin/billogrambundle
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jongotlin/billogrambundle
- Owner: jongotlin
- Created: 2016-01-30T08:41:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-30T13:52:55.000Z (almost 9 years ago)
- Last Synced: 2024-12-04T07:41:10.963Z (about 2 months ago)
- Language: PHP
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BillogramBundle
This bundle lets you use [Billogram](https://github.com/billogram/billogram-v2-api-php-lib) in your Symfony application.
Installation
------------```bash
$ composer require jongotlin/billogram-bundle
```Composer will install the bundle to `jongotlin/billogram-bundle` directory.
### Add the bundle to your application kernel
```php
// app/AppKernel.phppublic function registerBundles()
{
$bundles = array(
// ...
new JGI\BillogramBundle\JGIBillogramBundle(),
// ...
);
}
```Configuration
-------------```yml
# app/config/config.yml
jgi_billogram:
id: %billogram_id%
password: %billogram_password%
sandbox_id: %billogram_sandbox_id%
sandbox_password: %billogram_sandbox_password%
sandbox: %billogram_sandbox%
``````yml
# app/config/parameters.yml
billogram_id: "5367-fl60Ku6p"
billogram_password: "d4934454228e704eef26e8d621d1461b"
billogram_sandbox_id: "1725-dqst7op6"
billogram_sandbox_password: "da2e4561a99e74f7872222ad310b81ac"
billogram_sandbox: true
``````php
$this->getContainer()->get('jgi.billogram'); // Billogram\Api
```