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
Requires
- php: ^8.1.0
- ext-json: *
- ext-mbstring: *
- ext-tokenizer: *
- ext-xml: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.54.0
- illuminate/view: ^10.48.8
- larastan/larastan: ^2.9.5
- laravel-zero/framework: ^10.3.0
- mockery/mockery: ^1.6.11
- nunomaduro/termwind: ^1.15.1
- pestphp/pest: ^2.34.7
- dev-main
- v1.51.1
- v1.13.9
- v1.13.3
- v1.13.2.1
- v1.13.1.2
- v1.13.1.1
- v1.13.1
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.6
- v1.10.5
- v1.10.4
- v1.10.3
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
This package is auto-updated.
Last update: 2024-04-20 15:55:38 UTC
README
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.