Adds redirect management functionality
You can install the package via composer:
composer require cube-agency/filament-redirects
Run install command:
php artisan filament-redirects:install
Run migrations (if that was not done on install):
php artisan migrate
Add the plugin to your panel provider:
use CubeAgency\FilamentRedirects\FilamentRedirectsPlugin;
public function panel(Panel $panel): Panel
{
return $panel
...
->plugins([
...
FilamentRedirectsPlugin::make()
]);
}
Register redirect middleware in bootstrap/app.php file:
use CubeAgency\FilamentRedirects\Http\Middleware\FilamentRouteRedirectMiddleware;
return Application::configure(...)
...
->withMiddleware(function (Middleware $middleware) {
$middleware->append(FilamentRouteRedirectMiddleware::class);
})
...
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.