witify/laravel-seo-attributes

Quickly add SEO attribute to your views in Laravel
1,844
Install
composer require witify/laravel-seo-attributes
Latest Version:1.0.2
PHP:^7.1
License:MIT
Last Updated:May 4, 2019
Links: GitHub  ·  Packagist
Maintainer: francoislevesque

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 info@witify.io instead of using the issue tracker.

Credits

License

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

Related Packages

garf/laravel-title

Convenient seo-titles assembler for your web application

244 4
artesaos/seotools

SEO Tools for Laravel and Lumen

5,777,437 3,367
helori/laravel-seo

SEO tools to insert meta and structured-data in laravel projects

4,934 12
werxe/laravel-seo

Seo management for Eloquent models.

1,270 3
arcanedev/laravel-seo

SEO Package for Laravel.

1,313 4