Quickly add SEO attribute to your views in Laravel
witify/laravel-seo-attributes is a Laravel package for quickly add seo attribute to your views in laravel.
It currently has 0 GitHub stars and 1.844 downloads on Packagist (latest version 1.0.2).
Install it with composer require witify/laravel-seo-attributes.
Discover more Laravel packages by witify
or browse all Laravel packages to compare alternatives.
Last updated
You can install the package via composer:
composer require witify/laravel-seo-attributes
Add it to your controller:
use Witify\LaravelSeoAttributes\SeoTrait;
class HomeController extends Controller {
use SeoTrait;
}
| Method | Description | | --- | --- | | seo()->setTitle(string $title) | Adds seo.title value in the view | | seo()->setDescription(string $description) | Adds seo.description value in the view | | seo()->setRelCanonical(string $relCanonical) | Adds seo.rel_canonical value in the view |
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.