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

Url Manager Laravel Package

rayzenai/url-manager

Laravel package to manage URLs, redirects, SEO metadata, visit tracking, and XML sitemaps, with redirect-loop protection and automatic old→new slug redirects. Includes Filament 4 admin panel integration (UrlInput) and optional media SEO via file-manager.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • SEO Optimization Roadmap: Enables programmatic URL management, automatic redirects, and sitemap generation—critical for improving organic search rankings and reducing 404 errors during content migrations.
  • Content Migration Strategy: The HasUrl trait and automatic redirect creation solve the technical debt of updating slugs across thousands of records (e.g., migrating from blog/post-123 to articles/2024/post-title).
  • Build vs. Buy: Avoids reinventing URL routing, redirects, and sitemap logic, reducing dev time by 60%+ compared to custom solutions. The Filament integration also eliminates UI development costs.
  • Use Cases:
    • E-commerce: Manage product/category URLs, handle bulk slug updates, and track visitor behavior by country/device.
    • Content Platforms: Automate sitemap generation for blogs, news sites, or documentation hubs with dynamic lastmod timestamps.
    • Legacy System Modernization: Safely refactor URLs during platform upgrades (e.g., Laravel 8 → 11) without breaking SEO.
    • Multilingual Sites: Extend with custom logic to generate locale-specific URLs (e.g., /en/products, /es/productos).

When to Consider This Package

  • Avoid if:

    • Your app uses non-Laravel frameworks (Symfony, Django, etc.) or lacks Filament.
    • You need sub-second redirect resolution for high-traffic sites (this package adds ~5ms DB query overhead; consider caching layers like Redis for urls table).
    • Your URLs are static (e.g., /about, /contact) with no dynamic content—simpler middleware like Illuminate\Routing\Redirector suffices.
    • You’re on PHP <8.2 or Laravel <11 (compatibility requires upgrades).
    • Visitor tracking isn’t a priority: The MaxMind dependency adds ~100MB to your deployment and requires IP-based tracking (GDPR/compliance considerations).
  • Look elsewhere if:

    • You need URL shortener functionality (use spatie/url or laravel-url-shortener).
    • Your redirects require A/B testing or user-specific rules (this package handles static redirects only).
    • You’re building a headless CMS where URLs are managed externally (e.g., Strapi, Contentful).

How to Pitch It (Stakeholders)

For Executives: *"This package solves two critical pain points for our digital presence:

  1. SEO Risk Mitigation: Automates URL redirects and sitemap updates during content changes, preventing 404 errors that hurt rankings. For example, after our Q3 product launch, we’ll avoid manual redirects for 500+ URLs—saving 20+ dev hours and preserving organic traffic.
  2. Scalable Growth: The Filament admin panel lets non-technical teams manage URLs, reducing reliance on engineering. For our e-commerce site, this means faster promotions (e.g., seasonal redirects) without dev bottlenecks. Cost: $0 (MIT license) + minimal MaxMind database ($100/year for enterprise-grade IP data). ROI: Immediate SEO stability and long-term scalability."*

For Engineering: *"This is a drop-in solution for URL management that handles:

  • Automatic redirects during slug updates (e.g., blog/old-slugarticles/new-slug) via middleware.
  • Sitemap generation with dynamic lastmod timestamps (critical for Google’s freshness signals).
  • Visitor analytics (country/device) via MaxMind, with optional Google Search Console integration for automated submissions. Trade-offs:
  • Adds ~5ms DB query overhead for redirects (mitigate with Redis caching).
  • Requires Filament (but we’re already using it for admin panels). Migration Path: Start with the HasUrl trait on 1–2 models (e.g., Product, BlogPost), then expand. The urls:generate artisan command backfills existing records."*

For Design/Product: *"This gives us control over URL structures without engineering overhead:

  • SEO-friendly URLs: Custom webUrlPath() methods let us enforce /products/{category}/{slug} formats.
  • A/B testing: Temporary 302 redirects for promo pages (e.g., /summer-sale/winter-deals).
  • Analytics: Track which URLs drive traffic by country/device to inform content strategy. The Filament UI is production-ready—no need for custom dashboards."
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.
datacore/hub-sdk
alengo/sulu-http-cache-bundle
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard
visualbuilder/filament-lottie
servicioslineaonce/starter-kit
atomcoder/laravel-reorderable
irajul/filament-shadcn-theme
agtp/agtp-php
agtp/mod-php
centraldesktop/protobuf-php
trappistes/laravel-custom-fields
splash/sonata-admin
splash/metadata