PHPackages                             astroanu/laravel-seo-gen - 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. astroanu/laravel-seo-gen

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

astroanu/laravel-seo-gen
========================

SEO friendly meta tags generator for Laravel

1.2.0(9y ago)89448MITPHP

Since May 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/astroanu/laravel-seo-gen)[ Packagist](https://packagist.org/packages/astroanu/laravel-seo-gen)[ RSS](/packages/astroanu-laravel-seo-gen/feed)WikiDiscussions master Synced today

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

laravel-seo-gen
===============

[](#laravel-seo-gen)

SEO friendly meta tags generator for Laravel

### Usage

[](#usage)

add the provider to config\\app.php:

```
'Astroanu\SEOGen\SEOGenProvider'

```

run php artisan vendor:publish to copy the config file.

```
	'meta' => [

		'default_title' => 'My App', // default title for application
		'concat_default_title' => true, // wheatehr to concat the default title with the provided title. if this is true and if a title if provided in the controller the result would be "provided title : My App"
		'concat_with' => ' : ' // the string to concat the titles

	],

	'social' => [

		'og' => [
			'render' => true, // wheather to render facebook og tags or not
			'additional_og_tags' => [] // additinal tags to consider when rendering og tags
		],

		'twitter' => [
			'render' => true // wheather to render twitter meta tags or not
		]

	]

```

In the base controller:

```
abstract class Controller extends BaseController {

	protected $metaData;

	public function __construct()
	{
		$this->metaData = new \Astroanu\SEOGen\Data();
	}

}

```

in the controller set the tag attributes and pass them to the view:

```
$this->metaData->title = 'Welcome';
$this->metaData->description = 'Some demo text here for you to see';
$this->metaData->robots = 'noindex,nofollow';
$this->metaData->image = 'http://www.sample.com/image.jpg';

return view('welcome', ['metaData' => $this->metaData]);

```

in the view render everything:

```

```

### Example

[](#example)

```
// config

return 	array(

	'meta' => [

		'default_title' => 'My App',
		'concat_default_title' => true,
		'concat_with' => ' : '

	],

	'social' => [

		'og' => [
			'render' => true,
			'additional_og_tags' => ['fb__app_id', 'test_tag']
		],

		'twitter' => [
			'render' => true
		]

	]

);

// controller

$this->metaData->title = 'Welcome';
$this->metaData->description = 'Some demo text here for you to see';
$this->metaData->robots = 'noindex,nofollow';
$this->metaData->image = 'http://www.sample.com/image.jpg';
$this->metaData->fb__app_id = '456456456456'; // double underscore will be treated as a namespace
$this->metaData->test_tag = 'test text'; // this will still render as a meta tag

return view('welcome', ['metaData' => $this->metaData]);

```

will yeild:

```
Welcome : My App

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 88.2% 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 ~266 days

Total

3

Last Release

3531d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7db56cb35cd72e4d3ea23805145a758d8039f80ccfd9ece709968c072c463aca?d=identicon)[astroanu](/maintainers/astroanu)

---

Top Contributors

[![astroanu](https://avatars.githubusercontent.com/u/1479064?v=4)](https://github.com/astroanu "astroanu (15 commits)")[![ccrisrober](https://avatars.githubusercontent.com/u/6024024?v=4)](https://github.com/ccrisrober "ccrisrober (1 commits)")[![ronnievisser](https://avatars.githubusercontent.com/u/1931199?v=4)](https://github.com/ronnievisser "ronnievisser (1 commits)")

---

Tags

laravelmetadataseo-optimizationlaravelhtmltagsseometa

### Embed Badge

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

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

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M64](/packages/nystudio107-craft-seomatic)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[fomvasss/laravel-meta-tags

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

3129.8k](/packages/fomvasss-laravel-meta-tags)[torann/laravel-meta-tags

A package to manage Header Meta Tags

69279.6k4](/packages/torann-laravel-meta-tags)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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