Boilerplate is a pre-built authentication system that provides reusable functionality for login, sign-up, email verification, OTP authentication, user profile management, and logout. It is designed to be easily integrated into any Laravel project, allowing developers to focus on core business logic instead of implementing authentication from scratch.
- User Registration & Login
- Email Verification
- OTP-based Authentication
- Profile Management
- Logout Functionality
Follow these steps to set up and use the application:
-
Clone the repository:
git clone https://github.com/ColoredCow/laravel-init.git
-
Navigate into the project directory:
cd laravel-init
-
Install dependencies using Composer:
composer install
-
Copy the example environment file:
cp .env.example .env
-
Update the
.env
file with your database credentials:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel_init DB_USERNAME=root DB_PASSWORD=
-
Generate the application key:
php artisan key:generate
-
Run database migrations:
php artisan migrate
-
(Optional) Seed the database with default data:
php artisan db:seed
-
Start the development server:
- Using
serve
Your application should now be running at http://127.0.0.1:8000php artisan serve
- Using Laravel Valet
Your application should now be running at https://laravel-init.test
valet link laravel-init valet secure laravel-init
- Using
Contributions are welcome! Feel free to fork this repository, submit issues, or make pull requests to improve the Boiler Plate application.
For any questions or support, feel free to reach out to the repository maintainers or open an issue.