redpilllinpro/sugarcrm-bundle

This package is abandoned and no longer maintained. The author suggests using the bisonlab/sugarcrm-bundle package instead.

Bundle for simple access to the REST API of Sugar CRM 7 and up.

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Type:symfony-bundle

3.4.1 2020-01-18 11:09 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:30:24 UTC


README

Symfony2 bundle for accessing Sugar CRM REST v10 interface.

It's a Bundle for using spinegar/sugarcrm7-api-wrapper-class.

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.

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.

Choosing this is easy.

In app/config/config.yml, pick one of these lines:

  • { resource: @BisonLabSugarCrmBundle/Resources/config/services_wrapper.yml }

  • { resource: @BisonLabSugarCrmBundle/Resources/config/services.yml }

Parameters.yml needs the same parameters for either access method:

sugarcrm_base_url: http://sugar.local.net
sugarcrm_username: sugar
sugarcrm_password: sugar

Remember your app/AppKernel.php entry:

new BisonLab\SugarCrmBundle\BisonLabSugarCrmBundle(),

And if you are going to use the BisonLabNoOrmBundle, add it to your composer.json

Have fun,

Thomas.