PHPackages                             witify/laravel-seo-attributes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. witify/laravel-seo-attributes

ActiveLibrary[Templating &amp; Views](/categories/templating)

witify/laravel-seo-attributes
=============================

Quickly add SEO attribute to your views in Laravel

1.0.2(7y ago)01.8kMITPHPPHP ^7.1

Since May 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Witify/laravel-seo-attributes)[ Packagist](https://packagist.org/packages/witify/laravel-seo-attributes)[ Docs](https://github.com/Witify/laravel-seo-attributes)[ RSS](/packages/witify-laravel-seo-attributes/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Quick JSON reponses in Laravel
==============================

[](#quick-json-reponses-in-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/140b1aef78cfe796b5a4fed71315d26e07ec9437da2b5747cf86ca728f3ce030/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f5769746966792f6c61726176656c2d73656f2d617474726962757465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/witify/laravel-seo-attributes)[![Build Status](https://camo.githubusercontent.com/6cd1e6918e63464b2f8f6e194beff4e9f6c090a8ec041045ea029862c7abf81a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5769746966792f6c61726176656c2d73656f2d617474726962757465732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/witify/laravel-seo-attributes)[![Maintainability](https://camo.githubusercontent.com/153019227d081f1798a6e13a637ea8bc327846672ed3d80c162d2f466c94c913/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34633861333935663864373665363536353263352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Witify/laravel-seo-attributes/maintainability)[![Test Coverage](https://camo.githubusercontent.com/e1ddaf31813e635054d1a33febf980da4d7c147da45d7835d3b946f29d807cb3/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34633861333935663864373665363536353263352f746573745f636f766572616765)](https://codeclimate.com/github/Witify/laravel-seo-attributes/test_coverage)[![Total Downloads](https://camo.githubusercontent.com/2f6fa19824b3ad5d10e491a10a949f0c52fcbc975d4afaf5845521ecd101896d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f5769746966792f6c61726176656c2d73656f2d617474726962757465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/witify/laravel-seo-attributes)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require witify/laravel-seo-attributes
```

Usage
-----

[](#usage)

Add it to your controller:

```
use Witify\LaravelSeoAttributes\SeoTrait;

class HomeController extends Controller {
    use SeoTrait;
}
```

Available methods
-----------------

[](#available-methods)

MethodDescriptionseo()-&gt;setTitle(string $title)Adds seo.title value in the viewseo()-&gt;setDescription(string $description)Adds seo.description value in the viewseo()-&gt;setRelCanonical(string $relCanonical)Adds seo.rel\_canonical value in the view### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

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

Credits
-------

[](#credits)

- [François Lévesque](https://github.com/francoislevesque)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~177 days

Total

3

Last Release

2562d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0da4aab93bdcb97dcfbb14e8f8fd038dedfe50eb4ba03c52e2f5432838929ce4?d=identicon)[francoislevesque](/maintainers/francoislevesque)

---

Top Contributors

[![francoislevesque](https://avatars.githubusercontent.com/u/14022409?v=4)](https://github.com/francoislevesque "francoislevesque (1 commits)")

---

Tags

laravelseo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/witify-laravel-seo-attributes/health.svg)

```
[![Health](https://phpackages.com/badges/witify-laravel-seo-attributes/health.svg)](https://phpackages.com/packages/witify-laravel-seo-attributes)
```

###  Alternatives

[cagilo/cagilo

A set of open-source Blade components for the Laravel Framework

172996.5k](/packages/cagilo-cagilo)[ycs77/inertia-laravel-ssr-head

Simple SSR Head for Inertia Laravel

3211.5k](/packages/ycs77-inertia-laravel-ssr-head)[itstructure/laravel-grid-view

Grid view for laravel framework

2546.6k2](/packages/itstructure-laravel-grid-view)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
