bdelespierre / laravel-blade-linter
A simple Blade template syntax checker for Laravel
Installs: 38 764
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 2
Forks: 5
Open Issues: 2
Requires
- php: ^8.0
- illuminate/support: ^9.0 || ^10.0
Requires (Dev)
- laravel/framework: ^9.0 || ^10.0
- nikic/php-parser: ^4.15
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^7.22.0
- phpstan/phpstan: ^1.9
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-strict-rules: ^1.4
- phpunit/phpunit: ^9.3
- squizlabs/php_codesniffer: ^3.7
Suggests
- ext-ast: *
- nikic/php-parser: *
README
Performs syntax-checks of your Blade templates. Just that.
Installation
You can install the package via composer:
composer require --dev bdelespierre/laravel-blade-linter
Usage
php artisan blade:lint
Or if you want to lint specific templates or directories:
php artisan blade:lint resources/views/
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.