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 11:48, 7 December 2024 (Created page with ''''API Platform''' is a web framework which can be used with the framworks Symfony<ref>https://symfony.com/projects/apiplatform</ref> and Laravel<ref>https://laravel-news.com/api-platform-for-laravel</ref>. It allows the creation of APIs in a fast and configurable manner. API Platform also automatically generates OpenAPI documentation for APIs built with it<ref>https://api-platform.com/docs/core/openapi/</ref>. It was first...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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 ofen 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


Template:PHP PHP