kdrmklabs / currency-bundle
This bundle provides a complete handler for currency exchange rates to Symfony2 applications.
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- gedmo/doctrine-extensions: >=2.3.1
- symfony/framework-bundle: ~2.1
This package is not auto-updated.
Last update: 2025-02-01 21:57:35 UTC
README
Instalation
I. Installing the bundle in two different ways.
Install this bundle by adding next code line to your project in the composer.json file and after update it with the command composer update
file: /composer.json { "require": { "kdrmklabs/currency-bundle": "dev-master", } }
Now, update the bundle with composer:
$ composer update kdrmklabs/currency-bundle
II. Enable and register the Bundle in the AppKernel
// file: app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Kdrmklabs\Bundle\CurrencyBundle\KdrmklabsCurrencyBundle(), // ... // Your application bundles ); }
Configure the bundle.
Add kdrmklabs_ticket configuration to you config.yml
# file: app/config/config.yml kdrmklabs_currency: default_currency: "USD"
Finally, create database tables, update the schems and populate tables
Update your database schema with the command:
$ php app/console doctrine:schema:update --force
Populate database: