PHP with Laravel for beginners - Become a Master in Laravel

Learn to master Laravel to make advanced applications like the real CMS app we build on this course

  • Edwin Diaz
  • 4.45
  • (11855 reviews)
  • 43 hrs
  • 409 lectures
  • Udemy
PHP with Laravel for beginners - Become a Master in Laravel

What you will learn?

  • Learn to build applications using laravel
  • To install Laravel using Windows and MAC
  • You will learn how use Laravel
  • You will learn how to use routes
  • You will learn how to create and use Controllers and what they are
  • You will learn how to create Views an what they are
  • You will learn to use the templating engine Blade
  • How to connect and use Databases
  • How to create migrations and what they are
  • You will learn about Laravel ORM (Object Relational Mapper) and Raw SQL queries. Database stuff :)
  • How to use Laravel Tinker - Command line program to play around with Laravel without persisting data
  • Database: Eloquent One to One - CRUD
  • Database: Eloquent One to Many - CRUD
  • Database: Eloquent Many to Many - CRUD
  • Database: Eloquent Polymorphic - CRUD
  • Form Validation
  • You will learn to download third party libraries to add to Laravel
  • You will learn to upload files
  • You will learn about Middleware and security
  • You will learn about sesssions
  • You will learn about sending emails
  • You will learn Github or version control
  • You will learn how to install a WYSIWYG editor
  • To install a commenting system / Disqus
  • You will learn to create a BULK functionality that you can use the CRUD on it
  • You will learn to deploy Laravel on share hosting accounts, like godaddy
  • And lots of more cool things

Your trainer

Edwin Diaz

Edwin Diaz is a software and web technologies engineer, a life coach trainer who is also a serial entrepreneur with multiple online businesses, ranging from online jewelry shops, affiliate websites, application development and consultations services, personal online schools, etc.

With over one million students, and clients growing by the thousands a day, Mr. Diaz lets the numbers speak for themselves.

Founding multiple online companies have allowed Mr. Diaz to have the time to teach others. He currently teaches web technologies on different online platforms. He also teaches life coaching sessions to help others achieve a high level of success in many areas of life.

409 lessons

Easy to follow lectures and videos covering subject details.

43 hours

This course includes hours of video material. Watch on-demand, anytime, anywhere.

Certificate of Completion

You will earn a Certificate of Completion at the end of this course.

