goldenline / sare-soap-api-bundle
Symfony bundle for the SARE SOAP API
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ~5.4
- ext-soap: *
- symfony/framework-bundle: ~2.3
This package is not auto-updated.
Last update: 2024-12-17 05:32:46 UTC
README
Symfony bundle for the SARE SOAP API
Installation
The best way to install this bundle is by using Composer. Simply run:
$ php composer.phar require goldenline/sare-soap-api-bundle dev-master
Then, enable the bundle:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new GoldenLine\SareSoapApiBundle\GoldenlineSareSoapApiBundle(), ); }
Finally add your certificate:
goldenline_sare_soap_api: cert: sare.pem
Your certificate should contain your private key combined with a signed certificate from SARE.
Usage
In your controller just do:
public function someAction() { $sare = $this->get('goldenline_sare_soap_api.client'); }
or simply inject goldenline_sare_soap_api.client
into any other service.
License
This bundle is released under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE