Skip to main content
CF

Learn Symfony 3

5h 40m 26s
English
Paid

Ready to get serious with Symfony? You've come to the right place! Start your journey by coding along with a real application, using the right tools, and learning the best practices from the lead author of the Symfony documentation. These fundamentals will prepare you for everything you need to accomplish with Symfony in the future.

Course Overview

This comprehensive screencast will guide you through building an application from the ground-up. Along the way, we'll delve into the essential components of a Symfony application:

  • Installation and Setup: Learn how to properly install and configure your Symfony environment.
  • Route Essentials: Understand the basics of Symfony routing and how to manage URL patterns.
  • Mastering Controllers & Response: Explore how to handle user requests and send appropriate responses.
  • Services and the Container: Discover the power of dependency injection and service management.
  • Twig: Get to know Symfony's templating engine to create dynamic views.
  • JSON Responses: Learn to craft API endpoints that handle JSON data seamlessly.
  • Configuration and Environments: Configure different environments and settings efficiently for development and production.

... along with other valuable insights and best practices mixed in.

About the Author: KnpUniversity

KnpUniversity thumbnail

KnpUniversity (now known as SymfonyCasts) is a US-based PHP / Symfony training platform run by Ryan Weaver, a Symfony core team member. The platform is the closest thing to an official video-tutorial source for the Symfony framework — Ryan's tutorials are the path most working Symfony developers learned the framework through.

The CourseFlix listing carries two KnpUniversity courses: Learn Symfony 3 and PHPUnit — Testing with a Bite. Material is paid and aimed at PHP developers picking up Symfony or PHPUnit testing.

Watch Online 90 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 90 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Start Project
All Course Lessons (90)
#Lesson TitleDurationAccess
1
Start Project Demo
03:36
2
Setup PhpStorm + git
02:04
3
First Page
04:15
4
Routing Wildcards
03:46
5
Intro to Services
04:19
6
Listing and Using Services
02:45
7
Twig_ For a Good time with Templates
03:24
8
Twig Layouts (Template Inheritance)
03:17
9
Loading CSS & JS Assets
04:47
10
JSON Responses + Route Generation
04:04
11
Generating URLs
02:36
12
ReactJS talks to your API
05:13
13
Bundles
04:55
14
Using a Service
03:04
15
Config_yml - Control Center for Services.
04:24
16
Adding a Cache Service
03:27
17
Configuring DoctrineCacheBundle
03:26
18
Environments
02:58
19
.config_dev_yml & config_prod_yml
03:27
20
Caching in the prod Environment Only
03:15
21
Parameters - The Variables of Configuration
03:29
22
parameters_yml & kernel.root_dir
04:48
23
Mastering Route config Loading
04:14
24
entity-class
05:28
25
-db-config
02:04
26
-insert-object
05:07
27
adding-more-columns
03:13
28
migrations
04:11
29
query-list
02:13
30
twig-dot-syntax
03:07
31
show-404
04:24
32
dummy-data
03:44
33
fixtures-alice
03:11
34
alice-faker-function
03:33
35
custom-queries
06:16
36
create-genus-note
05:15
37
many-to-one-relation
02:27
38
save-relation
03:17
39
join-column-relation-fixtures
03:14
40
param-conversion
03:13
41
one-to-many
05:07
42
one-to-many-order-by
02:40
43
array-collection-tricks
02:42
44
relation-query-joins
03:23
45
query-with-join
03:22
46
services-save-the-world
03:46
47
create-service-class
03:11
48
dreaded-dependency-injection
03:47
49
type-hinting-arguments
03:22
50
register-service
05:36
51
inject-cache-service
04:22
52
create-twig-extension
03:51
53
tagging-services
03:35
54
autowiring-madness
02:13
55
the-form-type-class
03:13
56
render-form-bootstrap
04:14
57
process-that-form
02:45
58
data-class-type-guessing
04:43
59
save-redirect-set-flash
04:05
60
field-types-and-options
05:08
61
custom-entity-type-query
03:29
62
date-picker-field
04:54
63
date-format-sanity-validation
04:27
64
form-rendering-and-variables
04:33
65
disable-html5-validation
02:03
66
beautiful-form-validation
03:03
67
changing-validation-messages
03:07
68
easy-edit-form
04:01
69
form-template-include
03:42
70
user-class
04:21
71
user-interface-methods
04:19
72
rendering-login-form
06:32
73
all-about-firewalls
02:42
74
login-form-authenticator
04:43
75
authentiator-get-user-check-credentials
06:31
76
user-provider
02:18
77
logout-and-last-username
04:20
78
user-plain-password
03:32
79
encoding-user-password
04:39
80
user-encoder-configuration
03:07
81
authorization-roles
04:16
82
deny-access-inside-controller
02:38
83
dynamic-roles
04:10
84
the-user-object
03:33
85
role-hierachy
03:13
86
impersonation-switch-user
02:45
87
user-registration-form
07:04
88
validation-unique-entity
02:39
89
conditional-validation-groups
02:00
90
automatic-login-handling
03:10
Unlock unlimited learning

