Download the PHP package pardalsalcap/linter-redirections without Composer
On this page you can find all versions of the php package pardalsalcap/linter-redirections. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pardalsalcap/linter-redirections
More information about pardalsalcap/linter-redirections
Files in pardalsalcap/linter-redirections
Package linter-redirections
Short Description Add on to manage 404 and redirections into linter and filament
License MIT
Homepage https://github.com/pardalsalcap/linter-redirections
Informations about the package linter-redirections
Add on to manage 404 and redirections into linter and filament
main targets Filament 5.
v3.0.0 is the last release compatible with Filament 3.
This package is an add-on for the Linter panel to manage 404s and redirections. It includes a Filament resource and two dashboard widgets.
Installation
You can install the package via composer:
If you need Filament 3 compatibility, install v3.0.0.
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
To register the 404 or any Exception you like to monitor you can add the following code to your app/Exceptions/Handler.php file:
In Laravel 11 you can modify the /bootstrap/app.php file to add the following code:
If you want to log any other exception you can add it to the switch case.
Filament Resource
To manage redirections from your Filament panel, create an app resource that extends the package resource:
Widgets
To add the widgets to your Filament panel dashboard, register them in your panel provider:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- pardalsalcap
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of linter-redirections with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^11.0|^12.0
filament/filament Version ^5.0