Jump to content

Draft:API Platform

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by EliseEtc (talk | contribs) at 14:09, 8 December 2024 (add see also / remove faulty template). 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 progress are often presented in tech conferences[4][5] and meet-ups[6].

Example

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

See also


References