This is an example demo project that implements majority of the topics required in Laravel Roadmap Beginner Level:
Routing and Controllers: Basics
- Callback Functions and Route::view()
- Routing to a Single Controller Method
- Route Parameters
- Route Naming
- Route Groups
Blade Basics
- Displaying Variables in Blade
- Blade If-Else and Loop Structures
- Blade Loops
- Layout: @include, @extends, @section, @yield
- Blade Components
Auth Basics
- Starter Kits: Laravel UI (Bootstrap)
- Default Auth Model and Access its Fields from Anywhere
- Check Auth in Controller / Blade
- Auth Middleware
Database Basics
- Database Migrations
- Basic Eloquent Model and MVC: Controller -> Model -> View
- Eloquent Relationships: belongsTo / hasMany / belongsToMany
- Eager Loading and N+1 Query Problem
Full Simple CRUD
- Route Resource and Resourceful Controllers
- Forms, Validation and Form Requests
- File Uploads and Storage Folder Basics
- Table Pagination
This demo project is using Laravel UI (Bootstrap CSS) as an Auth Starter Kit.
- Clone the repository with git clone
- Copy .env.example file to .env and edit database credentials there
- Run composer install
- Run php artisan key:generate
- Run php artisan migrate --seed (it has some seeded data for your testing)
- That's it: launch the main URL.
- You can login to manage articles with default credentials admin@admin.com - password
Basically, feel free to use and re-use any way you want.
- Check out our adminpanel generator QuickAdminPanel
- Subscribe to our YouTube channel Laravel Daily
- Enroll in our Laravel Online Courses