This package is used to send messages to Debugify App and can be installed in all PHP apps.
composer require octopyid/debugify --dev
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');
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);
});
If you discover any security related issues, please email bug@octopy.dev instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.