Download the PHP package mgcodeur/laravel-currency-converter without Composer
On this page you can find all versions of the php package mgcodeur/laravel-currency-converter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mgcodeur/laravel-currency-converter
More information about mgcodeur/laravel-currency-converter
Files in mgcodeur/laravel-currency-converter
Package laravel-currency-converter
Short Description Laravel Currency Converter: Effortlessly convert currencies in your Laravel applications, no API key required. It's fast, easy, and completely free.
License MIT
Homepage https://github.com/mgcodeur/laravel-currency-converter
Informations about the package laravel-currency-converter
Laravel Currency Converter
Laravel Currency Converter: Effortlessly convert currencies in your Laravel applications, no API key required. It's fast, easy, and completely free.
📦 Installation
You can install the package via composer:
After Composer has installed the Laravel Currency Converter package, you may run the currency-converter:install
Artisan command:
✍🏻 Basic Usage
Convert money from one to another
NB: Don't Forget to import the CurrencyConverter Facades
Convert all money from one
You can convert all money from one currency when you don't specify the to
method.
Get all currencies
To get all currencies, you can use the currencies
method.
Format output result
Instead of using the get
method, you can use the format
method to format the output result.
By default, thousand separator is a comma (,) and decimal separator is a dot (.). You can change these separators in published config file (config/currency-converter.php
).
If you open the config file, you will see the following code:
🪴 Project Activity
All versions of laravel-currency-converter with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0||^11.0||^12.0