Download the PHP package rayola/ferror without Composer
On this page you can find all versions of the php package rayola/ferror. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rayola/ferror
More information about rayola/ferror
Files in rayola/ferror
Informations about the package ferror
Ferror - A lightweight pretty Php error and exception viewer
Features
-
✅ Catch all errors and exceptions in your code
-
✅ Retrieves and displays code, line, file and error or exception message
-
✅ Ability to quickly copy the error or exception message for possible research
-
✅ Also displays a preview of the file at the detected error line
-
✅ Displays all global variables present in your code
-
✅ Also displays all the variables and constants that you had declared in your code
- ✅ Custom namespace to avoid class collision
Why use this
Every developer has run into errors in their code once and it's often a bit difficult to figure out what's wrong because of Php's error messages that are unformatted (all concatenated into one block) .
With Ferror, everything is well detailed and separated, so you can easily detect the error message, the erroneous line, the file at the base and much more. All this in order to easily debug your code and save time.
Because errors are important, because they must be well presented.
Installation & Use
Ferror is available at Packagist and can be installed via Compose with the following command
Usage example
🚫 Without Ferror

✔️ With Ferror

Thanks
- EnlighterJS, an open source syntax highlighter written in pure javascript
License
MIT License
Copyright (c) [2022] [DEKOUN Cédric]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contribution
You are free to contribute to the improvement of this project.