PHP Package: api-platform/core

API-Platform Core library provides essential tools for building robust web APIs.

Current Version: 4.2.2
Last Updated: 2025-10-09
PHP Requirement: >=8.2
Dependencies:
symfony/framework-bundle
doctrine/orm
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

API-Platform Core is a PHP library that offers a comprehensive set of features to streamline the development of powerful and flexible web APIs. It includes support for data validation, serialization, and API documentation. With API-Platform Core, developers can easily create RESTful APIs that adhere to modern standards and best practices, leading to efficient and maintainable API architectures.

🔗 View on GitHub

Download Latest Version: 4.2.2

Download Download v4.2.2

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/api-platform/core/4.2.2/loader.php';
require_once 'libs/symfony/framework-bundle/7.3.4/loader.php';
require_once 'libs/doctrine/orm/3.5.2/loader.php';

use ApiPlatform\Core\Api\Resource;
use Doctrine\ORM\EntityManager;

$obj = new Resource();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.