Skip to content

Commit

Permalink
readme extended
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Stücken committed Dec 14, 2015
1 parent fc89d43 commit 7b2f5bb
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,40 @@

php7ify is a project that brings new php7 classes and exceptions to php 5.x

# usage
[![Build Status](https://travis-ci.org/dstuecken/php7ify.svg)](https://travis-ci.org/dstuecken/php7ify)
[![License](https://poser.pugx.org/dstuecken/php7ify/license)](https://packagist.org/packages/dstuecken/php7ify)
[![Latest Stable Version](https://poser.pugx.org/dstuecken/php7ify/v/stable)](https://packagist.org/packages/dstuecken/php7ify)
[![Latest Unstable Version](https://poser.pugx.org/dstuecken/php7ify/v/unstable)](https://packagist.org/packages/dstuecken/php7ify)

Just use the new \Throwable interface in your php 5 project, or catch an \ErrorException.
## Requirements

* PHP 5.3

## Installation

### Using Composer

To install php7ify with composer, just add the following to your composer.json file:

```json
{
"require": {
"dstuecken/php7ify": "1.0"
}
}
```

or by running the following command:

```shell
composer require dstuecken/php7ify
```

# Usage

Just use the new \Throwable interface in your php 5 project, or catch an \ErrorException.

```php
try
{
mysql_query();
Expand Down

0 comments on commit 7b2f5bb

Please # to comment.