Tulip API integration for Symfony Framework version and 3.3, 3.4 and 4.
Run the following command to add the package to the composer.json of your project:
$ composer require connectholland/tulip-api-bundle
Enable the bundle in the kernel:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new ConnectHolland\TulipAPIBundle\TulipAPIBundle(),
// ...
);
}
Add the following configuration to your config.yml file:
# app/config/config.yml
# Tulip API Configuration
tulip_api:
url: %tulip_api_url%
client_id: %tulip_api_client_id%
shared_secret: %tulip_api_shared_secret%
objects: ~
By default the bundle uses the short name of the entity as service name.
When you need to change this behavior for an entity, you can define a mapping by adding the FQCN to tulip_api.objects:
# app/config/config.yml
tulip_api:
objects:
- {name: AppBundle\Entity\Profile, service: contact}
...
Also see the list of contributors who participated in this project.
This package is licensed under the MIT License. Please see the LICENSE file for details.
How can I help you explore Laravel packages today?