urands/firephp

Log variables to the Firefox 51+ console (alternate solution for FirePHP via Chrome Logger protocol).

1.0.5 2017-02-26 03:46 UTC

This package is not auto-updated.

Last update: 2024-05-01 18:34:56 UTC


README

Replacing the original FirePHP to the new based on ChromePhp

Overview

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.

Requirements

  • PHP 5 or late

Installation

firephp-install.gif?raw=true

Installation from composer (RECOMMENDED)

  1. 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';
```

Installation from source

  1. Download FirePhp sources

  2. Put fb.php somewhere in your PHP include path

    require_once 'fb.php'

Usage

  1. Put function 'fb' somewhere in your code

    FB::log('This FirePHP for Firefox 51+');
    .....
    FB::info($_SERVER);
  2. Open developer console (F12) in your browser

Support & Feedback

See Support

Author

This project is authored and maintained by Iurii Bell.