connectholland/tulip-api-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Tulip API integration for Symfony Framework version 3.3, 3.4 and 4.

Installs: 3 253

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 12

Forks: 4

Type:symfony-bundle

1.2.3 2018-03-01 12:04 UTC

This package is auto-updated.

Last update: 2023-05-24 01:45:21 UTC


README

Latest version on Packagist Software License Scrutinizer Code Quality Build Status Code Coverage

Tulip API integration for Symfony Framework version and 3.3, 3.4 and 4.

Installation using Composer

Run the following command to add the package to the composer.json of your project:

$ composer require connectholland/tulip-api-bundle

Enable the bundle

Enable the bundle in the kernel:

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new ConnectHolland\TulipAPIBundle\TulipAPIBundle(),
        // ...
    );
}

Configure the bundle

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:       ~

Mapping Doctrine entities to Tulip API services

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}

Usage

...

Credits

Also see the list of contributors who participated in this project.

License

This package is licensed under the MIT License. Please see the LICENSE file for details.