Home / Snippets / Setting up Laravel Breeze for new Laravel Project
Setting up Laravel Breeze for new Laravel Project cover

Setting up Laravel Breeze for new Laravel Project

226

3 years ago

0 comments

Laravel Breeze has just been introduced in Laravel 8 but in the previous version of Laravel, it's referred to as Laravel scaffolding.

Below are the features provided by Laravel Breeze.
  • Simple implementation of all of Laravel's authentication features
  • Login
  • Registration
  • Password reset
  • Email verification
  • Password confirmation

Setting up Laravel Breeze is very easy and straight forward so let's get started.

1 - Require the package with PHP composer
composer require laravel/breeze --dev

2 - Install Laravel Breeze
This command will publish the authentication views, routes, controllers, and other resources to your application.
php artisan breeze:install

3 - Require all front-end dependencies and compile assets for development
yarn && yarn dev

4 - Run Migration
php artisan migrate

Now when you view the home page of your project you will see the Login & Register link right on the top right side of your page.
notion avatar

Alaz

Week-end developer currently experimenting with web, mobile, and all things programming.

Topics:

Frontend

Resource

Average

Average

Support Us

If you like our tutorial, support us by being our Patreon or buy us some coffee ☕️

Welcome to PostSrc V3

PostSrc Dark Logo

You have to login to favorite this