An open API service indexing awesome lists of open source software.

https://github.com/fadilxcoder/chrome-php-packagist

Chrome Logger PSR-4
https://github.com/fadilxcoder/chrome-php-packagist

developer-tools packagist php

Last synced: 7 months ago
JSON representation

Chrome Logger PSR-4

Awesome Lists containing this project

README

          

Chrome PHP Logger
=======================================

Chrome Logger is a Google Chrome extension for debugging server side applications in the Chrome console.

Most languages include their own logging capabilities, but sometimes it is easier to see your logs right in the browser.

[![developer](https://img.shields.io/badge/developer-craigiam-blue.svg)](https://craig.is/) [![developer](https://img.shields.io/badge/developer-fadilxcoder-green.svg)](https://dev.to/fadilxcoder/)

- Install the [Google Chrome extension](https://chrome.google.com/webstore/detail/chrome-logger/noaneddfkdjfnfdakjjmocngnfkfehhd?hl=en)
- Click the extension icon in the browser to **enable** it for the current tab's domain
- Usage :
```php

...

use Logger\Chrome\ChromePhp;

...

class User {

....
ChromePhp::log('hello world');
ChromePhp::log($_SERVER);
ChromePhp::warn('something went wrong!');
...

}

```

[Click for more information.](https://craig.is/writing/chrome-logger)