sugarcrm-bundle
Symfony2 bundle for accessing Sugar CRM REST v10 interface., (*1)
It's a Bundle for using spinegar/sugarcrm7-api-wrapper-class., (*2)
This can be used in two ways, the wrapper directly or through the NoOrmBundle.
You will most likely just use the wrapper as it gives you direct access to the sugar service and can use it directly as per it's documenatation., (*3)
The other is for more complete objects and control but for now it basically
does the same as the wrapper but with the same API as other NoOrmBundle
adapters, which is a good idea if you are using NoOrmBundle but not much of a
reason to start using it., (*4)
Choosing this is easy., (*5)
In app/config/config.yml, pick one of these lines:, (*6)
-
{ resource: @BisonLabSugarCrmBundle/Resources/config/services_wrapper.yml }, (*7)
-
{ resource: @BisonLabSugarCrmBundle/Resources/config/services.yml }, (*8)
Parameters.yml needs the same parameters for either access method:, (*9)
sugarcrm_base_url: http://sugar.local.net
sugarcrm_username: sugar
sugarcrm_password: sugar
Remember your app/AppKernel.php entry:, (*10)
new BisonLab\SugarCrmBundle\BisonLabSugarCrmBundle(),
And if you are going to use the BisonLabNoOrmBundle, add it to your composer.json, (*11)
Have fun,, (*12)
Thomas., (*13)