dev-master
9999999-dev https://github.com/NeoArno/sugar-rest-bundleA Symfony2 bundle for the access SugarCRM REST API
MIT
The Requires
- php >=5.3.0
- leaseweb/api-caller-bundle *
by NeoArno
rest crm sugarcrm
A Symfony2 bundle for the access SugarCRM REST API
A Symfony2 bundle for the access SugarCRM REST API, (*1)
Add SugarRESTBundle in your composer.json:, (*2)
{ "require": { "neo-arno/sugar-rest-bundle": "dev-master", ... } }
Update your application, (*3)
``` bash $ php composer.phar update neo-arno/sugar-rest-bundle, (*4)
Now the bundle is installed in your vendor/neo-arno/sugar-rest-bundle directory Enable the bundle in the AppKernel.php file : ``` php $bundles = array( // ... new NeoArno\sugarRESTBundle\sugarRESTBundle(), );
This bundle use a rest client bundle : "leaseweb/api-caller-bundle" And you can use rest API bundle you want ;-) see documentation for more information ..., (*5)
Now just initialize the REST URL for your SugarCRM instance in Resources/config/services.yml, (*6)
``` php, (*7)
// ... rest_url: "http://<your-sugarcrm-instance-url>/service/v4_1/rest.php" api_version: "4.1"
```, (*8)
the api_version parameter isreserved for a futur use, (*9)
Retrieve documentation on my website : http://blog.neoarno.com/wp-content/uploads/2013/08/SugarCRMRESTBundle-DevDoc-0.2.pdf, (*10)
A Symfony2 bundle for the access SugarCRM REST API
MIT
rest crm sugarcrm