luxifer/currency-manager-bundle

Symfony bundle to bridge luxifer/currency-manager

0.3.1 2016-10-25 13:10 UTC

This package is auto-updated.

Last update: 2024-10-08 06:53:08 UTC


README

Symfony bundle to bridge luxifer/currency-manager

Install

composer require luxifer/currency-manager-bundle

Add LuxiferCurrencyManagerBundle to app/AppKernel.php:

<?php

use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            new Luxifer\CurrencyManagerBundle\LuxiferCurrencyManagerBundle(),
        );
    }
}

Usage

<?php

$currencyManager = $this->get('currency_manager');

Doc

See https://github.com/luxifer/currency-manager