{"repo":"florianv/laravel-swap","free":true,"listed":false,"github":"https://github.com/florianv/laravel-swap","clone":"git clone https://github.com/florianv/laravel-swap.git","description":"Drop-in Laravel currency conversion: auto-discovered service provider, facade, and config. Multi-provider exchange rates with fallback and caching.","language":"PHP","stars":337,"topics":["php","exchange-rates","laravel","lumen","currency-conversion","swap","exchange-rate-api"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Laravel Swap Drop-in currency conversion for Laravel and Lumen. Auto-discovered service provider, facade, and config. Maintained since 2014. Sponsored by fastFOREX . Real-time JSON API, 160+ currencies, 55+ years of history, 500+ cryptocurrencies. Free tier ; paid plans from $18/month. → Get a free fastFOREX API key Install, publish the config, and call Swap::latest('EUR/USD') from anywhere. No service container wiring, no boilerplate, no manual cache plumbing. Laravel Swap is a drop-in package for Laravel currency conversion . The service provider is auto-discovered in Laravel 5.5+; configuration publishes to config/swap.php ; rates are cached through the Laravel cache store you already have. Lumen is supported. 💡 What is Laravel Swap? - The Laravel application of Swap, the PHP currency conversion library. - A service provider ( Swap\\Laravel\\SwapServiceProvider ) and a Swap facade, auto-discovered in Laravel 5.5+. - Configuration published to config/swap.php . - Rates cached through any Laravel cache store you already have. - Lumen support with a few extra lines in bootstrap/app.php . 📦 Installation Laravel Swap requires PHP 8.2 or newer. Auto-discovery wires the service provider and the Swap facade in Laravel 5.5+. For Lumen or older Laravel versions, see Setup in the documentation. ⚡ Quickstart The package ships a default config that pre-wires fastFOREX (the project's sponsor) as the primary provider, with the European Central Bank as a free fallback. Grab a free API key","default_branch":null,"files":null,"tree":[],"storefront":"/r/florianv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/florianv/laravel-swap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}