spiral/hmvc
HMVC support for Spiral apps, helping you structure features into self-contained modules with controllers, views, and routes. Encourages clean separation of concerns and scalable project organization for complex applications.
This package is not viable for modern Laravel projects due to its origin as a read-only subtree split from Spiral Framework (a separate PHP framework), lack of maintenance since 2020, and minimal community adoption (7 stars). As a PM, I would reject its use in favor of Laravel-native modular solutions like built-in service providers, middleware, or actively maintained packages such as laravel-modules. This avoids compatibility risks, technical debt, and security vulnerabilities while aligning with Laravel’s ecosystem best practices. Roadmap decisions would prioritize investing in native Laravel patterns or community-vetted alternatives instead of adopting outdated, framework-agnostic components.
Only consider this package for legacy Spiral Framework projects requiring HMVC architecture, where the team is already committed to Spiral’s ecosystem. For Laravel projects, this package should never be adopted due to fundamental incompatibilities (e.g., Laravel’s dependency injection, routing, and service container systems), lack of updates for modern PHP/Laravel versions, and absence of community support. If HMVC-like functionality is needed in Laravel, explore purpose-built Laravel packages (e.g., laravel-modules, spatie/laravel-package-tools) or custom implementations using Laravel’s native tools—never third-party framework components.
"This package is a discontinued component from Spiral Framework, not Laravel—it hasn’t been updated since 2020 and has only 7 GitHub stars. Integrating it into our Laravel project would introduce critical risks: broken compatibility, unpatched security flaws, and future maintenance nightmares. Instead, we’ll use Laravel’s built-in modular features or proven, actively maintained packages like laravel-modules, which are designed for our stack and backed by the community. This keeps us secure, scalable, and aligned with industry best practices—no unnecessary technical debt."
How can I help you explore Laravel packages today?