Laravel Blade Audit
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
One view audit shows same as all views and extra more information
License
This package is open-sourced software licensed under the MIT license.