Search by

marcel-breuer / pint-preset

marcel-breuer

An opinionated Laravel Pint configuration preset for consistent PHP and Laravel project styling.

Package info

github.com/marcel-breuer/pint-preset

pkg:composer/marcel-breuer/pint-preset

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.4.0 2026-08-13 13:01 UTC

This package is auto-updated.

Last update: 2026-08-29 12:18:46 UTC


README

A reusable, opinionated formatting preset for Laravel Pint, Laravel’s official PHP code style fixer.

This package provides a consistent style guide for Laravel and PHP projects, enabling uniform code standards across multiple repositories.

Features

  • Consistent and opinionated code style
  • Blade template formatting
  • Easy integration into any Laravel or PHP project
  • Centralized maintenance of formatting rules
  • Suitable for teams and individual developers

Installation

Install the package via Composer:

composer require marcel-breuer/pint-preset --dev

Usage

To use this preset, point your project's pint.json to the configuration file in this package.

Example pint.json:

{
  "config": "./vendor/marcel-breuer/pint-preset/pint.json"
}

Then run Pint:

composer pint

This allows your project to consume a centrally maintained Pint rule set.

Requirements

  • PHP 8.1 or higher
  • Laravel Pint 1.30 or higher
  • Node.js with prettier, prettier-plugin-blade, and prettier-plugin-tailwindcss in consuming projects

License

This package is open-sourced software licensed under the MIT license.