This is a practical tutorial. We will create a project with Laravel in version 11 and integrate the base auth verification.
Create a Laravel project using composer
composer create-project --prefer-dist laravel/laravel laravel-auth-bootstrap
Select No starter kit
cd laravel-auth-bootstrap
composer require laravel/ui
php artisan ui bootstrap --auth
confirm to overwrite the views and that's it.
Create the register and login views
npm install && npm run dev
Create a database and add the name in the .env file
php artisan migrate
Now you can review the views with the following command
php artisan serve
You must have these screens.
Any questions or errors when doing this tutorial, do not hesitate to write. I will be happy to help you.
Thanks for reading, happy coding!
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3