novius/laravel-filament-redirect-manager
| Install | |
|---|---|
composer require novius/laravel-filament-redirect-manager |
|
| Latest Version: | 1.0.3 |
| PHP: | >=8.2.0 |
| Laravel: | 11 · 12 · 13 |
| License: | AGPL-3.0-or-later |
| Last Updated: | Jun 2, 2026 |
| Links: | GitHub · Packagist |
Laravel Filament Redirect Manager
Introduction
This package provides an interface to manage redirects with Laravel Filament Redirect Manager in Laravel Filament.
Requirements
- Laravel Filament >= 4
- Laravel >= 11.0
- PHP >= 8.2
Installation
Composer
Install the package via composer:
composer require novius/laravel-filament-redirect-manager
Middleware
Next, prepend/append the Spatie\MissingPageRedirector\RedirectsMissingPages middleware to your global middleware stack:
// bootstrap/app.php
->withMiddleware(function (Middleware $middleware) {
$middleware->append([
\Spatie\MissingPageRedirector\RedirectsMissingPages::class,
]);
})
Filament plugin
Add the LaravelFilamentRedirectManager plugin in your Filament Panel
use Novius\LaravelFilamentRedirectManager\LaravelFilamentRedirectManager;
class AdminFilamentPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
// ...
LaravelFilamentRedirectManager::make(),
// ...
])
// ...
;
}
}
Lang files
If you want to customize the lang files, you can publish them with:
php artisan vendor:publish --provider="Novius\LaravelFilamentRedirectManager\RedirectManagerServiceProvider" --tag="lang"
Usage
This package allows you to manage redirects in a Laravel application through a Filament interface.
Adding a Redirect
To add a redirect, use the Filament interface provided by the package. You can configure the following fields:
- Original URL (from): The relative URL to redirect (e.g., /old-url).
- Redirection URL (to): The absolute or relative URL to redirect to (e.g., https://www.site.com/new-url or /new-url).
Lint
Lint your code with Laravel Pint using:
composer run-script lint
Licence
This package is under GNU Affero General Public License v3 or (at your option) any later version.
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.3 | >=8.2.0 | AGPL-3.0-or-later | ||
| 1.0.2 | >=8.2.0 | AGPL-3.0-or-later | ||
| 1.0.1 | >=8.2.0 | AGPL-3.0-or-later | ||
| 1.0.0 | >=8.2.0 | ^11.0 | | AGPL-3.0-or-later |