fomvasss / laravel-currency
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/fomvasss/laravel-currency
Requires
- illuminate/support: ^5.8|^6.0|^7.0
This package is auto-updated.
Last update: 2024-11-29 06:10:33 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