PHPackages                             in-square/opendxp-seo-bundle - 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. in-square/opendxp-seo-bundle

ActiveOpendxp-bundle[Utility &amp; Helpers](/categories/utility)

in-square/opendxp-seo-bundle
============================

Seo bundle for OpenDXP

v1.0.5(3mo ago)09GPL-3.0-or-laterPHP

Since Apr 15Pushed 3mo agoCompare

[ Source](https://github.com/in-square/opendxp-seo-bundle)[ Packagist](https://packagist.org/packages/in-square/opendxp-seo-bundle)[ Docs](https://github.com/in-square/opendxp-seo-bundle)[ RSS](/packages/in-square-opendxp-seo-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Simple seo bundle for OpenDXP
=============================

[](#simple-seo-bundle-for-opendxp)

Seo package that allows you to complete metadata very quickly

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

[](#installation)

```
composer require in-square/opendxp-seo-bundle

```

in the `config/bundles.php` file add

```
return [
    // another bundles
    InSquare\OpendxpSeoBundle\InSquareOpendxpSeoBundle::class => ['all' => true],
];
```

in the `config/packages/in_square_opendxp_seo.yaml` file add

### Basic configuration

[](#basic-configuration)

```
in_square_opendxp_seo: ~
```

#### Meta image thumbnail

[](#meta-image-thumbnail)

Set `thumbnail_name` to an existing image thumbnail definition from OpenDXP.

```
in_square_opendxp_seo:
    thumbnail_name: 'meta_tag_image'
```

#### Title pattern

[](#title-pattern)

[![](docs/img/title-pattern.png)](docs/img/title-pattern.png)

```
in_square_opendxp_seo:
    title_pattern:
        before: 'Content before seo title'
        after: 'content after seo title'
```

#### Hreflang x-default language

[](#hreflang-x-default-language)

By default, `x-default` points to the URL of OpenDXP `defaultLanguage`. You can override this behavior by setting a preferred language for `x-default`. If the configured language version does not exist for a given page/object, the bundle falls back to OpenDXP `defaultLanguage`.

```
in_square_opendxp_seo:
    hreflang:
        x_default_language: 'en'
```

Usage
-----

[](#usage)

in base template add

```

    {{ render_seo_tags() }}

```

### Document

[](#document)

Just complete the fields in the SEO section and create (optional) a custom property named **meta\_tag\_image** with the asset for the document.

If you want to provide keywords, use document property **seo\_keywords** (text). This bundle also provides **seo\_keywords** as a predefined property for documents. [![](docs/img/meta-tag-image-property.png)](docs/img/meta-tag-image-property.png)

in `controller` add

```
public function defaultAction(DocumentSeoMetaGenerator $seoMetaGenerator): Response
{
    $seoMetaGenerator->generate($this->document);

    return $this->render('default/default.html.twig');
}
```

### Object

[](#object)

An interface should be added to the object definition `\InSquare\OpendxpSeoBundle\Model\ObjectSeoInterface`[![](docs/img/implements-interface.png)](docs/img/implements-interface.png)

Then, according to the interface(`\InSquare\OpendxpSeoBundle\Model\ObjectSeoInterface`), create the necessary fields

[![](docs/img/object-definition.png)](docs/img/object-definition.png)

- seoTitle (text-&gt;input)
- seoDescription (text-&gt;textarea)
- seoKeywords (text-&gt;input)
- seoImage (media-&gt;image)

in controller

```
public function seoObjectAction(ObjectSeoMetaGenerator $seoMetaGenerator): Response
{
    /**
     * @var ObjectSeoInterface $test
     */
    $test = Test::getById(1);
    $url = 'absolute url to this object';

    $seoMetaGenerator->generate($test, $url);

    return $this->render('default/default.html.twig');
}
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance82

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

5

Last Release

91d ago

### Community

Maintainers

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

---

Top Contributors

[![twin-elements](https://avatars.githubusercontent.com/u/17727266?v=4)](https://github.com/twin-elements "twin-elements (6 commits)")

---

Tags

seoopendxpopendxp-pluginopendxp-bundle

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/in-square-opendxp-seo-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/in-square-opendxp-seo-bundle/health.svg)](https://phpackages.com/packages/in-square-opendxp-seo-bundle)
```

###  Alternatives

[artesaos/seotools

SEO Tools for Laravel and Lumen

3.4k5.4M63](/packages/artesaos-seotools)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6758.1M81](/packages/jbroadway-urlify)[spatie/laravel-robots-middleware

Add an `all` or `none` robots header to your requests via a middleware in Laravel

3372.2M5](/packages/spatie-laravel-robots-middleware)[sonata-project/seo-bundle

Symfony SonataSeoBundle

1382.8M43](/packages/sonata-project-seo-bundle)[yoast-seo-for-typo3/yoast_seo

Yoast SEO for TYPO3

511.7M9](/packages/yoast-seo-for-typo3-yoast-seo)[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

34653.7k17](/packages/brotkrueml-schema)

PHPackages © 2026

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