PHPackages                             bawes/myfatoorah-php - 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. bawes/myfatoorah-php

ActiveLibrary

bawes/myfatoorah-php
====================

MyFatoorah PHP Library

1.0.0(7y ago)59694[2 issues](https://github.com/BAWES/myfatoorah-php/issues)MITPHPPHP &gt;=5.4.0

Since Nov 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/BAWES/myfatoorah-php)[ Packagist](https://packagist.org/packages/bawes/myfatoorah-php)[ Docs](https://myfatoorah.com/)[ RSS](/packages/bawes-myfatoorah-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP Library for the [MyFatoorah API](https://myfatoorah.readme.io/docs)
=======================================================================

[](#php-library-for-the-myfatoorah-api)

[![Latest Version](https://camo.githubusercontent.com/6221795cedaf213c6c2856246c9c9225c1c13cd4fe019f5d6a7c45f77d3703e1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f42415745532f6d796661746f6f7261682d7068702e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/BAWES/myfatoorah-php/tags)[![Software License](https://camo.githubusercontent.com/f17b4dc115244595ad6ecbc62eafa8166bc96e6fc1b8177f26fa6d1333d17720/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f42415745532f6d796661746f6f7261682d7068702e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/589873b686f867ba8786ea696b4ab38e4e7672d47cb92b7ec231009eb54fd1ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f42415745532f6d796661746f6f7261682d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bawes/myfatoorah-php)

Installation
------------

[](#installation)

The preferred way to install this library is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require bawes/myfatoorah-php
```

or add

```
"bawes/myfatoorah-php": "^1.0"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

First we need to decide which environment we want to use

### Step 1: Initialize based on the environment

[](#step-1-initialize-based-on-the-environment)

#### Test Environment

[](#test-environment)

```
