PHP Package: hyperf/engine-contract

Hyperf Engine Contract is a PHP library designed to provide seamless integration and powerful abstraction for engine implementations.

Current Version: 1.12.0
Last Updated: 2025-02-08
PHP Requirement: >=8.0
Dependencies:
hyperf/engine
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Hyperf Engine Contract is a foundational PHP library that defines a contract for different engine implementations, facilitating efficient and flexible development. By using this library, developers can easily switch between different engines while maintaining a consistent interface. This library promotes modularity, versatility, and enhanced performance in PHP applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.13.0

Clock Coming soon

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/hyperf/engine-contract/1.13.0/loader.php';
require_once 'libs/hyperf/engine/2.14.1/loader.php';
require_once 'libs/other_vendor/other_dependency/{lib_version}/loader.php';

use Hyperf\EngineContract\Tests\EngineContractTest;

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