PHPackages                             laravel-fans/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. [Testing &amp; Quality](/categories/testing)
4. /
5. laravel-fans/lint

ActiveLibrary[Testing &amp; Quality](/categories/testing)

laravel-fans/lint
=================

Laravel Lint Code Style

v9.3.1(3mo ago)940.3k↓22.3%1[2 issues](https://github.com/laravel-fans/laravel-lint/issues)MITPHPCI passing

Since Sep 6Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/laravel-fans/laravel-lint)[ Packagist](https://packagist.org/packages/laravel-fans/lint)[ RSS](/packages/laravel-fans-lint/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (19)Used By (0)

Laravel Lint
============

[](#laravel-lint)

[![codecov](https://camo.githubusercontent.com/e6520ad631617940f4a3e5ff859252aa88f5a80f0a22cb41219b82e0658219fd/68747470733a2f2f636f6465636f762e696f2f67682f6c61726176656c2d66616e732f6c61726176656c2d6c696e742f67726170682f62616467652e7376673f746f6b656e3d514a6a596b50566e7234)](https://codecov.io/gh/laravel-fans/laravel-lint)[![Packagist Downloads](https://camo.githubusercontent.com/44120989bba5a137e4b4e54baae7a8e70d5363987c84fd264eb580614226a078/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6c61726176656c2d66616e732f6c696e74)](https://packagist.org/packages/laravel-fans/lint)[![Laravel 10](https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-10.yml/badge.svg)](https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-10.yml)[![Laravel 11](https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-11.yml/badge.svg)](https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-11.yml)[![Laravel 12](https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-12.yml/badge.svg)](https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-12.yml)

Check Code Style(default PSR-12) for Laravel

install
-------

[](#install)

Run in your Laravel project:

```
composer require --dev laravel-fans/lint
php artisan lint:publish
```

You will find `pint.json`, `phpcs.xml` and `phpmd.xml` in your project, feel free to change it.

usage
-----

[](#usage)

### lint all

[](#lint-all)

```
php artisan lint
php artisan lint --fix

```

### lint code

[](#lint-code)

```
php artisan lint:code
php artisan lint:code --fix
php artisan lint:code app/ tests/
php artisan lint:code app/ tests/ --fix
php artisan lint:pint
php artisan lint:phpcs
php artisan lint:pmd
php artisan lint:staged
```

### lint route

[](#lint-route)

```
php artisan lint:route
```

Slug(kebab-case) URI standard: lowercase ASCII letters, digits, and hyphens (a-z, 0–9, -)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance77

Regular maintenance activity

Popularity35

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.5% 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 ~132 days

Recently: every ~113 days

Total

16

Last Release

96d ago

Major Versions

0.4.0 → 1.0.02021-10-31

1.1.0 → v8.0.02024-11-17

v8.0.0 → v9.0.02024-11-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/89ddc639897087464ea88b1e5481834d86fe581c94a2333cfe2778a4e93b65bd?d=identicon)[sinkcup](/maintainers/sinkcup)

---

Top Contributors

[![shaunthegeek](https://avatars.githubusercontent.com/u/4971414?v=4)](https://github.com/shaunthegeek "shaunthegeek (32 commits)")[![hms5232](https://avatars.githubusercontent.com/u/43672033?v=4)](https://github.com/hms5232 "hms5232 (4 commits)")[![phuthuycoding](https://avatars.githubusercontent.com/u/6171867?v=4)](https://github.com/phuthuycoding "phuthuycoding (1 commits)")

---

Tags

laravellintlint-stagedpsr-12

### Embed Badge

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

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

###  Alternatives

[christophrumpel/missing-livewire-assertions

This package adds missing livewire test assertions.

149336.0k9](/packages/christophrumpel-missing-livewire-assertions)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)[calebdw/larastan-livewire

A Larastan / PHPStan extension for Livewire.

43482.4k3](/packages/calebdw-larastan-livewire)

PHPackages © 2026

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