Skip to content

Commit c9c4284

Browse files
author
joseph lenton
committed
moved the phperror.net link up in readme
1 parent 012bf08 commit c9c4284

File tree

1 file changed

+79
-79
lines changed

1 file changed

+79
-79
lines changed

Readme.md

Lines changed: 79 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
1-
PHP Error | Improve Error Reporting for PHP
2-
===========================================
3-
4-
PHP errors are not good enough for development, it's as simple as that. This aims to solve this.
5-
6-
![Better Error Message](http://i.imgur.com/1G77I.png)
7-
8-
When an error strikes, the page is replaced with a full stack trace, syntax highlighting, and all displayed to be readable.
9-
10-
### Works with Ajax too!
11-
12-
If the server errors during an ajax request, then the request is paused, and the error is displayed in the browser. You can then click to automatically retry the last request.
13-
14-
![ajax server stack trace](http://i.imgur.com/WRgug.png)
15-
16-
This requires no changes to your JavaScript, and works with existing JS libraries such as jQuery.
17-
18-
Features
19-
--------
20-
* trivial to use, it's just one file
21-
* errors displayed in the browser for normal and ajaxy requests
22-
* ajax requests are paused, allowing you to automatically re-run them
23-
* makes errors as strict as possible (encourages code quality, and tends to improve performance)
24-
* code snippets across the whole stack trace
25-
* provides more information (such as full function signatures)
26-
* fixes some error messages which are just plain wrong
27-
* syntax highlighting
28-
* looks pretty!
29-
30-
There is an online demo [here](http://phperror.net)
31-
32-
Getting Started
33-
---------------
34-
35-
* [Download](http://phperror.net/download/php_error.php), it's just one file.
36-
* Place it in your project.
37-
* import php_error.php
38-
* call \better_error_messages\reportErrors()
39-
40-
```php
41-
<?php
42-
require( 'php_error.php' );
43-
\php_error\reportErrors();
44-
?>
45-
```
46-
47-
Documentation
48-
-------------
49-
50-
### [Example Setup](https://github.com/JosephLenton/PHP-Error/wiki/Example-Setup)
51-
52-
### [API](https://github.com/JosephLenton/PHP-Error/wiki/API)
53-
54-
### [Options](https://github.com/JosephLenton/PHP-Error/wiki/Options)
55-
56-
### [php.ini settings](https://github.com/JosephLenton/PHP-Error/wiki/php.ini)
57-
58-
Do not use on a live site!
59-
--------------------------
60-
61-
This is intended for __development only__. It shows more about your site, gives you more info, and makes trivial errors fatal.
62-
All of that is awesome if you want to debug quicker, and force high quality standards.
63-
64-
On a production server, that sucks, and is potentially unsafe.
65-
66-
In case you forget, you can disable this in production using the 'php_error.force_disabled' php.ini option (see below).
67-
68-
Advanced Features
69-
-----------------
70-
71-
* customization
72-
* manually turn it on and off
73-
* run specific sections without error reporting
74-
* ignore files allowing you to avoid highlighting code in your stack trace
75-
* application files; these are prioritized when an error strikes!
76-
77-
![Application Aware Stack Trace](http://i.imgur.com/qdwnb.png)
78-
79-
1+
PHP Error | Improve Error Reporting for PHP
2+
===========================================
3+
4+
PHP errors are not good enough for development, it's as simple as that. This aims to solve this.
5+
6+
![Better Error Message](http://i.imgur.com/1G77I.png)
7+
8+
When an error strikes, the page is replaced with a full stack trace, syntax highlighting, and all displayed to be readable.
9+
10+
### Works with Ajax too!
11+
12+
If the server errors during an ajax request, then the request is paused, and the error is displayed in the browser. You can then click to automatically retry the last request.
13+
14+
![ajax server stack trace](http://i.imgur.com/WRgug.png)
15+
16+
This requires no changes to your JavaScript, and works with existing JS libraries such as jQuery.
17+
18+
Check out the [project homepage](http://phperror.net) for a live demo.
19+
20+
Features
21+
--------
22+
* trivial to use, it's just one file
23+
* errors displayed in the browser for normal and ajaxy requests
24+
* ajax requests are paused, allowing you to automatically re-run them
25+
* makes errors as strict as possible (encourages code quality, and tends to improve performance)
26+
* code snippets across the whole stack trace
27+
* provides more information (such as full function signatures)
28+
* fixes some error messages which are just plain wrong
29+
* syntax highlighting
30+
* looks pretty!
31+
32+
Getting Started
33+
---------------
34+
35+
* [Download](http://phperror.net/download/php_error.php), it's just one file.
36+
* Place it in your project.
37+
* import php_error.php
38+
* call \better_error_messages\reportErrors()
39+
40+
```php
41+
<?php
42+
require( 'php_error.php' );
43+
\php_error\reportErrors();
44+
?>
45+
```
46+
47+
Documentation
48+
-------------
49+
50+
### [Example Setup](https://github.com/JosephLenton/PHP-Error/wiki/Example-Setup)
51+
52+
### [API](https://github.com/JosephLenton/PHP-Error/wiki/API)
53+
54+
### [Options](https://github.com/JosephLenton/PHP-Error/wiki/Options)
55+
56+
### [php.ini settings](https://github.com/JosephLenton/PHP-Error/wiki/php.ini)
57+
58+
Do not use on a live site!
59+
--------------------------
60+
61+
This is intended for __development only__. It shows more about your site, gives you more info, and makes trivial errors fatal.
62+
All of that is awesome if you want to debug quicker, and force high quality standards.
63+
64+
On a production server, that sucks, and is potentially unsafe.
65+
66+
In case you forget, you can disable this in production using the 'php_error.force_disabled' php.ini option (see below).
67+
68+
Advanced Features
69+
-----------------
70+
71+
* customization
72+
* manually turn it on and off
73+
* run specific sections without error reporting
74+
* ignore files allowing you to avoid highlighting code in your stack trace
75+
* application files; these are prioritized when an error strikes!
76+
77+
![Application Aware Stack Trace](http://i.imgur.com/qdwnb.png)
78+
79+

0 commit comments

Comments
 (0)