• Verified
  • Free plan

Laravel Redirection

Listed under GitHub repos

Laravel Redirection is an open source Laravel package that manages URL redirects stored in a database or other sources, with 301, 302 and 307 status codes. It is free under an MIT license.

Used for

  • URL redirect management
  • 301 redirects
  • redirect status codes

What Laravel Redirection does

Laravel Redirection is a PHP package that keeps URL redirections in a database or another data source instead of hard coding them in route files. It supports permanent and temporary redirects, so a Laravel site can send an old URL to a new one while returning a chosen status code. The author presents it as SEO support for a Laravel site that changes URLs.

Installation is through Composer, followed by publishing the package migrations and running php artisan migrate. A separate publish tag copies the config file, which lists 301, 302 and 307 as the valid statuses and reads a default code from the REDIRECT_DEFAULT_STATUS environment variable, falling back to 301. The README is tested for Laravel 9 and 10, while the repository description covers 8 through 11. Custom redirect drivers are mentioned as a TODO.

Key features

Database backed redirects
Redirect mappings live in database tables created from the package migrations, so records change without editing route files.
Configurable status codes
Published config ships 301 Permanent, 302 Normal and 307 Temporary as the valid redirect statuses, editable in the config file.
Environment default status
REDIRECT_DEFAULT_STATUS sets the status code used when a mapping does not define one; it defaults to 301.
Composer installation
Installed with composer require SiroDiaz/laravel-redirection; no manual file copying is described in the README.
Publishable migrations and config
Two artisan vendor:publish tags, redirection-migrations and redirection-config, copy assets into the host Laravel application.
Multiple data sources
The description says redirects can be managed from a database or other sources; documentation for custom drivers is marked TODO.
Laravel version coverage
Tested and designed for Laravel 9 and 10 per the README, with repository metadata listing support for Laravel 8 through 11.
PHP 8 requirement
Requires PHP 8.0 or higher; older Laravel versions are pointed to the Neurony/laravel-redirects package instead.

How it works

  1. Install the package by running composer require SiroDiaz/laravel-redirection in the project.
  2. Publish the migration files with artisan vendor:publish using the redirection-migrations tag.
  3. Run php artisan migrate to create the tables that hold redirect records.
  4. Publish the config file with the redirection-config tag to set statuses and the default code.
  5. Set REDIRECT_DEFAULT_STATUS in the environment, or accept the 301 fallback.
  6. Map an old URL to a new one; matching requests receive the stored redirect and status code.

Plans and pricing

The package is distributed free under the MIT licence, with no paid tiers or hosted service listed.

Integrations and platforms

Works with

  • Laravel
  • Composer

Available as

  • Web

Repository facts

  • RepositorySiroDiaz/laravel-redirection
  • LanguagePHP
  • Stars63
  • Forks8
  • LicenceMIT
  • Created2021-10-06
  • Last commit2025-12-22
  • Open issues4
  • database
  • laravel
  • laravel-10
  • laravel-10-package
  • laravel-8
  • laravel-8-package
  • laravel-9
  • laravel-9-package
  • laravel-framework
  • laravel-package

Services and details

  • Does SEO work itself

    Yes
  • Free plan or free tools

    Yes

No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, API or MCP server, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.

Compare with other SEO tools:

About the company

Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.