Get instant access to all 89 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

Frequently asked questions

What are the prerequisites for enrolling in this Symfony course?
Before enrolling in this Symfony course, you should have a basic understanding of PHP, as Symfony is a PHP framework. Familiarity with object-oriented programming concepts will be beneficial, as the course covers topics like dependency injection and service management. Having experience with a code editor such as PhpStorm and version control systems like Git will also be advantageous, as the course includes lessons on setting up PhpStorm and Git for Symfony development.
What type of application will I build during the course?
During the course, you will build a real-world application from the ground up. The course begins with starting a project and setting up the development environment. You will create dynamic web pages using Twig templates, manage database interactions using Doctrine, and explore API development with JSON responses. By the end of the course, you will have a fully functional application that demonstrates best practices in Symfony development.
Who is the target audience for this Symfony course?
The target audience for this course is developers who are ready to deepen their understanding of Symfony and want to learn how to build applications using this framework. It is suitable for those who have a basic knowledge of PHP and are looking to advance their skills with a structured, project-based approach. The course is designed to provide insights and best practices from the lead author of the Symfony documentation, making it ideal for developers seeking to become proficient in Symfony.
How does this course compare in depth and scope to other Symfony courses?
This course offers a comprehensive exploration of Symfony, focusing on building a real application while covering essential components like routing, controllers, services, and templating with Twig. With 90 lessons, it provides a detailed walkthrough of Symfony's core features and configuration for different environments. Unlike shorter introductory courses, this course includes advanced topics such as dependency injection, service management, and database interactions, making it more suitable for developers seeking an extensive understanding of Symfony.
Which specific tools or platforms will be used in the course?
The course utilizes several tools and platforms essential for Symfony development. You will learn to set up PhpStorm as your integrated development environment and use Git for version control. The course covers Symfony's built-in tools for routing, templating with Twig, and managing services with dependency injection. Additionally, you will work with Doctrine for database management and explore JSON responses for API development, providing a comprehensive toolkit for building Symfony applications.
What topics are not covered in this Symfony course?
While the course covers a wide range of Symfony features, it does not delve into topics like Symfony security components, advanced caching strategies beyond the basics, or Symfony's specific testing tools and practices. Additionally, the course does not cover Symfony's integration with front-end frameworks other than a brief interaction with ReactJS for API communication. These areas would require further exploration beyond the scope of this course.
How much time should I expect to commit to completing the course?
The course consists of 90 lessons, each designed to build your understanding of Symfony incrementally. While the total runtime is not specified, you should expect to dedicate several weeks to complete the course, depending on your pace and prior experience. Allocating regular, focused study sessions will help you effectively absorb the material and complete the hands-on exercises. The time commitment will vary based on your familiarity with the topics and your learning style.