PHPackages                             srg/laranx-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. srg/laranx-seo

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

srg/laranx-seo
==============

LaraNx SEO, meta tag management for Laravel websites

0.1.1(4y ago)12312MITPHPPHP ^7.4|^8.0

Since Jan 10Pushed 4y ago2 watchersCompare

[ Source](https://github.com/ser-gi-o/laranx-seo)[ Packagist](https://packagist.org/packages/srg/laranx-seo)[ RSS](/packages/srg-laranx-seo/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

LaraNx Seo
==========

[](#laranx-seo)

LaraNx Seo enables your Laravel app to store SEO and social media meta tag data in database instead of your code. Moving marketing data out of your code base and into your database where it is easily modified.

LaraNx Seo creates tag nodes and associates them with files, then renders tags in your views' head section.

This is the perfect solution for sites that require application logic to be applied to public pages where SEO is important without needing to embed logic in CMS software like WordpPress and Ghost.

This package and the Full LaraNx package are ideal for Laravel websites homepage and primary pages, since these pages are usually highly customized.

You can also use the SEO portion of the package for pages that use the page's content to generate tags (ie products, books, etc.)

How LaraNx Seo works
--------------------

[](#how-laranx-seo-works)

### Create Tag:

[](#create-tag)

This is an example. You can create your own CRUD resource or get [LaraNx Full Version](https://laranx.com)

```
$tag = new Tag;
$tagData = [
    'page'                => 'about',             //identifier
    'title'               => 'about title',
    'description'         => 'about description',
    'canonical'           => 'https://example.com',
    'feature_image'       => 'https://example.com/images/feature.png',
    'og_title'            => '',                 //if blank render will use title
    'og_description'      => '',                 //if blank render will use description
    'og_image'            => '',                 //if blank render will use feature_image
    'twitter_title'       => '',                 //if blank render will use title
    'twitter_description' => '',                 //if blank render will use description
    'twitter_image'       => '',                 //if blank render will use feature_image
    'jsonld'              => '',                 //add validated jsonld string
];
$tag->store($tagData['page'], $tagData);
```

### Retrieve tag node

[](#retrieve-tag-node)

In controller retrieve tag:

```
$this->seo = new Seo;                    //this can be placed in constuctor
$this->seo->fill('about', 'Site Name');  //use page identifier and site name

//pass seo to view
```

### Page's content to render seo meta tags

[](#pages-content-to-render-seo-meta-tags)

In controller retrieve model:

```
$product = Product::find($productId);

$seo = new Seo;                          //can be placed in constructor $this->seo
$seo->title($product->title);
$seo->description($product->description);
$seo->canonical('page-canonical');

$seo->opengraph('type', 'website');
$seo->opengraph('site_name', 'Site Name');
$seo->opengraph('title', $product->title);
$seo->opengraph('description', $product->description);
$seo->opengraph('url', 'page-canonical');
$seo->opengraphImage($product->imageUrl);

$seo->twitter('card', 'summary_large_image');
$seo->twitter('title', $product->title);
$seo->twitter('description', $product->description);
$seo->twitter('url', 'page-canonical');
$seo->twitter('image', $product->imageUrl);

//pass seo to view
```

### Output meta tags

[](#output-meta-tags)

layout.blade.php

```

    {{-- SEO tags --}}
    {!! $seo->render() !!}

```

Rendered Tags: [![Rendered tags!](https://camo.githubusercontent.com/06dcc48dcaf14ebab076e9979f07a13cede0edfc4861a7cf9442257f732a0585/68747470733a2f2f6c6172616e782e636f6d2f696d616765732f6c6172616e7873656f2f41626f75742d4c6172614e782d53454f2d4c61726176656c2d6f70656e2d736f757263652d7061636b6167652d666f722d73746f72696e672d6d6574612d746167732e706e67 "LaraNx Seo")](https://camo.githubusercontent.com/06dcc48dcaf14ebab076e9979f07a13cede0edfc4861a7cf9442257f732a0585/68747470733a2f2f6c6172616e782e636f6d2f696d616765732f6c6172616e7873656f2f41626f75742d4c6172614e782d53454f2d4c61726176656c2d6f70656e2d736f757263652d7061636b6167652d666f722d73746f72696e672d6d6574612d746167732e706e67)

Want a complete marketing solution with admin interface, site configuration, site tag fallback, and theme management features consider purchasing [![LaraNx Seo and Theme Management!](https://camo.githubusercontent.com/917acc6885e37344f3325fb96673ec6da4d75edb69f4942ccaeb65eec94e2095/68747470733a2f2f6c6172616e782e636f6d2f696d616765732f6c6172616e7873656f2f6c6172616e782d66756c6c2d636f7665722e706e67 "LaraNx Seo and Theme Management")](https://laranx.com "LaraNx Seo and Theme Management")

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

1580d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f25a0277c9f9d018e0ccc1fdbdf9d7920f8f4040ac935484a7ea8ca583b14bf?d=identicon)[srg](/maintainers/srg)

---

Top Contributors

[![ser-gi-o](https://avatars.githubusercontent.com/u/7634076?v=4)](https://github.com/ser-gi-o "ser-gi-o (5 commits)")

---

Tags

laravelfacebooktwitterseometa-tagssrglaranxlaranx-seo

### Embed Badge

![Health badge](/badges/srg-laranx-seo/health.svg)

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

###  Alternatives

[arcanedev/seo-helper

SEO Helper is a framework agnostic package that provides tools &amp; helpers for SEO (Laravel supported).

332467.0k4](/packages/arcanedev-seo-helper)[honeystone/laravel-seo

SEO metadata and JSON-LD package for Laravel.

34744.1k](/packages/honeystone-laravel-seo)[fomvasss/laravel-meta-tags

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

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

HTML meta tags generator for PHP.

4628.6k1](/packages/pedroborges-meta-tags)[ryannielson/shareable

A Laravel 4 package to make it easy to add social sharing buttons to your application.

222.8k](/packages/ryannielson-shareable)[larament/seokit

A complete SEO package for Laravel, covering everything from meta tags to social sharing and structured data.

411.9k](/packages/larament-seokit)

PHPackages © 2026

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