bisonlab/sugarcrm-bundle
Composer 安装命令:
composer require bisonlab/sugarcrm-bundle
包简介
Bundle for simple access to the REST API of Sugar CRM 7 and up.
README 文档
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.
统计信息
- 总下载量: 1.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 2
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2014-11-24