PHPackages                             areia-lab/laravel-seo-solution - 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. areia-lab/laravel-seo-solution

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

areia-lab/laravel-seo-solution
==============================

SEO management package with Tailwind UI backend, OpenGraph &amp; Twitter, and Blade helpers.

v1.3.0(10mo ago)023MITBladePHP ^8.1

Since Sep 3Pushed 10mo agoCompare

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

READMEChangelog (8)Dependencies (1)Versions (12)Used By (0)

Areia Lab – Laravel SEO Solution
================================

[](#areia-lab--laravel-seo-solution)

[![SEO Dashboard](public/images/seo-dashboard.png)](public/images/seo-dashboard.png)

A modern **Laravel SEO management package** with:

- 📊 **Tailwind UI backend** for managing SEO meta data
- 🌐 **OpenGraph &amp; Twitter Card** support out of the box
- ⚡ **Blade helpers** for easy rendering in views

📖 **Documentation:** [Complete Guide to Laravel SEO Solution](https://areia-lab.areiatech.com/docs/laravel-seo-solution.html)

---

🚀 Requirements
--------------

[](#-requirements)

- PHP **8.0+**
- Laravel **9.x / 10.x / 11.x / 12.x**
- Database supported by Laravel (MySQL, PostgreSQL, SQLite, etc.)
- Node &amp; NPM (if you want to customize/publish Tailwind UI)

---

📦 Installation
--------------

[](#-installation)

1. **Require the package**:

```
composer require areia-lab/laravel-seo-solution
```

2. **Publish config &amp; migrate**:

```
php artisan vendor:publish --tag=seo-config

php artisan vendor:publish --tag=seo-migrations

php artisan migrate
```

3. **Publish views**:

```
php artisan vendor:publish --tag=seo-views
```

---

⚙️ Configuration
----------------

[](#️-configuration)

The config file `config/seo.php` contains:

```
return [
    'route' => [
        'prefix' => env('SEO_PANEL_PREFIX', 'admin/seo'),
        'middleware' => ['web'],
    ],
    'disk' => env('SEO_DISK', 'public'),
    'defaults' => [
        'title_suffix' => '',
    ],
    'cache' => false,

    'panel' => [
        'title_prefix'  => 'Areia Lab SEO'
    ],
];
```

- Change `prefix` or `middleware` as needed.
- Run `php artisan storage:link` so uploaded OG/Twitter images are accessible.

---

🖥️ Admin Panel
--------------

[](#️-admin-panel)

Manage SEO meta records via:

```
/admin/seo

```

Features:

- Types: `global`, `page`, `model`
- Meta: `title`, `description`, `keywords`, `author`, `robots`, `canonical`
- OpenGraph: `title`, `description`, `type`, `image`
- Twitter: `title`, `description`, `card`, `image`

---

📝 Usage in Blade
----------------

[](#-usage-in-blade)

Place directives inside your layout `` section. Remove `` (tag) or `{{ config('app.name', 'Laravel') }}` (this line) from your layout`` section.

### 1. Global

[](#1-global)

```
@seoGlobal
```

or:

```
{!! app('seo')->global()->render() !!}
```

---

### 2. Page-specific

[](#2-page-specific)

```
@seoAutoPage

@seoPage('contact') // Using Route Name. e.g. "->name('contact')"

# or

@seoPage('contact-us') // Using URL Slug. e.g. "/contact-us"
```

or:

```
{!! app('seo')->forPage('contact')->render() !!}

# or

{!! app('seo')->forPage('contact-us')->render() !!}
```

---

### 3. Model-based (e.g. Blog Post)

[](#3-model-based-eg-blog-post)

```
@php
$post = Post::first();
@endphp

@seoModel($post)
```

or:

```
@php
$post = Post::first();
@endphp

{!! app('seo')->forModel($post)->render() !!}
```

### ✅ All Together in Layout

[](#-all-together-in-layout)

```

  @seoGlobal

  @seoAutoPage // This blade derivative is recommaded
  # or
  @isset($pageKey)
    @seoPage($pageKey) // Pass Data from blade. If Data changed from pannel it may not work. you need to fix statically
  @endisset
  # or
  @seoPage(Route::currentRouteName()) // it may not work if Route name means "->name('something')" not define or not match
  # or
  @seoPage(request()->path()) // it may not work if Route Uri "Route::get('something')" not match

  @isset($post)
      @seoModel($post)
  @endisset

```

---

🔗 Examples
----------

[](#-examples)

### ✅ Layout Example

[](#-layout-example)

```

  @yield('title', 'My Website')

  {{-- Inject SEO --}}
  @seoGlobal

  @seoAutoPage

  @isset($pageKey)
      @seoPage($pageKey)
  @endisset

  @isset($seoModel)
      @seoModel($seoModel)
  @endisset

  @yield('content')

```

---

### ✅ Page Example 1

[](#-page-example-1)

```
['pageKey' => request()->path() ?? (Route::currentRouteName() ?? '/')]

# or

@extends('layouts.app')

@section('title', 'Contact Us')

@section('content')
  Contact Us
  Feel free to reach out!
@endsection

@push('head')
  @seoPage('contact')
@endpush
```

### ✅ Page Example 2

[](#-page-example-2)

### Inside Layout

[](#inside-layout)

```

  @yield('title', 'My Website')

  @stack('head')

  @yield('content')

```

```
@extends('layouts.app')

@section('title', 'Contact Us')

@section('content')
  Contact Us
  Feel free to reach out!
@endsection

@push('head')
  @seoPage('contact')
@endpush

# or

@push('head')
  @seoPage('/contact-us')
@endpush
```

---

### ✅ Model Example

[](#-model-example)

- First enable from config

```
'menu' => [
  'model'  => true, // Hide model management by default
]
```

```
# inside your all seo able model you need to add 'HasSeoMeta' Trait
# It require for getting only seo free model instance
# In your 'Blog, Service, Product, Post' model jus add

use AreiaLab\LaravelSeoSolution\Traits\HasSeoMeta;

use HasSeoMeta;
```

```
@extends('layouts.app')

@section('title', $post->title)

@section('content')
  {{ $post->title }}
  {{ $post->body }}
@endsection

@push('head')
  @seoModel($post)
@endpush
```

---

### ✅ For Production or Host inside (Cpanel, AWS or Other)

[](#-for-production-or-host-inside-cpanel-aws-or-other)

```
php artisan vendor:publish --tag=seo-views
```

```
npm install
npm run build
```

Go To ``

```
# remove this line from ``
@vite(['resources/css/app.css', 'resources/js/app.js'])

# Add

```

---

🌱 Seeder
--------

[](#-seeder)

Seed default SEO meta:

```
php artisan db:seed --class="AreiaLab\LaravelSeoSolution\Database\Seeders\SeoMetaSeeder"
```

---

📖 License
---------

[](#-license)

MIT License – Use freely in personal &amp; commercial projects.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance54

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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 ~4 days

Total

10

Last Release

306d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/142617586?v=4)[Areia Tech](/maintainers/areiatech)[@areiatech](https://github.com/areiatech)

---

Top Contributors

[![engr-akramulhoque](https://avatars.githubusercontent.com/u/116001734?v=4)](https://github.com/engr-akramulhoque "engr-akramulhoque (42 commits)")[![areiatech](https://avatars.githubusercontent.com/u/142617586?v=4)](https://github.com/areiatech "areiatech (9 commits)")

---

Tags

seoopengraphmeta-tagsseo managerseo managementareialablaravel-seo-solutionseo-solutionmeta-managerseo-package

### Embed Badge

![Health badge](/badges/areia-lab-laravel-seo-solution/health.svg)

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

###  Alternatives

[artesaos/seotools

SEO Tools for Laravel and Lumen

3.4k5.6M65](/packages/artesaos-seotools)[fomvasss/laravel-meta-tags

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

3130.0k](/packages/fomvasss-laravel-meta-tags)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[devrabiul/laravel-seo-manager

Laravel SEO Manager is an SEO tool that improves SEO by adding recommended meta tags.

397.1k](/packages/devrabiul-laravel-seo-manager)[larament/seokit

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

453.0k](/packages/larament-seokit)

PHPackages © 2026

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