Learning Path: Web Development with PHP 7 and Laravel 5
3.3 (2 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
42 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learning Path: Web Development with PHP 7 and Laravel 5 to your Wishlist.

Add to Wishlist

Learning Path: Web Development with PHP 7 and Laravel 5

Apply your knowledge to build amazing web applications with PHP 7 and Laravel
3.3 (2 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
42 students enrolled
Created by Packt Publishing
Last updated 5/2017
Current price: $10 Original price: $200 Discount: 95% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 7.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Explore new and advanced PHP techniques like anonymous and recursive function.
  • Understand the Object-oriented SOLID principles with PHP 7.
  • Learn and get accustomed with the advanced Object-oriented programming techniques such as Inheritance, Traits, Namespaces, and Autoloading.
  • Understand the PHP design patterns such as Singleton, Factory, Repository, and the MVC design pattern.
  • Work with Laravel directory structure and various artisan commands.
  • Learn about Laravel routes and the Laravel MVC structure.
  • Understand the basics of validations in controllers.
  • Build a web application using CRUD operations.
View Curriculum
  • Basic knowledge of PHP
  • Basic knowledge of Laravel

Are you a PHP developer who wants to learn the best PHP framework, Laravel? Do you want to migrate to PHP 7 for developing robust feature-rich web applications? If yes, this Learning Path is for you.

Laravel is a web application framework with expressive and elegant syntax. Laravel attempts to take the pain out of development by easing tasks that are most commonly used in web projects. PHP 7 is based on the PHPNG, so the performance gains realized from PHP 7 are huge.

Although Laravel 5 works well with the previous versions of PHP, the combination of PHP 7 and Laravel 5 can be used to create faster websites.

Packt’s Video Learning Paths are a series of individual video products put together in a logical and stepwise manner such that video builds on the skills learned in the video before it.

This Learning Path starts with an introduction to PHP 7 and then moves on to exploring its new and advanced features. You will also get acquainted with the basic and advanced object-oriented programming concepts and techniques. Next, you will learn how to install Laravel on Windows, Mac, and Linux systems. You will then be introduced to the directory structure of a Laravel application, as well as the third-party dependencies, packages, and installation with Composer. Moving ahead, you will learn about the Laravel MVC structure: routes, controllers, models, views, and templates. Finally, you will build a simple web application using the CRUD operations and basic validations.

By the end of this Learning Path, you will be able to build your own applications using PHP 7 and Laravel.

About the Authors:

For this course, we have combined the best works of these esteemed authors:

Budi Irawan is a software engineer, lecturer, and open source contributor. He has experience in PHP for more than 7 years in building small and enterprise web applications. Besides PHP, he also plays with JavaScript and Ruby. He loves to teach, contribute, and meet new people. In his leisure time, he usually plays sports and at times travelling too.

Hiren Dave is a software engineer, blogger, and consultant with over 9 years of professional experience. He writes code in number of languages. He has a passion for developing web apps, mobile apps, writing books, and blog articles about programming. He has a solid experience of startups, as he manages products for few startups. He is also passionate about researching and learning new technologies and trends. He has also authored a book Instant Sencha Touch, published by Packt.

Who is the target audience?
  • This Learning Path is for PHP developers who wish to learn the Laravel framework to develop robust and feature-rich web applications.
  • Also, people who are working on older PHP versions and want to migrate to PHP 7 will find this Learning Path useful.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
69 Lectures
Getting Started with PHP 7
48 Lectures 03:54:24
This video provides an overview of the entire course.
Preview 02:38

In order to practice examples in video, there are things that we need to setup and install. This video will show you what things should be setup and installed.
Installing Web Server Apache, MySQL, and PHP7

PHP 7 is the new kid on the block. It is a long awaited version and it brings some cool new features that can encourage us to move on from previous PHP versions.
Preview 04:00

PHP 5 already supports type declaration for array, class and interface. PHP 7 comes with more support. It supports scalar type declaration for int, boolean, float and string.
Scalar Type Declaration

PHP always has dynamic return type in functions. PHP 7 introduces a new feature, return type declaration, that will allow us to define the return type in a function.

Return Type Declaration

When checking a variable is set or null, it always needs more codes to write. PHP 7 has a new operator named The Null Coalesce Operator to make the null checking codes cleaner.

The Null Coalesce Operator

Sorting is mostly used in enterprise PHP applications. A new operator in PHP 7 tries to improve how we play with sorting. It is the Spaceship Operator.
The Spaceship Operator

Session option configuration in the previous PHP version is not flexible. We have to change the php.ini file. PHP 7 tries to solve this problem by introducing session start options.
Session Start Options

A class name is one of the requirements for creating a class in the previous PHP version. PHP 7 has a new feature to create anonymous classes.
Anonymous Classes

The previous PHP version had a security problem with object unserialization. PHP 7 tries to solve this problem using filtered unserialization to remove unwanted objects.
Filtered Unserialization

Previously in PHP, if you have a class that use a lot of another class you will get quite lot of use statements. In PHP 7, this can be simplified using grouping use statements.

Grouping Use Statements

Regular function is not suitable in some cases. PHP has anonymous function as a solution to improve the readability of the code.
Preview 04:03

Recursive function is common in computer programming. When we develop PHP application, somehow we will find a problem that can be solved using recursive function.
Recursive Function

Targeting the world-wide users means that we have to support all languages in our web application. We need to know how to use internationalization (i18n).
Internationalization (i18n)

Regular Expression is powerful technique to search and manipulate text. PHP has some built-in functions that incorporate regular expression and it is important to learn the regular expression grammar and syntax.
Regular Expression

Working with a very long string using concatenation in PHP could be cumbersome. PHP has heredoc syntax to solve this problem.

Dealing with date and time is something that we can't avoid when building PHP application. It is important to know the essential techniques to construct and manipulate date and time.

Date and Time

Managing and maintaining dependencies can be troublesome but PHP already comes with an application-level package manager called Composer that makes the process smooth and elegant.
Dependency Management

PHP has so many available standards. Each application and each framework defines their own standard. PSR is an initiative to create uniform standard for PHP world.
PSR Standard

Database is a must-have to build enterprise PHP applications. It can help to store, manage and process the data.
Preview 05:30

PHP has particular functions to connect and manage database in some RDBMS such as MySQL and PostgreSQL. It is not the best practice though. Using PDO is more recommended.


Doctrine is a library to use the next level technique to communicate with database. It can act as database access layer and also Object relational mapper. This video is an introduction to Doctrine.

NoSQL is gaining popularity in the last few years to solve various business problems. It is very important to learn the differences between NoSQL and SQL so that we will have a sense to use them correctly.
SQL Versus NoSQL

Redis is one of NoSQL database. It can be used for many scenarios to help build enterprise application. This video is an introduction to Redis.

PHP is originally created to resemble procedural language C. But procedural language has some caveats especially when we want to build large application. Object-oriented approach tries to solve this limitation.
Preview 04:36

We continuously bump into classes when we take object-oriented programming approach. What is the relationship between object and class?
Object Versus Class

Class is the central aspect in object-oriented programming. In this video, we are going to learn how to create class, how to create object from the class, how to define constructor and destructor.

Class Construct

Variables in class has important role to define class state. There are three type of variable visibility in OOP, public, private, and protected.
Class Variables

Class has behavior. It is represented by methods. Method also has visibility. We are going to learn more about method visibility.

Class Methods

Sometimes we want to define value that can't be changed, we can use constant for this case. We will have a brief look on how to create and access a constant.
Class Constant

What is the characteristic of good and bad code? Every good developer always strive to write good code. SOLID principles can be a guideline to make it happen.
Preview 03:09

SRP is the entry point of SOLID principles. It is the easiest principle to understand and adhere to. We're going to find out what SRP is and how to implement SRP.
Single Responsibility Principle

Open Closed principle is the second principle of SOLID. We will find out more about it and how to apply it.
Open Closed Principle

The third principle of SOLID is Liskov Substitution Principle. This principle is probably hard to understand at first but we can go through the problem example and try to fix the problem to adhere LSP. It will improve our understanding about LSP.
Liskov Substitution Principle

Interface Segregation Principle is the fourth principle of SOLID. This video will give you insights about this principle.

Interface Segregation Principle

Dependency Inversion Principle is the last principle of SOLID. It describes the proper way to define dependency between classes. In this video, we are going to learn what it is and how to use it in our application.

Dependency Inversion Principle

Inheritance is one of important fundamental concept in object-oriented programming. It can help reduce code duplication and brings good software architecture.
Preview 06:40

An abstract class is a class that is meant to be a parent or base class only. We cannot create an object from an abstract class. Abstract class can have abstract method. It is useful for inheritance.

Abstract Class

An interface is a contract. It tells us exactly which methods should be present in each class that adheres to that contract. This video will show you how to use interface in PHP.

Using static properties and methods can help you write less code. But static has unique behavior compared with dynamic properties and methods. You will learn about this more in this video.
Static Variables and Methods

PHP has special methods called magic methods. These methods are executed automatically when some events are raised. Let's learn some of them in this video.
Magic Methods

Trait is introduced in PHP 5.4. It is basically a collection of method that can be plugged into the class. Trait can help to reduce code duplication between classes.

In PHP, class must be unique. If we have same class name then we would be in trouble. Luckily, namespaces release us from this situation.

Autoloading can improve our way in including files and class. It is one of a great technique in building big PHP application. You will learn about autoloading in this video.

The singleton pattern is used to restrict the instantiation of a class to a single object, which can be useful when only one object is required across the system. This video will show you how to implement singleton pattern in PHP.
Preview 05:24

Factory Method Design Pattern allows interfaces for creating objects and also allows subclasses to determine which class to instantiate. In this video, you will learn more how useful this pattern to solve some problems.

Factory Method Design Pattern

Repository pattern is a kind of container where data access logic is stored. It hides the details of data access logic from business logic.
Repository Design Pattern

Model View Controller is a design pattern that separates presentation logic and application logic. It consists of three components: Model, View, and controller.
Model View Controller Design Pattern
Beginning Laravel
21 Lectures 03:36:25
This video provides an overview of the entire course.
Preview 04:30

The aim of this video is to understand the Laravel framework, and in a quick starter, we will see how easy it is to create the Laravel application and run it. We will also understand system requirements for Laravel and set it up on mac OS, Windows, and Linux.

What Is Laravel and a Quick Starter to Laravel 5.4

The aim of this video is to understand what is Composer, how it works, and how it can be used to create and manage the Laravel application and it is dependencies.
Understanding the Composer

Laravel has some strict system requirements for development. So, in this video, we will go through those requirements and see how to set up it for the development of Laravel
Setting Up System Requirements for Laravel

In this video, we will see how to install Composer and the Laravel installer if you are using mac OS for the development.
Installation of Laravel in OSX

In this video, we will see how to create the Laravel application with Composer and configure web server and Laravel applications to start the development of Laravel. We will also see how you can set up a virtual host to run the Laravel application.
Preview 16:14

In this video, we will go through the Laravel application directory structure, understand the use of each directory, see its content and files, and get more information on it so that during development you will know where to put files in the directory
Exploring the Laravel Directory Structure

In this video, we will understand what the dependencies are and how you can manage packages and dependencies of your Laravel application with the composer.json file and how to update and install the package with Composer.
Working with Dependencies and Packages and Installing with Composer

In this video, you will first understand what artisan is and see various artisan commands available for the Laravel application and how to use artisan commands on the terminal.

Exploring Laravel Artisan Commands

In this video, you will understand the Laravel routes and how it works. We will check how you can define routes in various files. We will also check all available router methods and how to work with them. You will also learn about CSRF protections and middlewares. Finally, we will see how you can pass params in routes.
Preview 20:13

The aim of this video is to understand the Laravel MVC pattern and how it is implemented in Laravel. We will see what Laravel public directory is and how Laravel application works from start to end.

Introduction to the Laravel MVC Structure

Working with Laravel Controllers
Working with Laravel Controllers

In this video, you will understand the Laravel model, how you can create the Laravel model with the artisan command, how it can be associated with the database table, and what the Eloquent ORM is and its power.

Working with Laravel Models

In this video, you will get more information on the Laravel blade templating engine, how we can create views with it, how we can have nested views and pass data to views from controllers, and can have PHP code and loops inside view to display data.
Working with Laravel Views and Blade Templates

The aim of this video is to understand how to add database connection to your Laravel application, learn about migrations and how it can be used to create and update database schema. We will also see about the Laravel schema builder and the various options available to alter the database schema.
Working with Database and Understanding Database Migrations

The aim of this video is to add CRUD operations to the Laravel application. See how to work with the resource controller to handle CRUD operations. We will also see some model functions to get data from tables
Preview 26:17

The goal of this video is to understand about HTTP request and HTTP response of the Laravel framework. We will understand the structure of both the classes and how to use it with the Laravel application.

Understanding Requests and Response

The aim of the video is to understand the basics of validations and how to add validations on the Laravel controller to validate data. Also, we will see how to handle error messages generated by Laravel validators.
Basic Validations in Controllers

The goal of this video is to learn how to add pagination to your Laravel application and read operations in case you are dealing with large data sets.
Adding Pagination

The aim of the video is to understand Laravel sessions and how to configure Laravel sessions. Also, see the configuration options and how to add, read, and delete data from sessions.
Understanding Sessions

In this video, we will see how you can add authentication to your Laravel application by adding the login, register, and forgot password forms with the artisan command.

Authentication in Laravel
About the Instructor
Packt Publishing
3.9 Average rating
7,241 Reviews
51,703 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.