Skip to main content
CF

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

Related courses

Frequently asked questions

What are the prerequisites for enrolling in this course?
Before enrolling, it is recommended that students have a basic understanding of Symfony, as API Platform is built on top of it. Familiarity with RESTful API concepts and JSON would also be beneficial to fully grasp the course content.
What projects or applications will I build during the course?
Throughout the tutorial, you will build a real application using API Platform. This includes setting up API Platform within a Symfony application, creating ApiResources, managing resource relationships, and customizing operations for a robust API experience.
Who is the target audience for this course?
This course is designed for developers interested in building efficient RESTful APIs using API Platform and Symfony. It is particularly suitable for those looking to enhance their skills in JSON-LD-powered, hypermedia API development.
How does the course depth compare to other API development courses?
The course offers a focused exploration of API Platform's integration with Symfony, covering a wide range of topics such as JSON-LD, Hydra, resource relations, and advanced serialization techniques. It is a detailed course for those specifically looking to specialize in API Platform.
What specific tools or platforms are covered in the course?
The course covers API Platform and its integration with Symfony extensively. It also explores tools like Swagger and OpenAPI for API documentation, JSON-LD and Hydra for data context, and the Profiler for debugging.
What topics are not covered in this course?
The course does not cover introductory Symfony concepts or basic API development techniques, assuming prior knowledge in these areas. It focuses specifically on API Platform and its advanced features, rather than general web development.
How can knowledge from this course benefit my career or other courses?
Understanding API Platform and its integration with Symfony can significantly enhance your capability to develop efficient RESTful APIs. This knowledge is valuable for backend development roles and can be applied in other advanced Symfony courses or projects requiring robust API solutions.