Symfony API Platform with React Full Stack Masterclass
4.5 (731 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
4,544 students enrolled

Symfony API Platform with React Full Stack Masterclass

Learn how to make a robust REST API in Symfony using API Platform and create a React SPA application
Highest Rated
4.5 (731 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
4,544 students enrolled
Created by Piotr Jura
Last updated 5/2019
English [Auto], French [Auto], 3 more
  • Italian [Auto]
  • Polish [Auto]
  • Romanian [Auto]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 19.5 hours on-demand video
  • 3 articles
  • 27 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • You will know how to create a robust APIs in Symfony 4 using API Platform
  • You will understand the basics of Symfony Framework
  • You will know how to create a pretty complicated ReactJS application that works with API Platform (or any API!)
Course content
Expand all 223 lectures 19:21:03
+ Course Introduction
3 lectures 24:48

Take a look at the course overview and what we going to create and learn

Preview 06:45

How this course is structured, how to learn to get most of it, how to ask questions and where to get help

Preview 09:28

The tools/software we need including code editor, API testing tool and database management tool

Preview 08:35
+ Getting Started
3 lectures 07:47
Install PHP & Composer on MacOS commands
Installing PHP and Composer on Mac
+ Modern PHP 7 Introduction (OPTIONAL)
16 lectures 02:06:07
Class Fields and Methods
Method & Field Visibility
Abstract Classes
Typed Arguments & Function Return Types
Anonymous Functions (Closures)
Reflection API (Reverse-Engineer Classes, Methods, Functions)
Dependency Injection (In Practice)
Simple Service Container (Hands-On Coding!)
Service Autowiring Implementation Part 1
Service Autowiring Implementation Part 2
Annotations and Kernel Part 1
Annotations and Kernel Part 2
+ Symfony Introduction - Controllers & Routing
6 lectures 18:40
Creating new Symfony project
Routing - default parameter values
Routing - generating urls using route names
AbstractController, Request, Response
+ Symfony Introduction - Databases, Doctrine, Fixtures
10 lectures 37:11
Installing ORM, maker, configuring database
Generating first Entity
Entity explained
Migration - modifying database structure
Persisting entities and serializing data
Fetching objects using repositories
ParamConverter - type hinting actions for automatic fetching of entities
Deleting entities
Doctrine Fixtures - seeding fake data
Admin panel introduction - EasyAdmin
+ API Platform - Introduction
7 lectures 40:02
Install API Platform and create the first resource
Generate User and Comment entity
ManyToOne relation and migration
Fixtures with references (for relations)
Password encoding in fixtures
Generate fake data in fixtures using Faker
BlogPost with Comment relation and fixtures
+ API Platform - Operations (GET/POST/PUT/DELETE)
9 lectures 36:41
Built-in API Platform operations
Disabling operations
Introduction to serialization/deserialization
Serialization groups (controlling which properties are serialized)
EventSubscriber (hashing password)
Validator and validation constraints
Validation using regular expressions
Virtual property (not persisted to database)
Validating uniqueness of fields (username, email)
+ API Platform - User Authentication and JWT tokens
6 lectures 33:43
JWT Tokens introduction
Preparing JWT token library and keys
Configuring UserProvider
Firewall configuration
JSON login configuration and Guard Authentication explained
Authentication final configuration and first login using JWT token
+ API Platform - Authorization, Data Validation, Serialization
7 lectures 42:32
Using is_granted() to control access to operations
BlogPost validation on POST
Setting author of BlogPost automatically (EventSubscriber)
Making sure only owner of BlogPost can modify it (PUT)
Controlling which properties can be changed (no username change)
Hasing password on User changes (PUT) - with Events
Comment resource operations (POST/PUT)
+ API Platform - Subresources, relations, serialization depth
6 lectures 37:41
More randomness in fixtures
Setting author automatically (EventSubscriber) - using generic Interface
Setting published date automatically (EventSubscriber)
API subresources
Controlling how deep relations are serialized
Embedding Author resource inside BlogPost
  • Any code editor
  • Some previous PHP exposure would be very useful (this course does not teach PHP from the very basics!)
  • JavaScript basics for the React part

Have you ever wanted to advance your PHP skills to the next level? Maybe you have some prior PHP experience but you never had a change to work with a framework? Or you are new to PHP at all?

It does not matter! You can take this course to give your PHP projects a fresh start! In modern world, sooner or later, as a web developer you will have to create a API and a frontend application in React.JS or any other JS framework out there. It's just a must have these days for any professional web developer!

This is where I can help you. Take this course to learn how to create robust APIs in PHP, using Symfony Framework 4 and API Platform. You will not believe how easy and instant it could be! I'll take you step by step during the whole process, from creating your own robust API to making a modern React.JS application using Redux, Redux-Form and all the other tools that you just need to know to get a job these days!

Check out the course outline, free preview videos, and read some of the reviews that my other courses got:

"Real world course, made by a developer for developers, and very well explained. Learner knows ALL what he does, and why! Congratz!!!"

"I've taken a few different Udemy courses now with various instructors. I've found that I like Piotr's teaching style the best out of all the instructors I've taken. He has the right balance of coding and in depth explanation, which is exactly what I was hoping to get when I purchased this course. Piotr provides some excellent insight into the inner workings of Symfony and does an awesome job of showing how you would begin to build a larger application utilizing the proper Symfony components. Symfony is a huge framework and I don't think I would've been able to dig into the documentation and take it apart as quickly on my own. I highly recommend this course to anyone who wants to get their hands dirty and jump right into the meat of how Symfony works."

"Really good course, i learned a lot. Keep up the good job!!"

"Great course! Really liked how the instructor included production deployment in the course. It was helpful!"

"Very detailed explanation. I'm loving it!"

"Amazing course! In-depth explanations, perfect talking pace, talks slow and is direct to the point. I had no previously knowledge in Symfony before starting, and this course gave me the confidence to start developing real world apps using Symfony. You will learn a lot of the Symfony framework, and some other cool techniques like Ajax Calls, Testing, Server configuration and Continous Deployment of your code."

You will be creating a Blog application, starting with the API in Symfony API Platform, and then a complete React+Redux frontend app. We will also configure an administration panel for managing the platform.

Both Windows and MacOS are supported (I'll show you how to install and configure PHP and Node.js on both)

What will you learn about Symfony and API Platform?

  • You will learn how to create Symfony controllers and work with routing

  • You will learn how to represent your database tables as objects in Doctrine

  • You will see how you can quickly convert your Doctrine model to an API Resource

  • You will learn how to paginate, filter and sort your collections

  • You will see how to send an e-mail

  • You will learn everything about Authentication (user sign-up, sign-in, including account confirmation through e-mail)

  • You will understand everything about Authorization (User roles, privileges, restricting access)

  • You will know how to handle file uploads through REST API

  • You will learn how to log errors

  • You will learn both unit testing (PHPUnit) and functional testing (Behat)

  • You will know how to customize and extend the built-in operations that API Platform provide

  • Data validation and serialization/deserialization

What will you learn about React.js?

  • How to configure routes for your app using React Router

  • How to handle state with Redux

  • How to create great forms using Redux Forms

  • Communicating with the API using Thunk Middleware

After finishing this course you will be able to confidently create your own complicated APIs in Symfony using API Platform and create a SPA application using React.js!

See you inside the course!

Who this course is for:
  • Anyone with at least a little knowledge about PHP and JavaScript who wants to take their skills to the next level
  • Anyone who would like to see how modern the applications are made in 2018