Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

stratboy's avatar

Can I install Breeze on an existing project?

Hi, Breeze is said to be a 'Starter Kit'. So I was wondering: is it possible to install it even on a existing app?

0 likes
9 replies
LaryAI's avatar
Level 58

Yes, it is possible to install Breeze on an existing Laravel project. Breeze is a lightweight authentication scaffolding package that can be easily integrated into an existing Laravel application.

To install Breeze on an existing project, follow these steps:

  1. Make sure you have a Laravel project set up and running.

  2. Open your terminal and navigate to the root directory of your project.

  3. Install Breeze using Composer by running the following command:

composer require laravel/breeze --dev
  1. Once the installation is complete, run the following command to set up Breeze:
php artisan breeze:install

This command will install Breeze and set up the necessary files and routes.

  1. Next, run the migration command to create the required database tables:
php artisan migrate
  1. Finally, compile the frontend assets by running the following command:
npm install && npm run dev

After completing these steps, Breeze should be successfully installed in your existing Laravel project. You can now customize the authentication views and routes as per your requirements.

Note: Breeze assumes you are using Laravel's default authentication scaffolding. If you have made any customizations to your authentication system, you may need to adjust the Breeze installation accordingly.

Snapey's avatar

I wouldn't recommend it as some files in your application will be overwritten. This may be ok, but maybe not. And you won't get any say.

I would start a new project and then copy your current project over into it.

stratboy's avatar

@Snapey I didn't understand that Fortify is a starter kit. It's not listed on the dedicated doc page. Anyway, thank you. Also, is Breeze suitable for livewire?

newbie360's avatar
composer require laravel/breeze --dev

php artisan breeze:install livewire

npm install

npm run build
Snapey's avatar

having said that, if you are using git version control, you can create a branch and install breeze.

You can check what has been changed, and either make it work for your project or switch back to the main branch and delete the experiment.

Please or to participate in this conversation.