# laravel/pint

Laravel Pint is an opinionated PHP code style fixer for minimalists.

Repository: https://github.com/laravel/pint
Canonical: https://ross.abutalabs.com/products/pint
Homepage: https://laravel.com/docs/pint
Language: PHP
License: MIT
License Family: permissive
Topics: php, format, formatter, lint, linter
Last push: 2026-08-17T13:23:14+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 97, longevity 100
- inputs: {"age_days": 1541, "days_push": 16, "days_rel": 23, "gap_med": 21, "n_releases_24m": 30}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3153, forks 194 (observed 2026-08-28T04:07:46.249794+00:00)

## What it is
Laravel Pint is an opinionated PHP code style fixer built on top of PHP-CS-Fixer. It provides a zero-configuration CLI for keeping PHP code clean and consistent, with presets, rule customization, and Blade template support.

## Use cases
- fix php code style issues automatically
- enforce consistent coding style across a php project
- lint php files in continuous integration
- format blade templates
- run code style checks on specific files or directories

## When to choose
- you want a zero-config, opinionated PHP style fixer
- you work in Laravel projects where Pint ships by default
- you want PHP-CS-Fixer power with a simpler interface

## When to avoid
- you need fully customizable style rules beyond Pint's presets
- you format non-PHP languages
- you prefer PSR standards without opinionated defaults

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, formatter, cli, developer-tools
- domain: developer-tools, web-development, testing
- platform: php, cli, cross-platform
- tags: code-style, php-cs-fixer, laravel, code-quality, auto-formatting, command-line

## Member repositories
- laravel/pint (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:46.249794+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:45:34.582800+00:00, confidence not recorded.
  - readme: https://github.com/laravel/pint (fetched 2026-08-28T04:07:46.249794+00:00, sha 4d345329b061)
  - homepage: https://laravel.com/docs/pint (fetched 2026-08-29T09:40:22.529282+00:00, sha 4a26c7fc6f12)
  - site_page: https://laravel.com/framework/docs/frontend (fetched 2026-08-29T09:40:22.544984+00:00, sha 95e0eb510447)
  - site_page: https://laravel.com/framework/docs/releases (fetched 2026-08-29T09:40:22.532321+00:00, sha 7de9d9609fc4)
  - site_page: https://laravel.com/framework/docs/upgrade (fetched 2026-08-29T09:40:22.534231+00:00, sha 4f27c4f052eb)
  - site_page: https://laravel.com/framework/docs/contributions (fetched 2026-08-29T09:40:22.536215+00:00, sha caadd078de37)
  - site_page: https://laravel.com/framework/docs/installation (fetched 2026-08-29T09:40:22.537909+00:00, sha 7a5c81e1d372)
  - site_page: https://laravel.com/framework/docs/configuration (fetched 2026-08-29T09:40:22.539941+00:00, sha 3ed84396351e)
  - site_page: https://laravel.com/framework/docs/ai (fetched 2026-08-29T09:40:22.541775+00:00, sha 501aca81c90c)
  - site_page: https://laravel.com/framework/docs/structure (fetched 2026-08-29T09:40:22.543343+00:00, sha 0c9a6d55b9f7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
