To install Laravel Pint, make sure you're familiar with the official Laravel documentation on how to install Pint.
spin run php composer require laravel/pint --dev
Once you've installed Laravel Pint, you can run the following command to check your codebase for any issues:
spin run php ./vendor/bin/pint
If you run into issues with certain files (especially files in your .infrastructure directory), you can ignore them by adding them to the .pint.json file.
{
"exclude": [
".infrastructure"
]
}
Laravel Octane
Laravel Octane supercharges your application's performance by serving your Laravel application using high-powered application servers. With Spin Pro, Octane is powered by FrankenPHP, providing modern web features and exceptional performance.
Laravel Queues
Laravel Queues are a powerful feature that allows you to defer the processing of a time-consuming task. This guide will walk you through how to use Laravel Queues with Spin.