fomvasss / laravel-currency
1.3.0
2020-03-02 21:09 UTC
Requires
- illuminate/support: ^5.8|^6.0|^7.0
This package is auto-updated.
Last update: 2024-10-29 05:59:23 UTC
README
Usage and manage currency in your Laravel application
Installation
Run from the command line:
composer require fomvasss/laravel-currency
Publishing
php artisan vendor:publish --provider="Fomvasss\Currency\ServiceProvider"
Usage
Usage facade \Fomvasss\Currency\Facades\Currency
Currency::getActiveCurrencies(); Currency::issetCurrency('USD'); Currency::getCurrency('RUB'); Currency::format(120, 'RUB'); Currency::convert(10.00, 'USD', 'UAH', false); Currency::format(123, 'RUB');
Links
- Like package Torann/laravel-currency