API Platform 3 Part 1: Mythically Good RESTful APIs
Need to build an API and love the process? You've come to the right place.
Built on top of Symfony, API Platform enables you to build a rich, JSON-LD-powered, hypermedia API... pretty much instantly (we'll even teach you what those buzzwords…
API Platform 3 Part 2: Security for your Treasures
Here be dragons! We've built a pretty sweet API for storing dragon treasures... but we've completely neglected one minor detail: security! In this tutorial, we'll secure our API Platform-powered API in every way imaginable... and spin up a nifty test suite…
API Platform Installation!
…an Oreo.
API Platform is crushing it these days. I feel like everywhere I turn, someone
is raving about it! Its lead developer - Kévin Dunglas - is a core contributor
of Symfony, super nice guy and is absolutely pushing the boundaries of what API's
can…
API Platform 3 Part 3: Custom Resources
…state-provider)
State processors with DTO's
Data transformation with symfonycasts/micro-mapper
IGNORED_ATTRIBUTES, security & other tricks to avoid serialization groups
Embedded objects (including non-ApiResource objects)
Pagination for DTO resources
Woh. If you thought you were dangerous before with API Platform, just wait...
API Platform 2 Part 1: Serious RESTful APIs
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…
API Platform 2 Part 2: Security
…API Platform tutorial:
API token security? Or tried-and-true session based login form security?
CSRF protection? SameSite Cookies? Ice Cream?
Security firewall setup for json_login authentication
Authorization & roles: restricting access to your operations!
Encoding user's password (during user creation/update)
API Platform…
API Platform 2 Part 3: Custom Resources
Welcome to part 3 of the Api Platform series! In
part 1,
we built a fully-featured API. Then in
part 2
we leveled-up by adding a robust security system, security checks
and user-specific fields.
So what's left? In part 3, we…
Installing API Platform
…under the
hood. Then, if you want to use this Distribution later on, you totally can.
Okay, to be a true "API Platform JSON Returning Champion", you should
code along with me! Download the source code from this page. And after unzipping
it, you'll…
Setup & Ways to Extend API Platform
…for GraphQL. And... it looks like the next version
of API Platform - version 3.2 - may even remove these events in favor of a new
internal system that leverages state providers and state processors even more.
Ok team: time to get to work. Next, let…
Encore, Symfony & API Platform
…traditional, boring server-side-generated
page.
The second important thing about our app is that it already has a really nice API.
You can see its docs if you go to https://localhost:8000/api. We built this with my
favorite API tool: API Platform…
Backport the API Platform 2.5 Test Tools
…other tools to make a request
into our API, get back a response, and assert different things about it, like the
status code, that the response is JSON and that the JSON has the right keys.
API platform recently introduced some really nice tools for…
API Debugging with the Profiler
We're going to be doing some seriously cool and complex stuff with API platform.
So before we get there, I want to make sure we have a really awesome debugging
setup. Because... sometimes debugging APIs can be a pain! Ever made an Ajax request…
API Docs on Production?
Welcome back you wonderful JSON-returning people, to API Platform episode 2. In
part 1, we got busy!
We created a pretty killer API to store dragon treasures,
though... we completely forgot to add security! Any small, hairy-footed creature
could sneak in a back…
Hello API Security + API Docs on Production?
…feel much more dangerous
after.
Anyways, let's dive into this! To put the lock down on your API Platform
security skills, download the course code from this page and code along with me.
After you unzip the file, you'll find a start/ directory…
x
1000+