Overview
The Laravel 8 Starter is a simple Laravel project that is based on Laravel Breeze, Blade UI Kit, TailwindCss, and Alpinejs. It provides a range of features for user management and authentication, including user registration with email verification, login with OTP (One-Time Password), password recovery, and user profile settings. This project is easy to install and get started with, making it a convenient choice for developers.
Features
- User Migrate and Seeder: The project includes migrations and seeders to set up the user database table with sample data.
- User Register & Email Verification: Users can register for an account and verify their email address through an email verification process.
- User Login: Users can log in to their account with their registered credentials.
- User Login With OTP: Users have the option to log in with a one-time password for added security.
- User Forgot Password: Users can recover their password through a password reset process.
- User Setting Profile: Users can customize their profile settings.
- User Setting Two-factor Authentication: Users can enable two-factor authentication for enhanced account security.
Installation
To install the Laravel 8 Starter project, follow these steps:
- Clone this project to your local machine.
- Create a
.envfile by making a copy of the.env.examplefile. - Edit the
databaseandmailconfiguration settings in the newly created.envfile. - Install the required composer packages by running
composer install. - Install the required npm packages by running
npm install. - Run Laravel Mix using the command
npm run dev. - Clean the cache, create a key, and create the storage by running the following command:
php artisan optimize php artisan key:generate php artisan storage:link - Run the migrations and seeders to set up the database with sample data:
php artisan migrate:fresh --seed - Finally, start the development server by running:
php artisan serve --port=8080 - You can now access the project in your browser at http://127.0.0.1:8080.
Please note that using an nginx server is recommended for optimal performance. Also, a default user login is available for testing purposes.
Summary
The Laravel 8 Starter project is a convenient and easy-to-use Laravel project that integrates popular tools like Laravel Breeze, Blade UI Kit, TailwindCss, and Alpinejs. It provides essential user management and authentication features, making it suitable for developers who want to quickly set up a basic Laravel application. The installation instructions are straightforward, allowing developers to get started with the project easily.