This sample project is based on Basic Task List Tutorial with slight modification. This project provides a basic introduction to the Laravel framework and includes content on the following concepts:
- database migrations,
- the Eloquent ORM for basic CRUD,
- routing using HTTP verb,
- controller,
- dependency injection,
- input validation,
- pagination, and
- views using Blade templates.
This project sample a basic selection of Laravel features through simple task list application which we can use to track all of the tasks we want to accomplish. This typical "to-do" list example demonstrates how to do simple CRUD using Laravel.
First, clone repo and install all dependencies.
$ git clone https://github.com/haryasa/laravel-sample-basic-task-list.git basic-task-list
$ cd basic-task-list
$ composer install
After that, setting up database config in .env
file and then run migrate command.
$ php artisan migrate
You're ready to go! :)
Check out also Laravel Sample - Intermediate Task List repository for an intermediate introduction to the Laravel framework.
- Reduce the concepts used to make this sample simpler.