PHPackages                             alessandrominoccheri/cakephp-currency-converter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alessandrominoccheri/cakephp-currency-converter

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

alessandrominoccheri/cakephp-currency-converter
===============================================

A CakePHP plugin to convert your price from a currency to another

v4.0.0(7y ago)61.7k4MITPHPPHP &gt;=7.0

Since Dec 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/AlessandroMinoccheri/cakephp-currency-converter)[ Packagist](https://packagist.org/packages/alessandrominoccheri/cakephp-currency-converter)[ Docs](https://github.com/AlessandroMinoccheri/cakephp-currency-converter)[ RSS](/packages/alessandrominoccheri-cakephp-currency-converter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (25)Used By (0)

cakephp-currency-converter V 3.1.0
==================================

[](#cakephp-currency-converter-v-310)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/408bd7c2c112ff32dc36783c374052d863df2172d810624ed74c2db54ef14594/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416c657373616e64726f4d696e6f6363686572692f63616b657068702d63757272656e63792d636f6e7665727465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AlessandroMinoccheri/cakephp-currency-converter/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/1b1e587e83d6ccce486beb1d61955373eb3cdc34c83dd0b6b1295a5f79eb484f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416c657373616e64726f4d696e6f6363686572692f63616b657068702d63757272656e63792d636f6e7665727465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AlessandroMinoccheri/cakephp-currency-converter/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/a726157306820a3656b309f47f258a77cc014aea995f873f66a3e6805701888d/68747470733a2f2f706f7365722e707567782e6f72672f616c657373616e64726f6d696e6f6363686572692f63616b657068702d63757272656e63792d636f6e7665727465722f762f737461626c652e737667)](https://packagist.org/packages/alessandrominoccheri/cakephp-currency-converter)[![License](https://camo.githubusercontent.com/1ff04375192275520ce4afd8c8da13c1f08b189146ad98b285ecb904709f0e6f/68747470733a2f2f706f7365722e707567782e6f72672f616c657373616e64726f6d696e6f6363686572692f63616b657068702d63757272656e63792d636f6e7665727465722f6c6963656e73652e737667)](https://packagist.org/packages/alessandrominoccheri/cakephp-currency-converter)[![Build Status](https://camo.githubusercontent.com/4b931ada8f60671a548b104c4c31c2cfd29eea6e5560c5bba29cdcc170d1282d/68747470733a2f2f6170692e7472617669732d63692e6f72672f416c657373616e64726f4d696e6f6363686572692f63616b657068702d63757272656e63792d636f6e7665727465722e706e67)](https://travis-ci.org/AlessandroMinoccheri/cakephp-currency-converter)[![Total Downloads](https://camo.githubusercontent.com/0e4e5c6d26a088cae3fcf56e07817fb507464152ce13c8441d72b1f4d3a66059/68747470733a2f2f706f7365722e707567782e6f72672f616c657373616e64726f6d696e6f6363686572692f63616b657068702d63757272656e63792d636f6e7665727465722f642f746f74616c2e706e67)](https://packagist.org/packages/alessandrominoccheri/cakephp-currency-converter)

A CakePHP 3.x Plugin to

- convert price from a currency to another one
- get rate from a currency to another one

---

Background
----------

[](#background)

Is very frequently that inside your sites you need to convert your price or simply get a currency rate from a currency to another one. This Plugin convert your price or provide to you a rate from a currency to another one currency in every currency of the world.

It works with [free.currencyconverterapi.com](https://free.currencyconverterapi.com/) and can store currency rates inside a database if you want to. In case you want to use database to store currency rates inside, DO NOT FORGET to create the table to store rates into (sql schema is given to you in config/table.txt).

You can configure refresh key in configuration settings to get new conversion from free.currencyconverterapi.com, if you don't want to use database, rates are updated every time with the current conversion.

If you have set to use database, for example, you can set to update currency rates every hour, this library get the currency conversion from free.currencyconverterapi.com the first time, store it inside the database and for the next hour it takes conversion rates from the database if exist. In this way reduce the request time to convert and every hour currency rates are updated.

If you haven't set to use database, instead, every time you call the library it makes a request to free.currencyconverterapi.com and gets the actual conversion rate. This solution is great if you haven't a lot of request. Instead, if you have a lot of request conversions is better to use the database configuration.

---

Requirements
------------

[](#requirements)

- CakePHP 3.x
- PHP &gt;=5.6

For cakephp 2.x you can download version 1.1.4

---

Installation &amp; Docs
-----------------------

[](#installation--docs)

- [Documentation](docs/README.md)

---

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2014 Alessandro Minoccheri

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

---

### TODOs

[](#todos)

- Use a second one API to convert price (ex [fixer.io](https://fixer.io/)) and purpose wanted API to convert price in Component and Helper settings.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~67 days

Recently: every ~39 days

Total

24

Last Release

2603d ago

Major Versions

v1.1.4 → 3.0.x-dev2015-04-06

v2.2.2 → v3.0.02018-06-10

v2.2.3 → v3.0.32018-10-23

v3.0.5 → v4.0.02019-03-28

PHP version history (4 changes)v1.1.0PHP &gt;=5.3.0

v2.0.2PHP &gt;=5.4.0

v3.0.4PHP &gt;=5.6

v4.0.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ea71f884c621ad504ca545b717e107f3c6e4854d9e38c2dbd5a96ff184d3c9c?d=identicon)[AlessandroMinoccheri](/maintainers/AlessandroMinoccheri)

---

Top Contributors

[![AlessandroMinoccheri](https://avatars.githubusercontent.com/u/3356506?v=4)](https://github.com/AlessandroMinoccheri "AlessandroMinoccheri (143 commits)")[![davidyell](https://avatars.githubusercontent.com/u/49889?v=4)](https://github.com/davidyell "davidyell (3 commits)")[![JeanValJeann](https://avatars.githubusercontent.com/u/40030094?v=4)](https://github.com/JeanValJeann "JeanValJeann (3 commits)")

---

Tags

pluginmoneycurrencycakephpconvertercomponentexchangefinancecakephp3eurodollar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alessandrominoccheri-cakephp-currency-converter/health.svg)

```
[![Health](https://phpackages.com/badges/alessandrominoccheri-cakephp-currency-converter/health.svg)](https://phpackages.com/packages/alessandrominoccheri-cakephp-currency-converter)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
