Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Zend Router Laravel Package

zendframework/zend-router

Flexible HTTP router for Zend Framework, supporting literal/segment/regex paths, scheme, method, and hostname matching, with fast tree-based route combinations. Note: repository abandoned 2019-12-31; moved to laminas/laminas-router.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy maintenance: Now viable for PHP 7.3 applications using Zend Framework 3.x (or compatible stacks) where routing is already implemented. However, migration to modern alternatives (e.g., Laravel’s built-in routing, Symfony Router, or standalone packages like spatie/laravel-routing) should still be prioritized for new projects.
  • Build vs. Buy: Not a recommended buy for new Laravel projects, but may be a tactical short-term solution for maintaining legacy Zend Framework apps. The package’s archived status and limited ecosystem support remain risks.
  • Use Cases:
    • Legacy Zend Framework 3.x apps requiring PHP 7.3 compatibility.
    • Hybrid stacks where Zend components are incrementally replaced (e.g., routing only).
    • Avoid for: Greenfield Laravel projects, microservices, or PHP 8.x+ environments.

When to Consider This Package

Adopt if:

  • You’re maintaining a Zend Framework 3.x application and need PHP 7.3 support (e.g., upgrading from PHP 5.6/7.0).
  • Your team lacks bandwidth to rewrite routing logic and requires a drop-in replacement for Zend\Router.
  • You’re in a monolithic legacy system where extracting routing is a low-priority refactor.

Look elsewhere if:

  • You’re starting a new Laravel project (use Laravel’s native routing or spatie/laravel-routing).
  • Your app uses PHP 8.x (this package drops support for newer PHP versions).
  • You need active maintenance, security patches, or modern features (e.g., middleware integration, API-first routing).
  • You’re using Zend Framework 2.x (this package is for ZF3).
  • You require composer stability flags (this package is archived).

How to Pitch It (Stakeholders)

For Executives: "This package extends the lifespan of our Zend Framework 3.x routing layer by adding PHP 7.3 support, delaying a costly rewrite. However, it’s a stopgap—we should budget for migrating to Laravel’s routing or a modern alternative within [X] quarters to reduce technical debt and improve scalability."

For Engineering: *"The zend-router package now supports PHP 7.3, which helps us modernize our legacy Zend Framework 3.x app without rewriting routing. Key trade-offs:

  • Pros: Quick win for PHP 7.3 compatibility, minimal code changes.
  • Cons: Archived package (no future updates), no PHP 8.x support, and long-term risk of dependency rot. Recommend pairing this with a migration plan to Laravel’s routing or a maintained alternative like spatie/laravel-routing."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4