Skip to main content

Laravel Introduction

TRAINING COURSE

Laravel Introduction

RELATED COURSES

Advanced Python
After Effects Basic-Intermediate
Angular Beginner Course
Angular Bootcamp
ASP.net MVC
Bootstrap
Building a RESTful API with Laravel
Front End Web Developer
Git
HTML and CSS
Introduction to Moodle
Introduction to Programming Using Groovy
Introduction to Programming using Python
Java
Java Bootcamp
Java Enterprise Edition
Javascript
Javascript Online
Laravel Bootcamp
Laravel Intermediate
Microsoft Power BI Boot Camp
Microsoft PowerBI Dashboard User Course
Perl Fundamentals
PHP
Programming with C#
Python for Engineers and Scientists
Python Programming
Ruby
Web Developer
XML
XML Web Services

COURSE TRAINERS

Mark Badham

Ryan van Rensburg

Details

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 six delegates. We remain committed to offering training that is fast, focused and effective.

Delivery Method Duration Price (excl. VAT)
Classroom 2 days ZAR 5,500.00 Get a Quote
Live Virtual Training 2 days ZAR 4,500.00 Get a Quote

Discounts Available

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

Brochure:

Download Brochure


Information may change without notice.

Audience

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

Pre-Requisites

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
  7. Views

    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
    11. Comments
    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

To apply for a booking, click on the relevant "Book Now" button below.
Note: places are only fully secured once payment has been made.

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 six delegates. We remain committed to offering training that is fast, focused and effective.

Start Date End Date Branch Status  
Mon 13 May 2024 Tue 14 May 2024 Fourways Provisional Enquire
Mon 2 Sep 2024 Tue 3 Sep 2024 Fourways Provisional Enquire
Mon 30 Sep 2024 Tue 1 Oct 2024 Fourways Provisional Enquire
Submit Enquiry