Tracer shows the paths of all the blade files that are loaded into your templates. This could be very convenient for a number of reasons; If you're working on a large project with alot of views/partials. New to a project and want to get a quick overview of the structure of pages. Or if you're completely new to Laravel and want to play around with views/partials/templates etc.
composer require rokr/tracer --dev
First do the composer install then add the following class to your config/app.php service providers list.
Rokr\Tracer\TracerServiceProvider::class,
Publish the config and tracer.js files
php artisan vendor:publish
A tracer.php file will be created in your app/config directory.
In app/config tracer.php file, if trace is set to true you see the paths of all the blade files that are loaded into your templates. To remove the paths simply set trace to false. If your views are located at another directory you can set the correct path here.
A tracer.js file will be created in your public/js directory. This gets injected at the end of your app <head>
section.
Use the keybord shortcut ctrl+z
inside your app to toggle the traces.
Please see CONTRIBUTING for details.
Appstract is a small team from The Netherlands. <3 Laravel, Vue and other awesome tools.
Would be awesome if you would buy us a beer! :)
The MIT License (MIT). Please see License File for more information.