This bundle aim to provides an http client that performs and handle requests to modelo Api.

Installs: 869

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0



v1.0.1 2022-05-27 08:40 UTC

This package is auto-updated.

Last update: 2023-05-29 02:03:57 UTC


Latest Stable Version PHP Version Require


This Symfony bundle provides a service that performs and handle http requests to modelo API



Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

$ composer require choosit/modelo-bundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require choosit/modelo-bundle

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Choosit\ModeloBundle\ModeloBundle::class => ['all' => true],


It can be configured as follows:


 modelo_base_uri: '%env(MODELO_BASE_URL)%' # Base url of modelo API 
   modelo_agency_code: 'my agency code' # Agency code can be find on your modelo account
   modelo_private_key: 'my private key' # Private key can be find on your modelo account

ModeloHttpClient service

This bundle provides the Choosit\ModeloBundle\Service\ModeloHttpClientInterface service that can be injected anywhere.

use Choosit\ModeloBundle\Service\ModeloClientInterface;
class MyService
    public function __construct(ModeloClientInterface $modeloHttpClient)