2017 © Pedro Peláez
 

library laravel-tracer

Adds the paths of all loaded views/partials to your templates.

image

appstract/laravel-tracer

Adds the paths of all loaded views/partials to your templates.

  • Wednesday, April 25, 2018
  • by gizburdt
  • Repository
  • 4 Watchers
  • 90 Stars
  • 1,056 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 14 Versions
  • 29 % Grown

The README.md

Laravel Tracer

Latest Version on Packagist Software License Total Downloads, (*1)

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 * If you're completely new to Laravel and want to play around with views/partials/templates etc, (*2)

Screenshot, (*3)

Installation

First install this package via Composer:, (*4)

$ composer require appstract/laravel-tracer --dev

Publish the config file:, (*5)

$ php artisan vendor:publish --provider="Appstract\Tracer\TracerServiceProvider"

A tracer.php file will be created in your app/config directory., (*6)

Basic usage

In app/config/tracer.php, 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., (*7)

Toggle traces

A tracer.js file will be created in your public/js directory. This gets injected at the end of your app <head> section., (*8)

Use the keybord shortcut ctrl+z inside your app to toggle the traces., (*9)

If you wish to disable Tracer and remove the existing traces, you can simply clear the compiled view files using the php artisan view:clear command., (*10)

Testing

bash $ composer test, (*11)

Contributing

Contributions are welcome, thanks to y'all :), (*12)

About Appstract

Appstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon., (*13)

License

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

The Versions

25/04 2018

dev-master

9999999-dev

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

25/04 2018

1.0.2

1.0.2.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

25/04 2018

dev-develop

dev-develop

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

25/04 2018

1.0.1

1.0.1.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

22/01 2018

1.0.0

1.0.0.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

15/06 2017

0.1.8

0.1.8.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

11/04 2017

0.1.7

0.1.7.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

09/03 2017

0.1.6

0.1.6.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

09/03 2017

0.1.5

0.1.5.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

23/02 2017

0.1.4

0.1.4.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

23/02 2017

0.1.3

0.1.3.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

23/02 2017

0.1.2

0.1.2.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel php blade path appstract hints

22/02 2017

0.1.1

0.1.1.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel blade path hints

20/02 2017

0.1.0

0.1.0.0

Adds the paths of all loaded views/partials to your templates.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

laravel blade path hints