chapdel/scarabee

Laravel Free Ray debugger alternative

Fund package maintenance!
chapdel

1.0.1 2021-08-04 14:51 UTC

This package is auto-updated.

Last update: 2024-11-04 22:23:46 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require chapdel/scarabee

To publish the config file, run:

php artisan vendor:publish --provider="Chapdel\Scarabee\ScarabeeServiceProvider" --tag="scarabee-config"

This is the contents of the published config file:

return [
    'enable' => env('SCARABEE_ENABLE', true),
    'port' => env('SCARABEE_PORT', 5050),
    'url' => env('SCARABEE_URL', 'http://localhost'),
];

Usage

// Dump a variable
scarabee(["name" => "chapdel"]);

// Dump models
scarabee()->model(User::find(1));

// Start dump queries
scarabee()->showQueries();

// Stop dump queries
scarabee()->stopShowingQueries();

// Dump mails
scarabee()->mail(new TestMail());

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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