Jump to content

Draft:API Platform

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Citation bot (talk | contribs) at 07:08, 19 December 2024 (Add: date, title. Changed bare reference to CS1/2. | Use this bot. Report bugs. | Suggested by Eastmain | Category:Content moved from mainspace to draftspace from December 2024 | #UCB_Category 1/620). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

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

See also


References

  1. ^ "API Platform (Projects using Symfony)".
  2. ^ https://laravel-news.com/api-platform-for-laravel
  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".