PHPackages                             magentron/laravel-blade-lint - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. magentron/laravel-blade-lint

ActiveLibrary[CLI &amp; Console](/categories/cli)

magentron/laravel-blade-lint
============================

Laravel Blade Lint console command

2.0.3(7y ago)16534.2k↓42.9%3GPL-3.0-or-laterPHP

Since May 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Magentron/laravel-blade-lint)[ Packagist](https://packagist.org/packages/magentron/laravel-blade-lint)[ Docs](https://github.com/Magentron/laravel-blade-lint)[ RSS](/packages/magentron-laravel-blade-lint/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (10)Versions (11)Used By (0)

Laravel Blade Lint
==================

[](#laravel-blade-lint)

[![Latest Stable Version](https://camo.githubusercontent.com/2eb65bb8240bcd524c240520a7bde0f50ef3080696090e5beb8aafd1fb2a186e/687474703a2f2f706f7365722e707567782e6f72672f6d6167656e74726f6e2f6c61726176656c2d626c6164652d6c696e742f76)](https://packagist.org/packages/magentron/laravel-blade-lint)[![Total Downloads](https://camo.githubusercontent.com/0747aa1d26fad8e0310861dd363c7ced691f7a70183fb0793a01e2dcc959d590/687474703a2f2f706f7365722e707567782e6f72672f6d6167656e74726f6e2f6c61726176656c2d626c6164652d6c696e742f646f776e6c6f616473)](https://packagist.org/packages/magentron/laravel-blade-lint)[![License](https://camo.githubusercontent.com/491837412086816d8edf110f89a6f4b5551e844e0697bb8ab7a5086d165b94c2/687474703a2f2f706f7365722e707567782e6f72672f6d6167656e74726f6e2f6c61726176656c2d626c6164652d6c696e742f6c6963656e7365)](https://packagist.org/packages/magentron/laravel-blade-lint)[![StyleCI](https://camo.githubusercontent.com/e6566e13e48ed012006a8faa98f9db03c69249f1e15c83b59a1ee5648fa1278d/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3133343134323831322f736869656c64)](https://github.styleci.io/repos/134142812)
[![Laravel 12.x](https://camo.githubusercontent.com/c68ca32145263744ae9a166a21cc8a350ea005995dbe3fbb4123a8091798c7ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d677265656e2e737667)](https://github.com/laravel/framework/tree/12.x)[![Laravel 11.x](https://camo.githubusercontent.com/02c66d8dd3f5eca43d73d79d5ada384b96301e965b44c6ba34345204a09c28ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31312e782d677265656e2e737667)](https://github.com/laravel/framework/tree/11.x)[![Laravel 10.x](https://camo.githubusercontent.com/310be6e74037228d132b5f20e8ae9ee9c7d5052a440fac56f46e2587d70b187f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e782d677265656e2e737667)](https://github.com/laravel/framework/tree/10.x)[![Laravel 9.x](https://camo.githubusercontent.com/f5b5f98fd2a942d408933c9a778e3f4ae1790167d610e6f41c48cfc54dca2555/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d392e782d677265656e2e737667)](https://github.com/laravel/framework/tree/9.x)[![Laravel 8.x](https://camo.githubusercontent.com/76ce09ab8cb2a456153d9f5bd77fb8ac44661138e8cc01b14c8649fc9917feef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d382e782d677265656e2e737667)](https://github.com/laravel/framework/tree/8.x)[![Laravel 7.x](https://camo.githubusercontent.com/6fb003508b264e12d7f5a2e480b49b55df0101906b4d50ea3ea61b150c9583aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d372e782d677265656e2e737667)](https://github.com/laravel/framework/tree/7.x)[![Laravel 6.x](https://camo.githubusercontent.com/be1ee58ffb2ecdc7206b0025cbb27f186100dc9df68e716340f9700651f1fe40/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d362e782d677265656e2e737667)](https://github.com/laravel/framework/tree/6.x)[![Laravel 5.x](https://camo.githubusercontent.com/b4cda122299291c014ba0fcf5b5f4619d5eeb0cbd330f8f2cebcfbd0a70161f8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e782d677265656e2e737667)](https://github.com/laravel/framework/tree/5.8)

Laravel console command to check syntax of blade templates.

Requirements
============

[](#requirements)

- PHP 5.6 or above
- Laravel 5.4 or above (including Laravel 12)
- [PCNTL extension](https://www.php.net/manual/en/book.pcntl.php) (optional, for multi-process support)
- [POSIX extension](https://www.php.net/manual/en/book.posix.php) (optional, for multi-process support)

Installation
============

[](#installation)

Add package via composer:

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

```

For Laravel version &lt; 5.5, edit `config/app.php`, add the following to the `providers` array:

```
Magentron\BladeLint\Providers\ServiceProvider::class,

```

Usage
=====

[](#usage)

From the command line, run:

```
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](https://www.php.net/manual/en/book.posix.php)).

You can use different levels of verbosity for somewhat more detailed information.

Standard help output:

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

Usage:
  blade:lint [options] [--] [...]

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

```

Development
===========

[](#development)

Development of this package requires PHP 8 or higher.

Running Tests
-------------

[](#running-tests)

```
# Install dependencies
composer install

# Run tests
make test

# Run tests with coverage report
make test-coverage
```

The coverage report will be generated in `build/coverage/`.

Static Analysis
---------------

[](#static-analysis)

```
# Run all static analysis tools
make static-analysis

# Individual tools
make phpstan
make psalm
make php-cs-fixer-dry
```

Reporting bugs/issues
=====================

[](#reporting-bugsissues)

If you find a bug please report a bug on GitHub:
.

Author
======

[](#author)

[Jeroen Derks](https://www.phpfreelancer.nl), a.k.a [Magentron](https://github.com/Magentron)

License
=======

[](#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.

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.

You should have received a copy of the GNU General Public License along with Laravel Blade Lint. If not, see .

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance52

Moderate activity, may be stable

Popularity46

Moderate usage in the ecosystem

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Recently: every ~0 days

Total

9

Last Release

2728d ago

Major Versions

1.0.7 → 2.0.02018-11-28

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/853900?v=4)[Jeroen D.](/maintainers/Magentron)[@Magentron](https://github.com/Magentron)

---

Top Contributors

[![Magentron](https://avatars.githubusercontent.com/u/853900?v=4)](https://github.com/Magentron "Magentron (28 commits)")[![bdelespierre](https://avatars.githubusercontent.com/u/1086339?v=4)](https://github.com/bdelespierre "bdelespierre (2 commits)")

---

Tags

consolelaravelbladelint

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/magentron-laravel-blade-lint/health.svg)

```
[![Health](https://phpackages.com/badges/magentron-laravel-blade-lint/health.svg)](https://phpackages.com/packages/magentron-laravel-blade-lint)
```

###  Alternatives

[shomisha/laravel-console-wizard

This package offers a framework for creating interactive console wizards within your Laravel applications.

1327.6k1](/packages/shomisha-laravel-console-wizard)[perryvandermeer/laravel-console-validator

Validate arguments for Laravel commands

108.9k](/packages/perryvandermeer-laravel-console-validator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
