Draft:API Platform
{{AfC submission|t||ts=20241215200733|u=EliseEtc|ns=118|demo=}}
API Platform is a web framework which can be used with the framworks Symfony{{cite web | url=https://symfony.com/projects/apiplatform | title=API Platform (Projects using Symfony) }} and Laravel{{cite web | url=https://laravel-news.com/api-platform-for-laravel | title=API Platform for Laravel | date=14 October 2024 }}. It allows the creation of APIs in a fast and configurable manner. API Platform also automatically generates OpenAPI documentation for APIs built with it{{cite web | url=https://api-platform.com/docs/core/openapi/ | title=OpenAPI Specification Support (Formerly Swagger) }}. It was first released in 2018.
Its new features are often presented in tech conferences{{cite web | url=https://www.journaldunet.com/solutions/dsi/1208584-symfonylive-2018-symfony-4-met-le-cap-sur-l-excellence/ | title=SymfonyLive 2018 : Symfony 4 met le cap sur l'excellence | date=5 April 2018 }}{{cite web | url=https://www.journaldunet.com/solutions/dsi/1507779-cecile-helary-hamerel-afup/ | title=Cécile Helary Hamerel (AFUP) : "Les frameworks PHP se lancent à l'assaut du frontend" | date=3 January 2022 }}, one of which is organised by the company behind it{{cite web | url=https://www.start-scop.fr/les-tilleulscoop | title=Les-Tilleuls.coop }}{{cite web | url=https://welovedevs.com/fr/articles/api-platform-conference-ca-se-passe-les-21-et-22-septembre/ | title=API Platform Conference : ça se passe les 21 et 22 septembre ! | date=6 September 2023 }} and meet-ups{{cite web | url=https://www.meetup.com/fr-FR/api-platform/ | title=API Platform Meetup }}.
Example
use ApiPlatform\Metadata\ApiResource;
...
- [ApiResource(
operations: [
new Get(),
new GetCollection()
]
)]
class Book
{
...
}
See also
External links
- [https://github.com/api-platform/api-platform Repository on GitHub]
- [https://api-platform.com/ Offical site]
References
{{Reflist|30em}}
{{Web frameworks}}
{{Drafts moved from mainspace|date=December 2024}}