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

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

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️