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-11-08 07:05:47 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