LaravelPackages.net
Acme Inc.
Toggle sidebar
witify/laravel-seo-attributes

Quickly add SEO attribute to your views in Laravel

1.844
0
1.0.2
About witify/laravel-seo-attributes

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

Quick JSON reponses in Laravel

Latest Version on Packagist Build Status Maintainability Test Coverage Total Downloads

Installation

You can install the package via composer:

composer require witify/laravel-seo-attributes

Usage

Add it to your controller:


use Witify\LaravelSeoAttributes\SeoTrait;

class HomeController extends Controller {
    use SeoTrait;
}

Available methods

| 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 |

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Star History Chart