Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Latest commit

 

History

History
65 lines (38 loc) · 1.58 KB

README.md

File metadata and controls

65 lines (38 loc) · 1.58 KB

No longer maintained. Please use other packages: (https://github.com/enlightn/enlightn, or https://github.com/stefanzweifel/laravel-stats)

Laravel Blade Audit

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