2017 © Pedro Peláez
 

library currency

image

senemoglu/currency

  • Monday, July 11, 2016
  • by blueskan
  • Repository
  • 2 Watchers
  • 7 Stars
  • 853 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Laravel-5-Currency-Converter

Small Api for currency converting jobs in Laravel 5, (*1)

Installation

  • Going your project directory on shell and run this command:
composer require senemoglu/currency:dev-master
  • Add this line in your service provider's array (config/app.php) =>
Senemoglu\Currency\CurrencyServiceProvider::class,
  • Add this line in your aliases =>
'Currency' => Senemoglu\Currency\Facades\Converter::class,

Usage

On Business Side:

Example, (*2)

Currency::convert('USD', 'TRY', 20);

On Presentation Side:

Example, (*3)

@currency(USD => TRY, 20)

I have been working about this since 3 hours. Any advice you give, im open., (*4)

The Versions

11/07 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Batikan Senemoglu