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
Laravel:5
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

exa2040/laravel-seo

A SEO extension for your laravel project.

12 0
seo
aerni/advanced-seo

Comprehensive SEO addon for Statamic with flexibility in mind

21,931 18
jwohlfert23/laravel-seo

SEO tools to insert meta data in laravel projects

6,701 3
flobbos/laravel-seo-wrapper

A small wrapper for artesaos/seotools SEO Package

598 1
overturelabs/seo

Search engine optimization for Laravel.

10 1

Version History

Version Released PHP Laravel License
1.0.2 ^7.1 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.* MIT
1.0.1 ^7.1 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.* MIT
1.0.0 ^7.1 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.* MIT