Replacing the original FirePHP to the new based on ChromePhp
FirePHP is a PHP library for the Chrome Logger Google Chrome extension and Firebug console logger Firefox 51+.
This library allows you log variables to console.
Library work with Laravel.
- PHP 5 or late
-
Add FirePHP package to your project using composer
composer require urands/firephp ```
2.1 If you didn't use composer yet, put somewhere autoload class in your project
```php
require __DIR__ . '/vendor/autoload.php';
```
-
Download FirePhp sources
-
Put fb.php somewhere in your PHP include path
require_once 'fb.php'
-
Put function 'fb' somewhere in your code
FB::log('This FirePHP for Firefox 51+'); ..... FB::info($_SERVER);
-
Open developer console (F12) in your browser
See Support
This project is authored and maintained by Iurii Bell.