batlify / currencies-conversion
Laravel library for currency conversion using ČNB API
v2.0.0
2025-03-22 23:26 UTC
Requires
- php: ^8.1
- illuminate/support: >=10.0
This package is not auto-updated.
Last update: 2025-07-27 23:58:33 UTC
README
This library is used to convert currency based on the ČNB register.
Installation
composer require batlify/currencies-conversion
Publish Config
php artisan vendor:publish --tag=currencies-conversion-config
Example Of Usage
<?php namespace App\Http\Controllers; use Batlify\CurrenciesConversion\CurrencyConverter; class TestController extends Controller { public function test() { $result = CurrencyConverter::convert(100.50, 'EUR'); return response()->json($result); } }