PHP code example of edulazaro / wirebug
1. Go to this page and download the library: Download edulazaro/wirebug library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
edulazaro / wirebug example snippets
use EduLazaro\WireBug\Models\BugReport;
BugReport::new()->latest()->get(); // status = 'new'
BugReport::ofType('bug')->get();
$report->reporter; // polymorphic: who sent it (User, Client... or null for guests)
bash
composer migrate
bash
php artisan vendor:publish --tag=wirebug-config
bash
php artisan vendor:publish --tag=wirebug-views
php artisan vendor:publish --tag=wirebug-css
php artisan vendor:publish --tag=wirebug-lang
php artisan vendor:publish --tag=wirebug-migrations