PHP Package: spiral/hmvc

Hierarchical Model-View-Controller (HMVC) PHP library providing efficient modular architecture for web applications.

Current Version: 2.0.2
Last Updated: 2020-05-09
PHP Requirement: ^7.2
Dependencies:
spiral/core
spiral/framework
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Spiral's HMVC library offers a structured approach to building PHP applications, enabling seamless separation of concerns and reusability. With its hierarchical design, developers can create scalable and maintainable projects. The library simplifies complex systems by breaking them into manageable modules, promoting code organization and flexibility. Through its model-view-controller paradigm, it enhances code readability and maintainability, fostering a more efficient development process.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.0.2

Download Download v2.0.2

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/spiral/hmvc/2.0.2/loader.php';
require_once 'libs/spiral/core/1.4.4/loader.php';
require_once 'libs/spiral/framework/3.15.8/loader.php';

use Spiral\HMVC\Controller;
use Spiral\Framework\Application;

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