Course curriculum

  • Meet your professor Edwin06:06
  • Introduction to laravel and MVC03:38
  • Reference files02:10
  • New - Tools19:02
  • New - Using MySQL09:09
  • New- Installing Node.js03:18
  • New - Installing Laravel13:09
  • Installing a Specific Version of Laravel00:37
  • NEW - PHP Upgrade05:57
  • New - Installing and Using MySQL on MAC OS X10:12
  • New - Installing Node.js07:30
  • New - Tools and Installing Laravel18:37
  • New - Using Valet in your Laravel projects - OPTIONAL08:22
  • Installing a Specific Version of Laravel00:37
  • New UPDATE - Serving our App05:20
  • New UPDATE - Please Watch01:48
  • New - Laravel Structure Overview11:10
  • Route Introduction00:59
  • Routes part 108:47
  • Routes part 204:37
  • Naming Routes06:32
  • Intro to chapter with Edwin01:33
  • Creating Controllers08:20
  • Laravel 8 - IMPORTANT UPDATE00:23
  • Routing Controllers04:14
  • Passing data02:53
  • Resources and Controllers07:54
  • Intro to chapter with Edwin00:31
  • Creating views and custom method08:53
  • Passing data to views08:59
  • Intro to chapter with Edwin01:17
  • Master layout setup07:49
  • Some more blade features05:59
  • Intro to chapter with Edwin01:34
  • Environment configurations07:23
  • New - Windows OS - Migrations10:52
  • New - MAC OS - Migrations08:53
  • Creating migrations and dropping them08:47
  • Adding columns to existing tables using migrations08:23
  • Some more migration commands03:37
  • Section Intro with Edwin Diaz01:09
  • Inserting data09:21
  • Reading Data05:07
  • Updating Data02:48
  • Deleting Data02:48
  • Section Intro with Edwin Diaz01:02
  • Reading Data14:26
  • Reading / Finding with Constraints05:36
  • More ways to retrieve data05:05
  • Inserting / Saving Data05:31
  • Creating data and configuring mass assignment05:32
  • Updating with Eloquent03:38
  • Deleting Data04:30
  • Soft Deleting / Trashing08:36
  • Retrieving deleted / trashed records05:46
  • Restoring deleted / trashed records03:52
  • Deleting a record permanently04:19
  • Section intro with Edwin Diaz01:42
  • One to One relationship12:38
  • The inverse relation03:28
  • One to many relationship06:01
  • Some random tips01:53
  • Many to many relations part 106:13
  • Many to many relations part 208:49
  • Querying intermediate table12:54
  • Has many through relation part 106:48
  • Has many through relation part 209:44
  • Polymorphic relation part 104:41
  • Polymorphic relation part 212:03
  • Polymorphic relation the inverse04:36
  • Polymorphic relation many to many part 107:41
  • Polymorphic relation many to many part 204:52
  • Polymorphic relation many to many - retrieving11:06
  • Polymorphic relation many to many - retrieving owner07:59
  • Section Intro with Edwin Diaz01:11
  • Creating data with tinker06:16
  • Finding record and using constraints in tinker02:14
  • Updating and deleting with tinker05:30
  • Playing around with relations in tinker03:07
  • Section intro with Edwin Diaz01:41
  • New - Create a new laravel project with migrations00:24
  • Database configuration and migration04:26
  • Setting up Relations03:56
  • Creating data for user09:01
  • Updating Data06:01
  • Reading and deleting data04:06
  • New - Create a new Laravel Project00:24
  • Database migrations04:24
  • Relationships and mass assignment02:29
  • Inserting Data09:11
  • Reading Data06:29
  • Updating Data04:09
  • Deleting Data03:24
  • New - Create a new Laravel Installation00:24
  • Database migrations06:25
  • Relationships and mass assignment02:21
  • Inserting Data05:50
  • Reading Data04:43
  • Updating Data05:16
  • Deleting Data04:09
  • Attaching, detaching and syncing10:25
  • New - Create a Laravel installation with the Database setup00:59
  • Relationships and mass assignment03:15
  • Inserting Data04:51
  • Reading Data02:08
  • Updating Data02:47
  • Deleting Data02:11
  • Extra techniques06:51
  • Creating a New Project with some Migrations - Classwork00:57
  • Relationships and mass assignment02:22
  • Inserting Data05:07
  • Reading and updating data07:28
  • Deleting Data05:54
  • Section Intro with Edwin Diaz00:28
  • Setting up migration and relations02:05
  • Setting up views and routes05:10
  • 4-Setting the markup for create04:10
  • Setting up the controller and view04:35
  • Persisting data to database03:17
  • Reading data07:52
  • Showing individual posts and updating05:52
  • Preparing the edit view and setting up the token06:49
  • 10- Editing records and redirecting04:23
  • 11- Deleting05:37
  • Section intro with Edwin Diaz00:17
  • Installing package and testing07:12
  • Modifying our create form with the form package08:36
  • Modifying our edit and delete forms with the form package08:49
  • Basic validation04:27
  • Displaying errors06:59
  • Advance validation05:25
  • Creating snippets with PhpStorm04:12
  • Section Intro with Edwin Diaz00:40
  • Dates07:05
  • Accessors05:30
  • Mutators03:35
  • Query Scope05:35
  • Section intro with Edwin Diaz00:18
  • UPDATE - IMPORTANT - ABOUT UPLOADING00:17
  • Modifying our create view for file input03:49
  • Retrieving file data04:52
  • Persisting file data into the database09:28
  • Displaying images and using accessors to make it easy06:00
  • Section intro with Edwin Diaz00:24
  • New laravel installation05:44
  • Database connection and migrations02:04
  • Creating the login system under 1 minute03:33
  • Login creation overview08:55
  • Retrieving authenticated user data07:09
  • Section intro02:02
  • Create a new laravel installation (challenge)03:57
  • Registering a new middleware and using it06:55
  • A more practical way to use middlewares 1 - roles, migration and relations setup04:12
  • A more practical way to use middlewares 2 - Custom method10:10
  • A more practical way to use middlewares 3 - Custom method06:00
  • A more practical way to use middlewares 4 - Custom method03:35
  • Section intro with Edwin Diaz00:32
  • Setting and reading sessions05:49
  • Global session function deleting03:36
  • Flashing data03:46
  • Section intro with Edwin Diaz01:08
  • New laravel installation02:08
  • Overview on mailgun03:54
  • Email verification01:20
  • Configuration07:39
  • Sending email part 1 - route04:51
  • Sending email part 2 - Finished05:18
  • Custom domain03:05
  • Git intro02:50
  • Git Installation01:13
  • Git commands02:04
  • Git crash lecture08:17
  • Git workflow06:02
  • Branches20:04
  • Creating repositories on Github03:48
  • Git settings02:23
  • Cloning and pushing to Github04:18
  • Pull request and pulling changes10:47
  • Contributing to the project06:43
  • New - Adding Bootstrap plus Login & Registration14:14
  • How to add templates to Laravel projects15:20
  • Creating a simple seeder06:56
  • Creating a more advanced seeder with factories07:22
  • Let's create factories for all our database tables11:11
  • Creating components part 109:03
  • Creating components part 207:07
  • Creating components part 304:53
  • Setting p views part 109:58
  • Setting p views part 212:03
  • Admin View creation setup11:49
  • Menu links and migration07:27
  • Blog Post view07:24
  • Posts migration08:34
  • Creating dummy data with relationships - Users with Posts17:36
  • Displaying posts on home page09:19
  • Displaying individual posts07:26
  • Creating a post from admin - Part 121:18
  • Creating a post from admin - Part 207:23
  • Creating a post from admin - Part 312:04
  • Displaying a post from admin - Part 106:55
  • Displaying a post from admin - Part 210:40
  • Displaying a post from admin - Part 307:43
  • Displaying the owner of the post02:50
  • CODE - IMPORTANT UPDATE FOR IMAGE ACCESSOR00:19
  • Example of Mutators and Accessors with an image path11:25
  • Flash messaging and deleting18:11
  • Updating a post part 107:15
  • Updating a post part 216:53
  • Creating Authorization Policies part 105:23
  • Creating Authorization Policies part 216:18
  • Creating Authorization Policies part 3 and refactoring05:46
  • Laravel pagination09:05
  • Creating migrations part 106:41
  • Creating migrations part 207:57
  • Setting up relationships05:31
  • Using Tinker to insert Roles and Permissions08:03
  • Using permission on Dashboard example05:30
  • Creating a user Profile part 112:21
  • Creating a user Profile part 208:27
  • Adding a Username12:02
  • Updating the profile20:37
  • Displaying all users part 108:05
  • Displaying all users part 214:50
  • Deleting users08:12
  • Creating some roles again05:56
  • Creating and using Middlewares for Route Authorization14:07
  • A little Recap07:11
  • Admin and Model Owner Same Access09:23
  • Routes for large applications11:55
  • Component nesting05:47
  • Displaying roles in User profile08:26
  • Detecting roles for the user06:14
  • Attaching roles part 105:48
  • Attaching roles part 210:58
  • CRUD - Create & Read - part 114:18
  • CRUD - Create & Read - part 206:44
  • CRUD - Create & Read - part 3 - validation09:47
  • CRUD - Deleting09:46
  • CRUD - Updating part 104:54
  • CRUD - Updating part 205:03
  • CRUD - Updating part 309:36
  • Displaying role permissions10:19
  • Attaching and Detaching role permissions12:58
  • Displaying and deleting permissions11:45
  • Updating permissions05:17
  • Protecting routes globally & locally06:46
  • Why this section? Please READ!00:30
  • Laravel Project Reference Files02:35
  • New laravel installation05:06
  • Database configuration01:29
  • Setting up views04:45
  • Users table Migration04:52
  • Relation setup and data entry04:53
  • Testing relation with Tinker02:50
  • Admin controller and routes03:50
  • Testing methods04:11
  • Installing NodeJs and files download - UPDATE - watch entire lecture06:22
  • Gulp and assets10:30
  • Admin master file - download file05:14
  • Version control and modifying master page05:38
  • Displaying users11:36
  • Create page06:20
  • Laravel collective html package04:53
  • Testing form and creating form fields05:20
  • Working on user form status field04:15
  • Populating the user roles select05:01
  • Password field and custom request05:22
  • Displaying errors and including with blade04:36
  • Adding upload file feature to form07:45
  • Persisting data and fixing bug08:09
  • User photos migration - relation - mass-assignment05:31
  • Creating links and more08:23
  • Persisting user with photo part 104:15
  • Persisting user with photo part 205:03
  • Displaying photos using an accessor07:59
  • Edit users part 1 - setting up the form07:12
  • Edit user part 2 - displaying images and status05:36
  • Updating part 1 and displaying errors05:41
  • Updating part 206:41
  • Updating part 3 - Fixing loose ends02:49
  • Security part 1 - middleware registration05:08
  • Security part 2 - middleware - custom method and 404 page06:27
  • Deleting users11:17
  • Some flash messages04:25
  • Deleting images from the directory06:13
  • Adding more security03:20
  • Setting route files06:57
  • Migration04:08
  • Displaying post08:15
  • Relationship setup04:40
  • Creating form part 109:46
  • Creating form part 205:43
  • Creating form part 304:21
  • Creating post 104:14
  • Creating post 204:03
  • Displaying images in post05:42
  • Creating model and migration for categories03:48
  • Displaying and creating posts with categories04:36
  • Let's stop and push to GitHub03:54
  • Pushing to GitHub warning03:02
  • Editing part 1 - setting up the page and form06:09
  • Editing part 2 - Lets edit the post06:25
  • Deleting - Challlenge03:13
  • Deleting - Solution04:14
  • Deleting users with relations05:34
  • Adding images to edit post02:27
  • Setting up categories04:05
  • Creating categories07:28
  • Updating and deleting categories11:04
  • Setting up and displaying media14:19
  • Setting up the create view03:32
  • Adding the upload plugin08:00
  • Uploading images04:32
  • Deleting images05:18
  • Setting up part 114:07
  • Relations and mass assignment04:28
  • Setting up views06:57
  • Creating a post part 106:28
  • Creating a post part 205:59
  • Creating a post part 304:31
  • Creating a comment19:21
  • Displaying posts08:33
  • Approving, un-approving and deleting part 1 - setting it up06:16
  • Approving, un-approving and deleting part 2 - Using it02:59
  • Displayin comments05:29
  • Displaying specific comments04:58
  • Displaying comments in post page11:53
  • Creating the reply form06:10
  • Creating a reply07:08
  • Displaying replies10:59
  • Displaying replies with Javascript09:00
  • Displaying replies in admin part 108:13
  • Displaying replies in admin part 209:02
  • Updating and deleting replies06:23
  • Pretty url configuration part 108:18
  • Pretty url configuration part 2 and finished08:34
  • Laravel Pagination06:13
  • Pulling Gravatars from users08:58
  • Brief introduction to changes04:22
  • Laravel project reference files download - version 5.300:06
  • Upgrading - Extra folders in this version13:38
  • Upgrading routes part 105:14
  • Upgrading routes part 2 - Login07:26
  • Upgrading routes part 3 - Route names10:03
  • Upgrading users04:41
  • Upgrading posts09:25
  • Upgrading categories05:25
  • Checking out media02:08
  • Upgrading middleware03:44
  • Upgrading our Pretty URL feature09:35
  • Part 1- Downloading packages and installing editor05:32
  • Part 2- Making folders and uploading files07:36
  • Displaying images07:23
  • Part 1 - Creating form, method and route09:01
  • Part 2 - Testing our form and deleting05:25
  • Part 3 - Adding Javascript / jQuery06:33
  • Fixing bulk delete bug and new improvements10:58
  • Removing extra delete button01:49
  • Intro03:56
  • SSH - WINDOWS OS04:02
  • SSH - MAC OS08:13
  • Module installation and PHP version01:32
  • Composer install07:06
  • Laravel installer03:30
  • Uploading project04:44
  • Configuring our environment file07:06
  • Our app live on the web05:02
  • Loging in12:57
  • Displaying images01:51
  • Deleting images02:26
  • Setting up production settings00:59
  • Optional Section00:10
  • Intro and part 104:37
  • Laravel upgrade to 5.4 - part two06:50
  • Laravel upgrade to 5.4 - part three07:39
  • Webpack error - fix02:00
  • Optional Section00:10
  • Warning PHP Update for 5.5 - (Edwin from the future)05:27
  • Laravel Homestead Box Update (Edwin from the future)00:21
  • Upgrading the easy way07:34
  • Making admin more modular07:46
  • Creating an admin controller04:43
  • Installing a Chart on admin04:32
  • Replacing Chart static data with dynamic data05:50
  • Some adjustments to admin posts page04:17
  • Installing a Blog Home Page06:27
  • Making front-end more modular05:21
  • Replacing static with dynamic data for home page09:40
  • Some adjustments to single post page12:20
  • Making front-end top navigation better11:00
  • Front-end Comment Flash messaging modification06:21
  • Pagination in the front-end03:05
  • 5.6 - Optional Section00:10
  • 5.6 - Upgrading to Laravel 5.608:44
  • Optional Section00:11
  • Section intro with Edwin Diaz04:54
  • Let's start upgrading to 5.707:46
  • Intalling PHP development environment04:35
  • Let's start upgrading to 5.804:02
  • IDE Install03:15
  • UPDATE -IMPORTANT - ABOUT ROUTES & PERMISSIONS - MAC01:21
  • Optional Section00:10
  • Composer18:37
  • Creating a Laravel project04:21
  • Lets start upgrading our app to 6.010:43
  • Opening a project in the IDE03:06
  • Course - UPDATE - app dev extensions - MAC02:09
  • Virtual hosts22:29
Online Courses

Learning Laravel doesn't have to be hard. Here is our curated list of recommended online courses that will guide you step-by-step in the learning process.

Learn more
Books

Are you an avid book reader? Do you prefer paperback, or maybe Kindle version? Take a look at our curated list of Laravel related books and take yourskills to the next level.

Learn more
YouTube videos

The number of high-quality and free Laravel video tutorials is growing fast. Check this curated list of recommended videos - there is no excuse to stop learning.

Learn more