File tree Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change 22
33php7ify 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
1039try
1140{
1241 mysql_query();
You can’t perform that action at this time.
0 commit comments