Jump to content

Draft:API Platform

From Wikipedia, the free encyclopedia

API Platform is a web framework which can be used with the framworks Symfony[1] and Laravel[2]. It allows the creation of APIs in a fast and configurable manner. API Platform also automatically generates OpenAPI documentation for APIs built with it[3]. It was first released in 2018.

Its new features are often presented in tech conferences[4][5], one of which is organised by the company behind it[6][7] and meet-ups[8].

Example

[edit]
use ApiPlatform\Metadata\ApiResource;
...
#[ApiResource(
    operations: [
        new Get(),
        new GetCollection()
    ]
)]
class Book
{
    ...
}

See also

[edit]
[edit]


References

[edit]
  1. ^ "API Platform (Projects using Symfony)".
  2. ^ "API Platform for Laravel". 14 October 2024.
  3. ^ "OpenAPI Specification Support (Formerly Swagger)".
  4. ^ "SymfonyLive 2018 : Symfony 4 met le cap sur l'excellence". 5 April 2018.
  5. ^ "Cécile Helary Hamerel (AFUP) : "Les frameworks PHP se lancent à l'assaut du frontend"". 3 January 2022.
  6. ^ "Les-Tilleuls.coop".
  7. ^ "API Platform Conference : ça se passe les 21 et 22 septembre !". 6 September 2023.
  8. ^ "API Platform Meetup".