Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
/ laravel-blade-audit Public archive

πŸ” Extensive information about blade views in a Laravel's project

License

Notifications You must be signed in to change notification settings

awssat/laravel-blade-audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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