News

PhpStorm now has built-in support for Laravel Pint

Published
PhpStorm now has built-in support for Laravel Pint image

PhpStorm 2023.2 is now released and has added Laravel Pint to the list of supported quality tools. Code style issues reported by Laravel Pint can now be treated like PhpStorm's own code inspections.

To configure the integration with Laravel Pint, go to Settings | PHP | Quality Tools and expand the Laravel Pint section.

You can also set Laravel Pint as your external formatter of choice. This would enable fixing all issues detected by Laravel Pint in one go with the Reformat Code ⌘⌥ L action.

To enable Laravel Pint as a PhpStorm inspection, go to Settings -> Editor -> Inspections and select the checkbox for Laravel Pint validation under PHP | Quality Tools.

With the inspection enabled, issues detected by Laravel Pint will be highlighted in any opened PHP file or reported in the Problems tool window.

This release also includes many other useful features, including:

  • Improvements for generics in PHP
  • Native support for PHP assertions
  • AI Assistant (Beta)
  • GitLab integration
  • Text search in Search Everywhere

Check out their what's new page for more details on the release and all the new features!

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article