Skip to main content

✨ fastFOREX API MCP is now Generally Available - let your agents manage your fastFOREX API ✨

All posts
Product News · 3 min read

Supporting open source: fastFOREX API sponsors the Swap PHP ecosystem

By Tom Walder

Key takeaways

  • fastFOREX API is now the primary sponsor of the Swap PHP libraries.
  • Swap, Exchanger, Laravel Swap and Symfony Swap have been installed millions of times via Composer.
  • The libraries stay MIT-licensed and vendor-neutral, supporting every provider.
  • You can use fastFOREX API through Swap today, with a free key.

Open source quietly runs a huge share of the software the world depends on, and currency conversion in PHP is no exception. If you've built a PHP application that needs exchange rates, there's a good chance you've reached for one of Florian Voutzinos' libraries, whether you knew the name or not.

Today we're proud to share that fastFOREX API is now the primary sponsor of that ecosystem.

What we're supporting

The "Swap" project isn't a single library. It's a layered toolkit that has been maintained for the better part of a decade:

  • Swap: the high-level, easy-to-use API most applications interact with. A clean builder, sensible defaults, and a single call to fetch a rate.
  • Exchanger: the provider layer Swap is built on. More than thirty exchange rate services behind one common interface, with chainable fallback and PSR-16 caching.
  • Laravel Swap: the Laravel and Lumen integration, with a service provider and facade.
  • Symfony Swap: the Symfony bundle for the same.

Together, these packages have been installed millions of times via Composer and sit inside countless production applications doing exactly the kind of work fastFOREX API is built for: turning a currency pair into a reliable, up-to-date rate.

Swap is also a recommended package for moneyphp

Why we're doing this

The honest answer is that this is the kind of project we'd want to exist whether or not we sponsored it. Well-designed, well-maintained infrastructure libraries make every developer's life easier, and they rarely get the financial backing they deserve relative to how widely they're used. Sponsorship is a small way to help keep a useful project healthy and maintained.

It's also a good fit. fastFOREX API has been an implemented provider in this ecosystem for some time, so supporting it isn't a stretch. It's backing software our own users already touch. Maintained open source is good for them too: fewer breaking surprises, faster fixes, and a project that stays current with modern PHP.

We're not interested in sponsorship that distorts a project. The libraries remain MIT-licensed, vendor-neutral, and support every provider they always have. That's the point: a healthy ecosystem is one where developers pick whatever provider suits them.

Thank you

A genuine thank you to Florian and every contributor who has put time into these libraries over the years. Maintaining infrastructure that thousands of developers quietly rely on is unglamorous, important work. We're glad to support it, and we'd encourage other companies that build on open source to do the same where they can.

Getting started

If you build in PHP and need fast, reliable exchange rates, you can get started with a free fastFOREX API key, and you can do it through the same Swap libraries you may already be using.

Install Swap with an HTTP client:

Terminal
$ composer require florianv/swap symfony/http-client nyholm/psr7

Then add fastFOREX as the provider and ask for a rate:

PHP
use Swap\Builder;

$swap = (new Builder())
    ->add('fastforex', ['api_key' => getenv('FASTFOREX_API_KEY')])
    ->build();

// EUR to USD
$rate = $swap->latest('EUR/USD');

$rate->getValue();                 // e.g. 1.0823
$rate->getDate()->format('Y-m-d'); // e.g. 2026-04-29

Swap also does caching, historical rates and fallback to a second provider; the Swap README covers all three.

All data provided by fastFOREX API is for information only and is not intended for trading or investing purposes.

Share

Written by

Tom Walder

25 years of technology leadership across digital, technology-led, and high-growth businesses.

New articles, by email

Product news and guides from the fastFOREX API team, when we publish them.

By subscribing you agree to our Privacy Policy.

Keep reading

Build with the data behind the articles.

Get your free API key and start pulling live rates in minutes.