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
This package is and add on to the linter panel to manage 404 and redirections. It includes a filament resource for managng and redirecting 404 and 2 widgets for the dashboard to get the information of the 404 and redirections.
Installation
You can install the package via composer:
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:
If you want to log any other exception you can add it to the switch case.
Resources
You can extend the RedirecionsResource to add the ability to manage the redirections from the filament panel. To do so you can create a Resource like this:
Widgets
To add the widgets to the dashboard you can add the following code to your filament panel widgets section:
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 ^10.0|^11.0
filament/filament Version ^3.0-stable