PHP Package: api-platform/core

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

Current Version: 4.1.16
Last Updated: 2025-06-13
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.1.16

Download Download v4.1.16

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.1.16/loader.php';
require_once 'libs/symfony/framework-bundle/7.3.0/loader.php';
require_once 'libs/doctrine/orm/3.4.0/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.