awssat/laravel-blade-audit

Extensive information about any blade view in laravel's project.

1.9.1 2020-09-14 12:15 UTC

This package is auto-updated.

Last update: 2020-10-14 12:32:40 UTC


README

laravel-blade-audit

Latest Version on Packagist Software License

Introduction

Laravel's artisan command to show extensive information about any blade view in laravel's project.

Features

  • General information about the view (size, lines, longest line, blade's directives number ...)
  • Blade directives information (repetitions, type: custom or built-in)
  • Blade directives nesting level.
  • Audit notes (recommendations and best practice notes)

Install

Via Composer

composer require awssat/laravel-blade-audit --dev

Usage

php artisan blade:audit view.name

All views:

php artisan blade:audit

Output Example

All Views Audit

output example

One view audit shows same as all views and extra more information

output example2

License

This package is open-sourced software licensed under the MIT license.

Credits