johnbacon/stout

A simple fork of Laravel Pint, now with tab indentation!

Installs: 3 164

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 123

Open Issues: 0

Type:project

v1.51.1 2024-04-20 15:53 UTC

README

Logo Stout

Build Status Total Downloads Latest Stable Version License

Introduction

Stout is a fork of Laravel Pint, which is itself built on top of PHP-CS-Fixer.

The only difference between Pint and Stout is the ability to specify which indentation styles and line-endings you prefer.

Official Documentation

Installation

composer require johnbacon/stout --dev

Usage

Use the same commands as Pint:

php ./vendor/bin/stout

or

php ./vendor/bin/stout --dirty

To change the indentation, add the indent option to stout.json:

{
  "indent": "\t"
}

Default for intentation is 4 spaces.

To change the line ending option:

{
  "lineEnding": "\r\n"
}

Default line ending is a single newline.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Stout is open-sourced software licensed under the MIT license.