Skip to content

Instantly share code, notes, and snippets.

View adrianovcar's full-sized avatar
🎯
Focusing

Adriano Carrijo adrianovcar

🎯
Focusing
View GitHub Profile
@adrianovcar
adrianovcar / laravel-pint-phpstorm.md
Last active March 15, 2024 10:53
Laravel Pint - PHPStorm Auto Formatter

I'm assuming you already have installed Laravel Pint on your project, if not, follow the official installation guide

To set up the integration with Laravel Pint, open your PHPStorm and proceed to SettingsPHPQuality Tools and unfold the Laravel Pint segment.

If you are working on a pre-existing project, I recommend checking the option Reformat only uncommitted files.

Additionally, you have the option to designate Laravel Pint as your preferred external formatter. This facilitates the correction of all problems identified by Laravel Pint simultaneously using the Reformat Code ⌘⌥ L command.

To activate Laravel Pint for inspection within PhpStorm, navigate to SettingsEditorInspections and mark the checkbox for Laravel Pint Validation found under PHPQuality Tools.

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active July 31, 2024 18:30
Conventional Commits Cheatsheet

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default