PHP Package: florianv/swap

Flexible PHP library for currency exchange rates and conversions with easy integration

Current Version: 4.3.0
Last Updated: 2020-12-28
PHP Requirement: ^7.1.3 || ^8.0
Dependencies:
guzzle/guzzle
symfony/config
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Swap is a powerful PHP library designed for seamless currency conversions and exchange rate retrieval, boasting a wide array of supported currencies. With its intuitive API, developers can effortlessly integrate swapping functionalities within their applications, ensuring accurate and up-to-date exchange rates. This library simplifies the process of working with multiple currencies, making it an ideal choice for e-commerce platforms, financial applications, and more.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.3.0

Download Download v4.3.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/florianv/swap/4.3.0/loader.php';
require_once 'libs/guzzle/guzzle/7.10.0/loader.php';
require_once 'libs/symfony/config/7.3.4/loader.php';

use Florianv\Swap\Swap;
use Florianv\Swap\Provider\EuropeanCentralBank;

$obj = new Swap();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.