This is a template for creating applications using Laravel 11 and HeroUI (v2).
To create a new project based on this template using create-laravel, run the following command:
npx create-next-app -e https://github.com/heroui-inc/laravel-template.gitAfter creating the project you will have the base template using Laravel 11.31
Since this is a starter template, you don't need to follow all the steps in the Laravel 12 upgrade guide. The steps required to upgrade this template are shown below:
- In 
composer.jsonupdate thelaravel/frameworkversion to^12.00 - You also need to update the minimum version of 
inertiajs/inertia-laravelto^2.0.1in order to work with Laravel 12 
composer updateYou can use one of them npm, yarn, pnpm, bun, Example using npm:
npm installnpm run devIf you are using pnpm, you need to add the following code to your .npmrc file:
public-hoist-pattern[]=*@heroui/*After modifying the .npmrc file, you need to run pnpm install again to ensure that the dependencies are installed correctly.