How To Create a New Laravel Project with Laravel Breeze Starter Kit?

Create a New Laravel Project with Breeze Starter Kit

There are multiple ways of creating a New Laravel Project. You can do it via the composer or via the Laravel installer, my preferred way of doing it is the latter. But just creating a simple user-facing project doesn’t help.

In almost every meaningful project, you need some sort of authenticated area, a backend. Laravel provides multiple starter kits in order to generate simple authentication scaffolding. And with every new version of Laravel, a new one is launched. In one of our previous posts, we saw how to setup TailwindCSS in a new Laravel project. This project also generated the TailwindCSS based authentication scaffolding.

My favorite, however, even if it is old now, is Laravel Breeze. Works for most of my projects.

Setting up Laravel Breeze in a New Laravel Project

The process is quite simple. This also assumes, you already know how to create a new Laravel project. If you don’t, first check this out and create your new Laravel Project.

Once your new Laravel Project is created, we can add the Laravel Breeze scaffolding by going inside the project’s root directory and then running the commands mentioned below, in the given sequence:

composer require laravel/breeze --dev

This will bring in the laravel breeze package into your project.

php artisan breeze:install

This command will publish all the necessary views, routes, controllers, etc.

npm install
npm run dev

Finally, install all the Node packages and then generate the compiled resources files.

Once you are done with this, you can run

php artisan serve

If you want to download this minimalistic starter kit, you can do so, here.

That’s it!

Share This Post

4 thoughts on “How To Create a New Laravel Project with Laravel Breeze Starter Kit?”

  1. Pingback: How To Generate an UUID in Laravel? - Rajiv Verma

  2. Pingback: How To Create a New VueJS Application? - Rajiv Verma

  3. Pingback: How To Resize and Add Text on Image in Laravel? - Rajiv Verma

  4. Pingback: How To Create A Repeater Form Using Livewire? - Rajiv Verma

Leave a Comment

Your email address will not be published. Required fields are marked *

Subscribe To my Future Posts

Get notified whenever I post something new

More To Explore