api-platform.com Open in urlscan Pro
2606:4700:3035::6815:1479  Public Scan

Submitted URL: http://api-platform.com/
Effective URL: https://api-platform.com/
Submission: On June 13 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

September 19-20, 2024 | Lille & online

The international conference on the API Platform Framework


API PLATFORM CONFERENCE 2024: MEET THE BEST PHP, JAVASCRIPT AND API EXPERTS

Lear more about the event, register for the conference, and get ready for two
days of inspiration, ideas, and knowledge-sharing with our incredible lineup of
renowned specialists and advocates.

Register now

The conference dedicated to API Platform and its ecosystem

Sep 19, 20 2024 | Lille & online
Register now

SearchK
DocsScreencastsShopEventsNeed help?


Powered by

powered by




The API-first framework

DownloadGetting started


API PLATFORM FRAMEWORK

The easiest way to create your web API

1

Install the framework

Install Docker and optionally GitHub CLI.

Install

gh repo create --clone --template api-platform/api-platform my-api --public # or --private
cd my-api
docker compose up
open https://localhost

gh repo create --clone --template api-platform/api-platform my-api --public # or --private
cd my-api
docker compose up
open https://localhost

Your development environment is ready!

Continuous integration (GitHub Action) as well as recipes to deploy in
production with Docker Compose or Kubernetes are also pre-installed.
2

Define the resourcesas PHP classes, or using OpenAPI

Define the resources to expose

<?php
 
namespace App\ApiResource;
 
#[ApiResource]
class Beer
{
    public int $id;
    public string $name;
}

<?php
 
namespace App\ApiResource;
 
#[ApiResource]
class Beer
{
    public int $id;
    public string $name;
}

You get:

 * A stable state-of-the-art REST & GraphQL API

 * Automatic documentation OpenAPI, SwaggerUI, GraphiQL...

 * Support for standards and formats JSON-LD, Hydra, JSON:API

Alternatively, generate the classes from an existing RDF vocabulary.

API Platform automatically exposes production-grade HATEOAS API for you!

3

Plug your business & persistence logic

Plug your logic

class MyProcessor implements ProcessorInterface
{
// …
}
 
class MyProvider implements ProviderInterface
{
// …
}

class MyProcessor implements ProcessorInterface
{
// …
}
 
class MyProvider implements ProviderInterface
{
// …
}

The framework has been designed from the ground up to be usable from Rapid
Application Development contexts to Domain-Driven Design or Clean
Architecture-like approaches.

You can even mix both approaches!

...or use the native integration with popular persistence libraries!

Native integration

use ApiPlatform\Metadata\ApiResource;
use Doctrine\ORM\Mapping as ORM;
 
#[ORM\Entity]
#[ApiResource]
// …

use ApiPlatform\Metadata\ApiResource;
use Doctrine\ORM\Mapping as ORM;
 
#[ORM\Entity]
#[ApiResource]
// …


API Platform can automatically retrieve, persist, paginate and validate data
using the most popular database systems.

PostgreSQL, MongoDB, ElasticSearch, SQLite, MySQL, MariaDB, SQL Server and
Oracle are supported out of the box.

You can also make your own persistence system!

4

Customize!

Customize every single behavior thanks to our carefully designed extension
points.



CLIENT GENERATOR

Scaffold client apps

We provide a scaffolding with first-class support for Next.js, but don't want to
decide for you which front-end framework you want to work with so skeletons for
many other frontend frameworks are supported such as: Nuxt (Vue), Expo (React
Native), Quasar, and many more...


Learn more



API PLATFORM ADMIN

Enjoy a beautiful B2B interface

API Platform Admin exposes your data through a beautiful UI.

Entirely customizable

Hydra and OpenAPI compatible

Built on top of Material UI and React Admin

100% no code

Automatic API discovery


Learn more


MERCURE.ROCKS

Go real time

API Platform automatically leverages the Mercure protocol to send updates made
to your resources to all the connected clients. Updates are automatically
broadcasted by the API component. The admin and all the generated client
skeletons are also natively able to receive the event and update the UI
automatically.

Learn more



MORE FEATURES

Going further

Authentication and access control rules
Advanced data validation
Invalidation-based HTTP cache
Asynchronous state processing
Relation preloading with Vulcain.rocks
Caddy server integration HTTPS & HTTP/3
Automatic pagination and filtering
Docker & Kubernetes setups included


REFERENCES

They use API Platform

Free software



See all our references

Made with love by



Les-Tilleuls.coop can help you design and develop your APIs and web projects,
and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide
range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop



Resources

LogosWallpapersColouring webby
HelpNeed help?ScreencastsStack OverflowSlack
CommunityOverviewEventsAPI Platform ConferenceContributorsHow to contribute


Code licensed under MIT, documentation under CC by 3.0

Enterprise subscriptionSecurity PolicyTrademark Policy