API Platform

The ultimate PHP framework to build modern web APIs.

Get startedDemo

Creating Linked Data REST APIs has never been so easy

The web has changed!

  • Javascript webapps (SPA) are the standard:
    Awesome frontend technologies such as React and Angular help to create them.
    Thanks to Universal Rendering, they are now indexed by search engines.
  • Internet users now spend more time on mobile devices than on desktops or than watching TV!
    Having a responsive website is mandatory and native mobile apps are a must-have.
  • Linked Data and the semantic web are a reality:
    With the Schema.org initiative and new open web standards such as JSON-LD (RDF for web); search engines and a bunch of other services and software consume structured, machine-readable data at web scale.
    Not exposing such data decrease interoperability and search engine ranking (see rich snippets).
  • APIs are the heart of this new web:
    They are the central point to query and modify data and encapsulate the whole business logic.
    You can access it from webapps, mobile apps and partners's systems.

API Platform is designed for this new web. It provides efficient and easy to use solutions to address these issues.


Easy to Expose, Easy to Consume !

API Platform is agnostic of the client-side technology. Thanks to open web standards, it is compatible with:

  • Javascript apps (including but not limited to React and Angular)
  • Native mobile apps (iOS, Android...)
  • All modern programming languages (PHP, Java, .NET, Ruby, Python...)

Bootstrap the Data Model from Schema.org

Don't reinvent the wheel: Schema.org provides a ton of popular and proved efficient data models. They cover a broad spectrum of topics including creative work, e-commerce, event, medicine, social networking, people, postal address, organization, place or review. Schema.org has its root in a ton of preexisting well designed vocabularies and is successfully used by more and more website and applications.

Bootstrap a fully featured and working PHP data model from Schema.org types including ORM mappings, validation rules and semantic metadata. Of course you can also handcraft your data model or modify the generated one to fit your needs.

Add visual representation of e-commerce offers to database schema

Pick up schemas applicable to your application, generate your PHP model, then customize and specialize it to fit your needs.

Enhance SEO and Interoperability

Adding Schema.org markup to websites and apps increase their ranking in search engines results and enable awesome features such as Google Rich Snippets and Gmail markup.

Mapping your app data model to Schema.org structures can be a tedious task. Using the generator, your data model will be a derived from Schema.org. Serializing your data as JSON-LD will not require specific mapping nor adaptation.
Simply include a JSON-LD file in your page instead of enriching the DOM: it’s a matter of minutes before being SEO Ready:

<script type="application/ld+json">
  "@context": "http://schema.org/",
  "@type": "Product",
  "name": "Executive Anvil",
  "image": "http://www.example.com/anvil_executive.jpg",
  "description": "Sleeker than ACME's Classic Anvil.",
  "mpn": "925872",
  "brand": {
    "@type": "Thing",
    "name": "ACME"
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.4",
    "reviewCount": "89"
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "price": "119.99",
    "priceValidUntil": "2020-11-05",
    "itemCondition": "http://schema.org/UsedCondition",
    "availability": "http://schema.org/InStock",
    "seller": {
      "@type": "Organization",
      "name": "Executive Objects"

Schema.org improves the interoperability of your applications. Used with hypermedia technologies such as Hydra it's a big step towards the semantic and machine readable web. It opens the way to generic web API clients able to extract and process data from any website or app using such technologies.

API Platform Symfony

The default distribution of API Platform is a perfectly valid Symfony full-stack application that follows Symfony's Best Practices. It also includes the famous Doctrine ORMand all included tools can leverage it.

It means that you can:

However, API Platform is designed as a set of independent and reusable components. You can perfectly use them in raw PHP projects or in projects using other frameworks.


They Use API Platform

The Fork
Ville de Roubaix
Le Parti de Gauche