PHPackages                             hasibul/exchange - 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. hasibul/exchange

ActiveProject[Utility &amp; Helpers](/categories/utility)

hasibul/exchange
================

Simple money exchange package

01PHP

Since Jun 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hasibbd/currecny-exchange)[ Packagist](https://packagist.org/packages/hasibul/exchange)[ RSS](/packages/hasibul-exchange/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Currency Exchanger
==================

[](#currency-exchanger)

### Usage or Installation

[](#usage-or-installation)

```
composer require hasibul/exchange

```

### Installation

[](#installation)

#### 1. Create our folder for our new package.

[](#1-create-our-folder-for-our-new-package)

Create a fresh Laravel project;

```
composer create-project laravel/laravel example-app

```

After a new Laravel install we got to the inside of the project directory by `cd example-app`.

#### 2. Install Package using Composer.

[](#2-install-package-using-composer)

Inside your command prompt navigate to the folder with your project name. In our case: `example-app`, and run the following command:

```
composer require hasibul/exchange

```

#### 3. Basic Usage.

[](#3-basic-usage)

Let's start by creating a new `ExchangeController` inside of our project Controllers directory, and add the following code:

```
