Performs syntax-checks of your Blade templates. Just that.
You can install the package via composer:
composer require --dev bdelespierre/laravel-blade-linterphp artisan blade:lintOr if you want to lint specific templates or directories:
php artisan blade:lint resources/views/If you're using PHPStan (please note it will make the linting a lot slower):
php artisan blade:lint --phpstan=vendor/bin/phpstan resources/viewscomposer test# install clue/phar-composer globally (you'll need to update your $PATH,
# see https://getcomposer.org/doc/03-cli.md#global)
composer global require clue/phar-composer
# build the project
composer run build
# using the phar
laravel-blade-linter.phar helpPlease see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email benjamin.delespierre@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.