Torann / laravel-currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.
http://lyften.com/projects/laravel-currency
BSD 2-Clause "Simplified" License
390 stars 137 forks source link

Where are preset currencies? #78

Closed RalphMRivera closed 6 years ago

RalphMRivera commented 7 years ago

According to the docs:

The package comes with a set of preset currencies. To add them use the artisan manage command.

However, my currencies table is empty and when I run php artisan currency:update nothing happens.

How can I see the presets?

agmadt commented 6 years ago

+1

evianoa commented 6 years ago

+1

MatthewHallCom commented 6 years ago

+1 looked through the code base and can't seem to find them

Torann commented 6 years ago

The command artisan currency:manage is just a helper. It is there so that you can add and remove currencies in the DB.

http://lyften.com/projects/laravel-currency/doc/commands.html

artisan currency:manage -h

Usage:
  currency:manage <action> <currency>

Arguments:
  action                Action to perform (add, update, or delete)
  currency              Code or comma separated list of codes for currencies
artisan currency:manage add AMD,USD

Will add Armenian Dram and US Dollar to the DB.