Skip to main content

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
Woh, hey! I'm Ryan - the lead trainer and one of your friends here at SymfonyCasts. Look, I love being a developer, but the road to becoming a productive programmer is not easy. When I started, good information was buried by theory and real-world examples were non-existent. There's a great developer stuck inside each of us! And in 2011, I started SymfonyCasts (formerly: KnpUniversity) to help more people discover and unlock that potential by using better methods of learning. Being the documentation lead for a massive open source project (Symfony), a frequent speaker and an in-person trainer for 5 years has helped us craft our strict philosophy for real, significant learning. Build real-world projects from end-to-end, via beautiful video tutorials NEVER use slides (gross!) Have some fun! We promise energy, space-ship animations, and embarrassing (I mean intelligent) jokes Practice, practice, practice using our realistic coding challenges. Then enjoy a sandwich! Keep things simple and save the heroically difficult details for later (or never!) Now, it's your turn. So suit up (pajamas are the official uniform), get ready to work hard, and finally awaken the amazing developer that's hiding inside of you!

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