Published on 2022-02-12 • Modified on 2022-02-12
In this post, we see a simple solution to mock API calls with the Symfony HTTP client, declare a scoped HTTP client and test it with or without mock.
Published on 2021-10-02 • Modified on 2021-10-02
This post is different from what I use to do. It will be a reference, a "cheat sheet" mentioning all available exceptions with PHP.
Published on 2020-12-31 • Modified on 2020-12-31
In this post, we will see how to secure an API with JWT and API Platform. We will generate JWT security tokens thanks to the lexik/jwt-authentication-bundle, and we will take advantage of the new property security parameter introduced in API Platform 2.6.
Published on 2020-12-03 • Modified on 2021-09-03
In this post, we will see how API Platform can help us to document and migrate manual endpoints in a Symfony application. We will see concrete examples related to this blog application.