New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!
57,329,294 2,583

Larablocks Analysis

api-platform/core works with any PHP project: the latest release (v5.0.10, Dec 3, 2026) doesn't depend on Laravel.

Recommendation checks

Recommended

Recommended by Larablocks: meets all 3 checks.

  • Released in the last 12 months (Dec 3, 2026)
  • 1,435,969 downloads a month (at least 10,000)
  • 2,583 GitHub stars (at least 100)

State

Actively maintained
  • Last stable release: Dec 3, 2026.
  • Latest pre-release: v5.1.0-alpha.1, Dec 3, 2026.
  • 82 releases in the last 12 months.
  • First released: Jun 8, 2015.
  • Monthly downloads: 1,435,969, up 49% from six months ago.
  • 116 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.

Install
composer require api-platform/core
Latest Version:v5.0.10
PHP:>=8.2
License:MIT
Last Updated:Dec 3, 2026
Links: GitHub  ·  Packagist
Maintainer: dunglas

API Platform Core

API Platform Core is an easy-to-use and powerful system to create hypermedia-driven REST and GraphQL APIs. It is a component of the API Platform framework and it can be integrated with the Symfony framework using the bundle distributed with the library.

It natively supports popular open formats including JSON for Linked Data (JSON-LD), Hydra Core Vocabulary, OpenAPI v2 (formerly Swagger) and v3, JSON:API, HAL and Problem Details.

Build a working and fully-featured web API in minutes. Leverage the awesome features of the tool to develop complex and high-performance API-first projects. Extend or override everything you want.

GitHub Actions

Documentation

The documentation of API Platform Core Library can be browsed on the official website.

Alternatives to api-platform/core

darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

45,592,628 2,932
osteel/openapi-httpfoundation-testing

Validate HttpFoundation requests and responses against OpenAPI (3+) definitions

2,597,289 122
vyuldashev/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

1,309,215 461
pdfgeneratorapi/php-client

Introduction PDF Generator API allows you easily generate transactional PDF docu...

247,753 5
cline/relay

A modern, attribute-driven HTTP client for PHP

13,517 0

Version History

Version Released PHP License
v5.0.10 >=8.2 MIT
v5.0.9 >=8.2 MIT
v5.0.8 >=8.2 MIT
v5.0.7 >=8.2 MIT
v5.0.6 >=8.2 MIT
Pre-releases (97)
Version Released PHP License
v5.1.0-alpha.1 >=8.2 MIT
v5.0.0-beta.2 >=8.2 MIT
v5.0.0-beta.1 >=8.2 MIT
v5.0.0-alpha.3 >=8.2 MIT
v5.0.0-alpha.2 >=8.2 MIT