Download the PHP package fedeisas/laravel-dolar-blue without Composer
On this page you can find all versions of the php package fedeisas/laravel-dolar-blue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fedeisas/laravel-dolar-blue
More information about fedeisas/laravel-dolar-blue
Files in fedeisas/laravel-dolar-blue
Package laravel-dolar-blue
Short Description Laravel package to fetch latest USD conversion rate on Argentina's black market
License MIT
Informations about the package laravel-dolar-blue
Laravel Dolar Blue
Why?
Because Argentina has a black market for currency exchange. And this makes it easy to retrieve the current USD conversion rate from different sources. And also because I needed something small to talk about Package Development and testing on this meetup.
Requirements
- Laravel 4
- PHP >= 5.4
Installation
Begin by installing this package through Composer. Edit your project's composer.json
file to require `fedeisas/laravel-dolar-blue.
Next, update Composer from the Terminal:
Once this operation completes, the final step is to add the service provider. Open app/config/app.php
, and add a new item to the providers array.
Optionally you can also add the Facade to the aliases array on app/config/app.php
:
Usage
Currenly it only supports 3 providers (more to come):
- LaNacion
- DolarBlue
- BlueLytics
Or you can use the facade:
Contributing
In addition to a full test suite, there is Travis integration.
Found a bug?
Please, let me know! Send a pull request or a patch. Questions? Ask! I will respond to all filed issues.
Inspiration
I needed an idea for a small library, and I borrowed it from a friend who has done something similar for NodeJS. You should check it out: https://github.com/matiu/dolar-blue
License
This package is open-sourced software licensed under the MIT license