Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
- Installing composer to the project folder. (go to getcomposer.org).
- Create Laravel project using composer (
composer create-project --prefer-dist laravel/laravel {folder name}
). - Start the dev server on the project folder using:
php artisan serve
. - Setting-up views, controller, routes etc.
- Create new database on local server (phpmyadmin).
- Setting-up database on .env files.
- Install laravel/jetstream via composer.
- Install livewire via php (
php artisan jetstream:install livewire
). - Migrate database using
php artisan migrate
. (make sure you already install php-mysql on your machine). - Run
npm install && npm run dev
- Enable email verification on config/fortify.php
- Adding
implements MustVerifyEmail
at User models (models/User.php
) classes. - Adding the verification system routes on web routes (from Laravel Documentation).
- Register and login to mailstrap.io, and then setting the env file with username and password.
- Don't forget to setting the
.env
file. Emptying the app url, email's ports, username and password, fake sender emails.
- Adding construct function to the Controller.
- Using Auth's Middleware.
The Laravel framework is open-sourced software licensed under the MIT license.