Download the PHP package salamwaddah/laravel-canonical without Composer
On this page you can find all versions of the php package salamwaddah/laravel-canonical. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download salamwaddah/laravel-canonical
More information about salamwaddah/laravel-canonical
Files in salamwaddah/laravel-canonical
Package laravel-canonical
Short Description :package_description
License MIT
Homepage https://github.com/salamwaddah/laravel-canonical
Informations about the package laravel-canonical
Laravel canonical
Laravel Canonical is a simple package designed to help you manage canonical URLs in your Laravel applications. This package provides a convenient way to generate canonical URLs based on the current request, allowing you to avoid duplicate content issues and improve SEO.
Installation
Usage
Add to your layout or any blade file where canonical is needed
Configuration
The package comes with a default configuration file that allows you to specify which query parameters should be included in the canonical URL.
The following default configuration will filter out any query parameters in the page URL and only allow
the page=1
, page=2
, page=...
You can customize this configuration to meet your specific requirements. To publish the configuration file, run the following command:
Testing
All versions of laravel-canonical with dependencies
illuminate/config Version ^8.0|^9.0|^10.0|^11.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0