Installation
Start by installing the package via Composer:
composer require van-ons/filament-redirects:^2.0Next, publish and run the migrations:
php artisan vendor:publish --tag=vanons-filament-redirects-migrations
php artisan migrateFinally, add the plugin to your Filament panel provider:
use Filament\Panel;
use Filament\PanelProvider;
use VanOns\FilamentRedirects\RedirectsPlugin;
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel->plugin(RedirectsPlugin::make());
}
}If needed, you can also publish the configuration file:
php artisan vendor:publish --tag=vanons-filament-redirects-config