Skip to content

OctopyID/DebugifyPHP

Repository files navigation

Version Downloads License

Debugify

This package is used to send messages to Debugify App and can be installed in all PHP apps.

Installation

composer require octopyid/debugify --dev

Usage

dfy('foo', 'bar', 'baz');

By default, messages will be grouped into the Grey color group, but you can group your messages into 4 different color: Green, Blue, Yellow and Red.

dfy('SELECT * FROM users WHERE username = "baz"')->color('green');

Configuration

If you use a different host and port, you can set it in the following way in top of your application:

dfy()->configure(function (\Octopy\Debugify\Config $config){
    $config->host('127.0.0.1')->port(1234);
});

Security

If you discover any security related issues, please email bug@octopy.dev instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.