PHPackages                             wuifdesign/laravel-seo - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wuifdesign/laravel-seo

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

wuifdesign/laravel-seo
======================

SEO integration for Laravel

v0.1.1(10y ago)54992MITPHPPHP &gt;=5.4.0

Since Aug 21Pushed 10y ago2 watchersCompare

[ Source](https://github.com/wuifdesign/laravel-seo)[ Packagist](https://packagist.org/packages/wuifdesign/laravel-seo)[ RSS](/packages/wuifdesign-laravel-seo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Laravel SEO
-----------

[](#laravel-seo)

- **Laravel**: 5.1

This package includes a helper for SEO Meta tags (Meta, OpenGraph, Twitter) and rendering schema blocks.

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

[](#installation)

Firstly you want to include this package in your `composer.json` file,

```
"require": {
    "wuifdesign/laravel-seo": "0.1.*"
}

```

and update or install via composer:

```
composer update

```

Or you can just run:

```
composer require wuifdesign/laravel-seo

```

Next you open up `app/config/app.php` and add

```
providers' => [
     WuifDesign\SEO\ServiceProvider::class
]

```

If you want to use the facade you should also add the following to the file

```
'aliases' => [
    'SEOTool'=> \WuifDesign\SEO\Facades\SEOTool::class,
],

```

Now you should run

```
php artisan vendor:publish

```

to copy the config file to `app/config/seo.php`.

After running the command, the config file will look like the following:

```
return array(

    'enable_logging' => false,
    'used_prefixes'  => array('og'),

    'meta' =>  array(
        'title_styling' => '%title% - %subtitle%',
        'page_title'       => '123',

        'tags' => array(
            'title' => null,
            'description' => null,
            'author'      => array(null, 'rel'),
        ),

        'webmaster_tags' => array(
            'google'    => null,
            'bing'      => null,
            'alexa'     => null,
            'pinterest' => null,
            'yandex'    => null,
        ),
    ),

    'opengraph' =>  array(
        'tags' => array(
            'title'       => '',
            'description' => '',
            'url'         => null,
            'type'        => null,
            'site_name'   => null,
            'images'      => array(),
        ),
    ),

    'twitter' =>  array(
        'tags' => array(
            'card'        => null,
            'title'       => null,
            'description' => null,
            'site'        => null,
            'creator'     => null,
            'url'         => null,
            'images'      => array(),
        ),
    ),

    'schema' =>  array(
        'organization' => array(
            'type'   => 'Organization',
            'tags' => array(
                'name'    => null,
                'address' => array(
                    'type'           => 'PostalAddress',
                    'tags' => array(
                        'streetAddress'   => null,
                        'postalCode'      => null,
                        'addressLocality' => null,
                        'addressCountry' =>  null,
                    ),
                ),
                'geo'  => array(
                    'type'     => 'GeoCoordinates',
                    'hidden'   => true,
                    'tags' => array(
                        'latitude'  => null,
                        'longitude' => null,
                    ),
                ),
                'telephone' => null,
                'faxNumber' => null,
                'email'     => null,
            ),

        ),
    ),

);

```

You can now add strings for the tags, and if you want to set the attribute for the element, you can parse an array:

```
'name' => array($value, $attribute)

```

Usage
-----

[](#usage)

### Meta

[](#meta)

Add Title/description using:

```
SEOTool::setTitle('Title');
SEOTool::setDescription('Description');
SEOTool::addImage('http://example.com/hello-world.jpg');

```

If you want to render all SEO Tags using Blade just add the following to your `` section.

```
{!! SEOTool::render() !!}

```

If you just want to add a metadata to a single meta type you can also use

```
SEOTool::metatags()->setTitle('Title');
SEOTool::opengraph()->setTitle('Title');
SEOTool::twitter()->setTitle('Title');

```

Or if you just want to add a custom tag use

```
SEOTool::metatags()->addProperty($key, $value[, $name]);
SEOTool::opengraph()->addProperty($key, $value[, $name]);
SEOTool::twitter()->addProperty($key, $value[, $name]);

```

To render all prefixes defined in the config use (available prefixes: 'og', 'fb', 'music', 'video', 'article', 'book', 'website')

```

```

### Schema

[](#schema)

You can define as many schemas as you like in the config file. To display the schema just add the following code.

```
{!! SEOTool::renderSchema($key) !!}

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~98 days

Total

2

Last Release

3824d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9a12a5f51cb9d82a90b9da083d66dca3e83303059a554d1b27841d2a9f49aed?d=identicon)[wuif](/maintainers/wuif)

---

Top Contributors

[![SwissWeb](https://avatars.githubusercontent.com/u/8927460?v=4)](https://github.com/SwissWeb "SwissWeb (1 commits)")[![wuifdesign](https://avatars.githubusercontent.com/u/5678318?v=4)](https://github.com/wuifdesign "wuifdesign (1 commits)")

---

Tags

laravelseo

### Embed Badge

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

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

###  Alternatives

[artesaos/seotools

SEO Tools for Laravel and Lumen

3.3k5.1M60](/packages/artesaos-seotools)[lionix/seo-manager

SEO Manager for Laravel Framework

2165.4k](/packages/lionix-seo-manager)[fomvasss/laravel-meta-tags

A package to manage SEO (meta-tags, xml-fields, etc.)

3028.9k](/packages/fomvasss-laravel-meta-tags)

PHPackages © 2026

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