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.
The package is explicitly designed for the Spiral framework, not Laravel, creating fundamental architecture misalignment. Spiral's HMVC implementation relies on its unique dependency injection, routing, and service container patterns, which are incompatible with Laravel's ecosystem. Integration feasibility is extremely low due to conflicting core conventions (e.g., Laravel's Illuminate namespace dependencies vs. Spiral's Spiral-specific abstractions). Technical risks include security vulnerabilities (last release was 4+ years ago), unpatched dependencies, and potential conflicts with Laravel's built-in MVC features. Key questions: Why pursue HMVC in Laravel when native patterns or Laravel-specific packages (e.g., laravel/hmvc alternatives) exist? Is the Spiral framework itself actively maintained? What specific HMVC use cases cannot be addressed with Laravel's standard tools?
Stack fit is severely mismatched—Spiral and Laravel share no architectural common ground, making this package unsuitable for Laravel projects. A migration path is non-existent; attempting to force integration would require rewriting core framework components and bypassing Laravel's ecosystem. Compatibility is virtually impossible due to divergent dependency structures (e.g., Spiral's spiral/roadrunner-based runtime vs. Laravel's Symfony components). Sequencing should prioritize rejecting this package entirely; no phased rollout strategy can overcome the foundational incompatibilities.
Maintenance burden would be high due to the package's abandonment (no updates since 2020) and lack of community activity. Official support is nonexistent, with no documentation updates or issue resolution for modern PHP/Laravel versions. Scaling is untested and likely unstable, as the package was never designed for Laravel's production patterns. Failure modes include runtime crashes from namespace conflicts, security holes from outdated dependencies, and unpredictable behavior in Laravel
How can I help you explore Laravel packages today?