2017 © Pedro Peláez
 

library laravel-blade-lint

Laravel Blade Lint console command

image

magentron/laravel-blade-lint

Laravel Blade Lint console command

  • Sunday, May 20, 2018
  • by Magentron
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 75 % Grown

The README.md

Laravel Blade Lint

Latest Stable Version Total Downloads License StyleCI
Laravel 10.x Laravel 9.x Laravel 8.x Laravel 7.x Laravel 6.x Laravel 5.x, (*1)

Laravel console command to check syntax of blade templates., (*2)

Requirements

Perhaps it works with lesser versions as well, but this is untested., (*3)

Installation

Add package via composer:, (*4)

composer require --dev magentron/laravel-blade-lint

For Laravel version < 5.5, edit config/app.php, add the following to the providers array:, (*5)

Magentron\BladeLinter\Providers\ServiceProvider::class,

Usage

From the command line, run:, (*6)

php artisan blade:lint

It attempts to determine automatically the number of CPU cores that your system has and to use all cores by starting child worker processes (requires the PHP POSIX extension)., (*7)

You can use different levels of verbosity for somewhat more detailed information., (*8)

Standard help output:, (*9)

$ php artisan blade:lint -h
Description:
  Laravel Blade Lint - syntax checking of blade templates

Usage:
  blade:lint [options] [--] [<path>...]

Arguments:
  path

Options:
      --debug                  Enable debug output, which consists of the compiled templates (PHP code)
  -p, --processes[=PROCESSES]  The number of test processes to run. [default: "auto"]
  -h, --help                   Display help for the given command. When no command is given display help for the list command
  -q, --quiet                  Do not output any message
  -V, --version                Display this application version
      --ansi|--no-ansi         Force (or disable --no-ansi) ANSI output
  -n, --no-interaction         Do not ask any interactive question
      --env[=ENV]              The environment the command should run under
  -v|vv|vvv, --verbose         Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Reporting bugs/issues

If you find a bug please report a bug on GitHub:
https://github.com/Magentron/laravel-blade-lint/issues., (*10)

Author

Jeroen Derks, a.k.a Magentron, (*11)

License

Laravel Blade Lint is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version., (*12)

Laravel Blade Lint is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details., (*13)

You should have received a copy of the GNU General Public License along with Laravel Blade Lint. If not, see http://www.gnu.org/licenses/., (*14)

The Versions

20/05 2018

dev-master

9999999-dev https://github.com/Magentron/laravel-blade-lint

Laravel Blade Lint console command

  Sources   Download

GPL-3.0-or-later

The Requires

 

laravel lint console blade

20/05 2018

1.0

1.0.0.0 https://github.com/Magentron/laravel-blade-lint

Laravel Blade Lint console command

  Sources   Download

GPL-3.0-or-later

The Requires

 

laravel lint console blade