Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/ Questions/Q 5200

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Latest Questions

Author
  • 61k
Author
Asked: November 27, 20242024-11-27T07:02:09+00:00 2024-11-27T07:02:09+00:00

Basic Laravel Login and Registration using Laravel Breeze

  • 61k

Hello, How are you doing, I want to introduce Laravel Breeze to you, in the course of the week Taylor Otwell (creator of Laravel) tweeted about a new package released (Laravel Breeze). Taylor Tweet This is because of the uproar about Jetstream where some thought that Laravel have abandoned their legacy UI, but Taylor cleared the air on that, and have to release another package that is not complicated like the Jetstream and in which one can customize to his/her desire.
This comes with basic Authentication like, User registration and user Login, change of password, email setup, send email for change of password, tailwind and blade etc. Let's create our first app with Laravel breeze.

If you prefer to watch videos, this is the video Youtube Video link

Click on my profile to follow me to get more updates.

Step 1: Install a new Laravel app

You can use

laravel new breeze

laravel new breeze laravel new breeze
but in using this, you must make sure laravel is installed on your system, you can install laravel globally using

composer global require laravel/installer

or you can install laravel using composer without Laravel using

composer create-project laravel/laravel breeze –prefer-dist

composer create-project composer create-project

Step 2: Require Laravel Breeze

After installing Laravel, then change into the directory cd breeze/ and require Laravel Breeze with composer using the command below

composer require laravel/breeze –dev

require breeze

Step 3: Install Laravel Breeze

php artisan breeze:install

install breeze

Step 4: Install the JavaScript pacakges

After installing Laravel Breeze, it will prompt you to run

npm install && npm run dev

Step 5: Setup Database

Open your .env file that was created and you will see that the name of the project has automatically be entered as the database name, you can change it to the name of the database you want to use, or you leave it and create a new database with the name
.env

Step 6: Run migration

After setting up our database and editing it in the .env file, we need to run the migration, but before that, we need to set the default string length, if not, this will throw errors in the course of migrations.
Go to app/Providers/AppServiceProvider.php and add the schema for the default string length in the boot method.

Schema::defaultstringLength(191);

remember to call the schema class at the top

use IlluminateSupportFacadesSchema;

<?php  namespace AppProviders;  use IlluminateSupportServiceProvider; use IlluminateSupportFacadesSchema;   class AppServiceProvider extends ServiceProvider {     /**      * Register any application services.      *      * @return void      */     public function register()     {         //     }      /**      * Bootstrap any application services.      *      * @return void      */     public function boot()     {         Schema::defaultstringLength(191);     } } 
Enter fullscreen mode Exit fullscreen mode

then run the migration

php artisan migrate

migrate

Step 7: Add your email login details

This is so we can be able to reset our password and other email features
email settings

Step 8: Start the App

php artisan serve

http://127.0.0.1:8000/
home page
http://127.0.0.1:8000/register
register
http://127.0.0.1:8000/dashboard
dashboard
http://127.0.0.1:8000/login
dashboard
Now you have your basic laravel app with Auth setup.
Follow me for more of my articles, you can leave comments, suggestions, and reactions.
I am open to any vacancy as a PHP backend engineer, my strength is in the Laravel framework

Watch the video on Youtube
click the link to view my profile and follow me

beginnerslaravelphpwebdev
  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 0
  • Best Answers 0
  • Users 2k
  • Popular
  • Answers
  • Author

    How to ensure that all the routes on my Symfony ...

    • 0 Answers
  • Author

    Insights into Forms in Flask

    • 0 Answers
  • Author

    Kick Start Your Next Project With Holo Theme

    • 0 Answers

Top Members

Samantha Carter

Samantha Carter

  • 0 Questions
  • 20 Points
Begginer
Ella Lewis

Ella Lewis

  • 0 Questions
  • 20 Points
Begginer
Isaac Anderson

Isaac Anderson

  • 0 Questions
  • 20 Points
Begginer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore, ask, and connect. Join our vibrant Q&A community today!

About Us

  • About Us
  • Contact Us
  • All Users

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2022 Querify Question. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.