Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikkez/f3-falsum
Pretty error handling for Fat-Free Framework
https://github.com/ikkez/f3-falsum
error-handling fat-free-framework
Last synced: about 1 month ago
JSON representation
Pretty error handling for Fat-Free Framework
- Host: GitHub
- URL: https://github.com/ikkez/f3-falsum
- Owner: ikkez
- Created: 2019-01-17T11:21:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-14T20:51:06.000Z (over 2 years ago)
- Last Synced: 2024-11-14T22:55:59.425Z (about 2 months ago)
- Topics: error-handling, fat-free-framework
- Language: PHP
- Size: 42 KB
- Stars: 20
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Falsum
Pretty error handling for Fat-Free Framework[![Downloads](https://img.shields.io/packagist/dm/ikkez/f3-falsum.svg?style=flat-square)](https://packagist.org/packages/ikkez/f3-falsum)
[![Version](http://img.shields.io/packagist/v/ikkez/f3-falsum.svg?style=flat-square)](https://packagist.org/packages/ikkez/f3-falsum)![Preview](http://i.imgur.com/Wz5gJKy.jpg)
### Instalation
To install it on you web app, just run the following command in you Terminal at your root directory:
```
composer require ikkez/f3-falsum
```Next, on your bootstrap file (usually `index.php`) add the following line:
```php
Falsum\Run::handler();
```By default Falsum will only run when the `DEBUG` variable from the hive is set to 3. If you want to override this to show in any `DEBUG` status, send true as parameter on `handler()`.
```php
Falsum\Run::handler(true);
```