fidesio/isidore-bundle

Symfony bundle for Isidore API

Installs: 248

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 8

Forks: 2

Open Issues: 1

Type:symfony-bundle

v1.3.0 2020-06-06 13:17 UTC

README

Installation

Step 1: Download FidesioIsidoreBundle using composer

{
    "require": {
        "fidesio/isidore-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:

$ composer update fidesio/isidore-bundle

Step 2: Enable the bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Fidesio\IsidoreBundle\FidesioIsidoreBundle(),
    );
}

Basic Usage

# app/config/config.yml

fidesio_isidore:
    client:
        url: http://url.to.isidore.app # Isidore URL
        login: api_login # Isidore login
        password: api_password # Isidore api password
        auth_basic_user: auth_basic_user # Application Basic Authorization `user` if needed / not required
        auth_basic_pass: auth_basic_pass # Application Basic Authorization `password` if needed / not required
    cache:
        enable: true|false
        type: file|redis
        redis: redis://localhost:6379/3 # redis DSN