PHPackages                             in-square/opendxp-breadcrumbs - 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-breadcrumbs

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

in-square/opendxp-breadcrumbs
=============================

Breadcrumbs builder for OpenDXP documents with multisite and multilanguage support.

v1.0.0(3mo ago)09↓90%GPL-3.0-or-laterPHPPHP ^8.3

Since Mar 30Pushed 3mo agoCompare

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

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

InSquare OpenDXP Breadcrumbs
============================

[](#insquare-opendxp-breadcrumbs)

Breadcrumbs builder for OpenDXP documents with multisite and multilanguage support.

Requirements
------------

[](#requirements)

- PHP 8.3+
- OpenDXP 1.x / Symfony 7.4
- huluti/breadcrumbs-bundle

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

[](#installation)

```
composer require in-square/opendxp-breadcrumbs
```

Usage
-----

[](#usage)

Inject the service and generate breadcrumbs from the current document:

```
use InSquare\OpendxpComponents\Breadcrumbs\Breadcrumbs;
use OpenDxp\Model\Document;

public function defaultAction(Document $document, Breadcrumbs $breadcrumbs): Response
{
    $breadcrumbs->generateDocumentBreadcrumbs($document);

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

Add extra items (for example, object details):

```
$breadcrumbs
    ->generateDocumentBreadcrumbs($document)
    ->addItem($object->getName(), $objectUrl);
```

Behavior
--------

[](#behavior)

- Skips `Link` and `Folder` documents, and documents with `navigation_exclude`.
- Resolves label from `navigation_name` property, then `title`, then `key`.
- Determines the language root by walking up the parents and stopping at the last document with the same explicit `language` property as the current page.
- Uses the current request host to build absolute URLs.

Rendering
---------

[](#rendering)

The component uses huluti/breadcrumbs-bundle, so you can render in Twig:

```
{{ wo_render_breadcrumbs() }}
```

Configure the view template in `config/packages/huluti_breadcrumbs.yaml` as needed.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

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 (1 commits)")

---

Tags

breadcrumbsopendxpopendxp-plugin

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[illuminate/session

The Illuminate Session package.

9938.5M823](/packages/illuminate-session)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[symfony/ux-autocomplete

JavaScript Autocomplete functionality for Symfony

635.5M36](/packages/symfony-ux-autocomplete)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)

PHPackages © 2026

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