jskrd/pint-config

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel Pint config for PHP code formatting

Installs: 39

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jskrd/pint-config

v1.0.0 2024-04-06 11:46 UTC

This package is auto-updated.

Last update: 2025-02-06 13:42:34 UTC


README

About

This package provides a Laravel Pint configuration for PHP projects which follow the PSR-12 coding style and coding style commonly seen in the official PHP documentation.

Installation

Install the package using Composer:

composer require --dev laravel/pint jskrd/pint-config

Usage

Either run Pint directly with the configuration file:

./vendor/bin/pint --config vendor/jskrd/pint-config/pint.json

Or add a format script to your composer.json file to run Pint with the configuration file:

composer config scripts.format 'pint --config vendor/jskrd/pint-config/pint.json' --file composer.json

And run the script:

composer format