Skip to content

Commit 7b2f5bb

Browse files
author
Dennis Stücken
committed
readme extended
1 parent fc89d43 commit 7b2f5bb

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,40 @@
22

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

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

7-
Just use the new \Throwable interface in your php 5 project, or catch an \ErrorException.
10+
## Requirements
11+
12+
* PHP 5.3
13+
14+
## Installation
15+
16+
### Using Composer
17+
18+
To install php7ify with composer, just add the following to your composer.json file:
19+
20+
```json
21+
{
22+
"require": {
23+
"dstuecken/php7ify": "1.0"
24+
}
25+
}
26+
```
827

28+
or by running the following command:
29+
30+
```shell
31+
composer require dstuecken/php7ify
932
```
33+
34+
# Usage
35+
36+
Just use the new \Throwable interface in your php 5 project, or catch an \ErrorException.
37+
38+
```php
1039
try
1140
{
1241
mysql_query();

0 commit comments

Comments
 (0)