Skip to main content
CourseFlix

API Platform: Serious RESTful APIs

2h 54m 23s
English
Paid

API Platform is crushing the scene these days, and it's easy to see why! Built on top of Symfony, API Platform enables you to build a rich, JSON-LD-powered, hypermedia API... pretty much instantly! In this tutorial, we'll build a real app and leverage these tools:

Course Overview

This course will guide you through the comprehensive setup and utilization of API Platform. You'll explore its seamless integration with Symfony to create and manage efficient RESTful APIs.

What You'll Learn

  • Setting up API Platform in a Symfony application for robust API development.
  • Swagger, OpenAPI & JSON-LD+Hydra: understanding what they are and why they're essential tools.
  • Creating ApiResources: learn how to define resources with API Platform.
  • Customizing the Operations: tailor operations to meet specific needs.
  • IRIs & Control: manage and control Internationalized Resource Identifiers effectively.
  • Resource Relations: establish and manage relationships between resources.
  • Embedded Resources & Subresources: utilize powerful features for complex APIs.
  • Filters: implement and use filters to optimize data retrieval.
  • Pagination: ensure efficient data delivery with pagination techniques.
  • Validation: enforce data consistency and integrity through validation.
  • The Serializer: control the input/output fields to match application requirements.

Benefits of Using API Platform

API Platform provides a multitude of benefits, including enhanced API efficiency, automated API documentation, and easy integration with modern web technologies. By mastering API Platform, you'll streamline your API development process and deliver high-performance applications.

About the Author: SymfonyCasts

SymfonyCasts thumbnail

SymfonyCasts (formerly KnpUniversity) 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 five SymfonyCasts titles: Symfony 5 Fundamentals — Services, Config & Environments, API Platform — Serious RESTful APIs, Messenger! Queue Work for Later, phpspec — Testing / Designing with a Bite, and the SymfonyCon 2018 Lisbon Conference Videos. Material is paid and aimed at PHP developers building production Symfony applications.

For broader content, see CourseFlix's Symfony and PHP category pages where SymfonyCasts material sits alongside the wider PHP teaching community.

Watch Online 27 lessons

This is a demo lesson (10:00 remaining)

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

View Pricing
0:00
/
#1: API Platform Installation!
All Course Lessons (27)
#Lesson TitleDurationAccess
1
API Platform Installation! Demo
06:43
2
Our First ApiResource
05:37
3
Swagger: Instant, Interactive API Docs
08:33
4
OpenAPI Specification
06:32
5
JSON-LD: Context for your Data
10:31
6
Hydra: Describing API Classes, Operations & More
06:02
7
API Debugging with the Profiler
03:17
8
Operations
05:19
9
The Serializer
09:13
10
Serialization Groups
09:35
11
@SerializedName & Constructor Args
07:16
12
Filtering & Searching
06:03
13
PropertyFilter: Sparse Fieldsets
05:34
14
Pagination
04:34
15
More Formats: HAL & CSV
06:05
16
Validation
06:30
17
Creating the User Entity
05:08
18
User API Resource
07:20
19
Relating Resources
07:38
20
Relations and IRIs
04:40
21
Embedded Relation
07:54
22
Embedded Write
08:23
23
Adding Items to a Collection Property
04:38
24
Creating Embedded Objects
07:07
25
Removing Items from a Collection
05:29
26
Filtering on Relations
05:06
27
Subresources
03:36
Unlock unlimited learning

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

Learn more about subscription

Course content

27 lessons · 2h 54m 23s
Show all 27 lessons
  1. 1 API Platform Installation! 06:43
  2. 2 Our First ApiResource 05:37
  3. 3 Swagger: Instant, Interactive API Docs 08:33
  4. 4 OpenAPI Specification 06:32
  5. 5 JSON-LD: Context for your Data 10:31
  6. 6 Hydra: Describing API Classes, Operations & More 06:02
  7. 7 API Debugging with the Profiler 03:17
  8. 8 Operations 05:19
  9. 9 The Serializer 09:13
  10. 10 Serialization Groups 09:35
  11. 11 @SerializedName & Constructor Args 07:16
  12. 12 Filtering & Searching 06:03
  13. 13 PropertyFilter: Sparse Fieldsets 05:34
  14. 14 Pagination 04:34
  15. 15 More Formats: HAL & CSV 06:05
  16. 16 Validation 06:30
  17. 17 Creating the User Entity 05:08
  18. 18 User API Resource 07:20
  19. 19 Relating Resources 07:38
  20. 20 Relations and IRIs 04:40
  21. 21 Embedded Relation 07:54
  22. 22 Embedded Write 08:23
  23. 23 Adding Items to a Collection Property 04:38
  24. 24 Creating Embedded Objects 07:07
  25. 25 Removing Items from a Collection 05:29
  26. 26 Filtering on Relations 05:06
  27. 27 Subresources 03:36

Related courses

  • Learn PHP Symfony 4 Hands-On Creating Real World Application thumbnail

    Learn PHP Symfony 4 Hands-On Creating Real World Application

    By: Udemy
    We'll go through each single task step by step, you will code along with me. I'd explain every detail of how things work, and how things should be done. At the
    13 hours 22 minutes 28 seconds
  • Learn Symfony 3 thumbnail

    Learn Symfony 3

    By: KnpUniversity
    Ready to get serious with Symfony? You've come to the right place! Get your first application off on the right foot by coding along with a real application, usi
    5 hours 40 minutes 26 seconds
  • Symfony 5 Fundamentals: Services, Config & Environments thumbnail

    Symfony 5 Fundamentals: Services, Config & Environments

    By: SymfonyCasts
    This is the tutorial that unlocks your true Symfony 5 potential. How? By talking about what's at the core of Symfony: services, config & environments.
    2 hours 20 minutes 40 seconds

Frequently asked questions

What is API Platform: Serious RESTful APIs about?
API Platform is crushing the scene these days, and it's easy to see why! Built on top of Symfony, API Platform enables you to build a rich, JSON-LD-powered, hypermedia API... pretty much instantly! In this tutorial, we'll build a real app…
Who teaches API Platform: Serious RESTful APIs?
API Platform: Serious RESTful APIs is taught by SymfonyCasts. You can find more courses by this instructor on the corresponding source page.
How long is API Platform: Serious RESTful APIs?
API Platform: Serious RESTful APIs contains 27 lessons with a total runtime of 2 hours 54 minutes. All lessons are available to watch online at your own pace.
Is API Platform: Serious RESTful APIs free to watch?
API Platform: Serious RESTful APIs is part of CourseFlix's premium catalog. A CourseFlix subscription unlocks the full video player; the course description, table of contents, and preview information are available to everyone.
Where can I watch API Platform: Serious RESTful APIs online?
API Platform: Serious RESTful APIs is available to watch online on CourseFlix at https://courseflix.net/course/api-platform-serious-restful-apis. The page hosts every lesson with the integrated video player; no download is required.