Skip to main content
Get a Quote
Course Enquiry
Contact Us
Laravel Introduction




Laravel is a PHP framework for rapid development. It uses the MVC (Model View Controller) design pattern to separates the web application into three different components. This course provides a great Laravel tutorial for beginners.

This course will give you all the essentials you need to know to get up and running with Laravel. You will learn how to download and install Laravel, how to use Composer to install PHP classes, how to use Artisan (the Laravel command line tool), how to work with Routes, Views, Blade templates, Controllers and Models. It will also show you how to work with Eloquent, the Laravel ORM used to perform SQL queries on Laravel Models.

Delivery Methods

Leading Training is focusing on providing virtual training courses for the foreseeable future and will only consider in-person and classroom training on request, with a required minimum group size of four delegates. We remain committed to offering training that is fast, focused and effective.

Delivery Method Duration Price (excl. VAT)
Fulltime 2 days R 5,258.00
Webinar 2 days R 3,698.00

Discounts Available

Save up to 10% by booking and paying 10 business days before the course.


Download Brochure

Information may change without notice.


PHP developers looking for a MVC framework to speed up their development


A good understanding of PHP and classes

Course Outline / Curriculum

  1. What is Laravel?

    1. Notable Features
    2. Documentation
  2. Downloading and Installing

    1. Pre-requisites
    2. Windows Development Environment
    3. Code Editor
    4. Composer
      1. Running Composer
    5. Installing Laravel Globally
    6. Creating a new Laravel Project
    7. Running your project
    8. Viewing your project files
  3. Using Composer

    1. Getting a list of Composer commands
    2. Viewing Installed Packages
    3. Getting help in Composer
    4. Searching for packages
    5. Installing packages
    6. Removing packages
    7. Updating packages
    8. Installing packages from composer.json
  4. Artisan

    1. Listing commands
    2. Show a list of routes
    3. Tinker
    4. Creating Controllers
      1. Empty Controller
      2. Resource Controller
    5. Creating Models
      1. Empty Model
      2. Empty Model and Migration
    6. Creating Migrations
    7. Migration to create a table
    8. Migration to update a table
    9. Executing Migrations
      1. Run all
      2. Rollback last
      3. Reset all
  5. Routing

    1. Defining a route
    2. Route with a closure
    3. Route using a controller method
    4. Route Parameters
    5. Optional Route Parameters
    6. Regular Expression Constraints
  6. REST

    1. REST example

    1. Loading a View
    2. Example
    3. Passing variables to a view
    4. Passing variables using the with method
    5. Passing variables using compact
  8. Blade Templates

    1. Template Inheritance
    2. Example master layout
    3. Example child layout
    4. Including other views
    5. Displaying Data
    6. Displaying unescaped data
    7. Displaying a variable if it exists
    8. If Statements
    9. Foreach Loops
    10. $loop variable
    12. Embedding PHP
  9. Controllers

    1. Creating a Controller
    2. Dependency Injection
  10. Migrations

    1. Default Migrations
    2. Migration Structure
    3. create_users_table migration
    4. Creating a Table
    5. Common Column Types
    6. Column Modifiers
    7. Creating Indexes
    8. Foreign Keys
    9. Creating a Database
    10. Configuring the Database
    11. Running the Migrations
    12. Result of the Migration
    13. Creating a Migration
    14. Edit the Migration File
    15. Run the migration
    16. Create an update migration
    17. Edit the Migration File
    18. Run the migration
    19. Rolling back a migration
    20. Resetting all migrations
  11. Eloquent

    1. Creating a model
    2. Model structure
    3. Setting the table name
    4. Setting the primary key
    5. Timestamps
    6. Mass Assignment
      1. Black listing fields
    7. Inserting a new record
    8. Inserting using mass-assignment
    9. Retrieving All Records
    10. Retrieve a record by id
    11. Add a where clause
    12. Alternative comparison operators
    13. A where with an and
    14. A where with an or
    15. Where between
    16. Where in
    17. Where is null
    18. Sorting results
    19. Updating an existing Record
    20. Updating using mass-assignment
    21. Deleting a record
  12. Practical Exercise

    1. Creating the Controller
    2. Setting up the routes
    3. Create a contacts table
    4. Create a Contact model
    5. Setup a master template
    6. Edit the Contact Controller
    7. Run your code
    8. Edit the index view
    9. Edit the Contact Controller
    10. Editing a Contact
    11. Create the Edit Form
    12. Edit the Contact Controller
    13. Deleting a Contact
    14. Edit the Contact Controller
  13. Conclusion

Schedule Dates and Booking

There are currently no scheduled dates.

Please note that this course needs a minimum of 6 delegates to schedule a course. You can choose to be added to the waiting list by clicking the button below and we will contact you when we have enough delegates interested. Should we not get enough delegates, we will refund or credit your paid booking.

Add me to the waiting list

Should you need this course urgently, the following options are available:

  1. Pay for 6 delegates (whether you have them or not) and we will schedule the course as soon as possible.
  2. If you have fewer delegates and cannot pay for 6, we can negotiate a shortened course where some of the time will be spent in blended learning - watching videos and doing tutorials and exercises with some contact time with the trainer. We would want to discuss what your core needs are so that we cover those aspects. You need to have paid for 3 delegates at least.