DEV Community

Ellis
Ellis

Posted on • Edited on

2 1

Laravel Breeze - Minimal & Simple Authentication Scaffolding

Laravel Breeze is the official package from the Laravel team that can be utilized to make a simple authentication, much the same as it was utilized to be in the Laravel UI package. There's no implementation to utilize Livewire, Inertia, or whatever else.

Laravel Breeze is controlled by Blade and Tailwind. It publishes authentication controllers and views to your application that can be effectively redone dependent on your own application's necessities.

Installation

Run the following composer command to install this package:

composer require laravel/breeze --dev
Enter fullscreen mode Exit fullscreen mode

After installation, run the following command to publish Breeze scaffolding:

php artisan breeze:install
Enter fullscreen mode Exit fullscreen mode

The next step is to run npm install && npm run dev to build assets of your Laravel application.

Once done, you can migrate the database by running php artisan migrate which will create necessary tables for authentication such as users, password_resets, and so on in the application’s database.

Now it is ready, try the application in your browser.

Reference

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay