PHP Package: api-platform/http-cache

Efficient PHP library for caching HTTP responses with advanced features and easy integration

Current Version: 4.1.15
Last Updated: Date not available
PHP Requirement: >=8.2
Dependencies:
api-platform/core
symfony/http-foundation
symfony/cache
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The HTTP Cache library by api-platform is a versatile PHP tool allowing developers to cache HTTP responses effectively. With comprehensive caching strategies and seamless integration, this library enhances web application performance and user experience. It offers advanced caching mechanisms, flexible configuration options, and robust support for HTTP cache headers. Developers can optimize response times, reduce server load, and improve overall application scalability. Enhance your web projects with the API-Platform HTTP Cache library for efficient caching and improved performance.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.1.15

Download Download v4.1.15

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/http-cache/4.1.15/loader.php';
require_once 'libs/api-platform/core/4.1.16/loader.php';
require_once 'libs/symfony/http-foundation/7.3.0/loader.php';
require_once 'libs/symfony/cache/7.3.0/loader.php';

use ApiPlatform\HttpCache\Tests\HttpCacheTest;

$obj = new HttpCacheTest();
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.