Skip to content
Binaryboxtuts

Binaryboxtuts

Binaryboxtuts provide tutorials on Web Development and Programming, Learn about Laravel, Symfony, Codeigniter, Javascript other Technologies with our easy step-by-step tutorials

  • Home
  • PHP
  • Laravel
  • CodeIgniter
  • Symfony
  • Contact Us
  • About
Binaryboxtuts
Laravel 8 Starter Kit – How to Install Laravel Breeze
July 24, 2021 PHP / Laravel

Laravel 8 Starter Kit – How to Install Laravel Breeze

Avatar photoPosted by Binarytuts

Contents

  • 1 Introduction:
  • 2 Step 1: Install Laravel 8
  • 3 Step 2: Set Database Configuration
  • 4 Step 3: Install Laravel Breeze
  • 5 Step 3: Run the App

Introduction:

One of the most fundamental part of an application is the authentication, good thing Laravel has already built that for you. On this tutorial we will be showing you how to install Laravel Breeze. It is a good starting point when making a Laravel application.

Laravel Breeze gives you a simple and minimal implementation of login, registration, password reset, email verification and password confirmation which are part of Laravel’s authentication features.

Now that you have a bit of an insight we will now start.

Step 1: Install Laravel 8

First, select a folder that you want the Laravel to be installed then execute this command on Terminal or CMD to install Laravel 8:

Install via composer:

composer create-project laravel/laravel laravel-breeze

Install via Laravel Installer:

laravel new laravel-breeze

Step 2: Set Database Configuration

Open the .env file and set database configuration:

.env

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your database name(laravel_8_breeze)
DB_USERNAME=your database username(root)
DB_PASSWORD=your database password(root)

Step 3: Install Laravel Breeze

After setting up the database configuration, run the migration command:

php artisan migrate

Then install the Laravel breeze package

composer require laravel/breeze --dev

After installing packages, run the artisan command breeze:install to publish the authentication views, routes, controller and other resources to the project.

php artisan breeze:install

After the installation, run these commands to compile the assets.

npm install
npm run dev
php artisan migrate

Step 3: Run the App

Run the laravel app:

php artisan serve

You can now navigate to login and register url.

http://localhost:8000/login
http://localhost:8000/register

Laravel 8Laravel BreezeLoginRegistration

Post navigation

Previous Post

Laravel 8 CRUD Using AJAX with DataTables Tutorial

Next Post

How to make Symfony 5 REST API

Recent Posts

  • Symfony 6 JSON Web Token(JWT) Authentication
  • Generating PDF from HTML In Laravel 8
  • CodeIgniter 4 JSON Web Token(JWT) Authentication
  • How to make Symfony 6 REST API
  • Symfony 5 CRUD App Easy Tutorial
  • Symfony 6 QR Code Generator Tutorial
  • CodeIgniter 4 QR Code Generator Tutorial
  • Laravel 9 QR Code Generator Tutorial

Newsletter

Tags

AJAX Authentication Bootstrap CodeIgniter 3 CodeIgniter 4 Composer CRUD CSV DataTable Email Javascript JQuery JWT Laravel Laravel 7 Laravel 8 Laravel 9 Laravel Breeze Laravel Passport Login Lumen 9 Mailtrap Multiple File Upload Page Numbering Pagination Payment Gateway PDF PHP QR Code React Registration REST API Single Page Application SPA Stripe Symfony 5 Symfony 6 XAMPP
WordPress Theme: Maxwell by ThemeZee.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
SAVE & ACCEPT