PHPackages                             netflex/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. netflex/breadcrumbs

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

netflex/breadcrumbs
===================

Utilities to create breadcrumb navigation in Netflex.

v7.0.1(1mo ago)0152MITPHPPHP ^8.4

Since Jun 8Pushed 1mo agoCompare

[ Source](https://github.com/netflex-sdk/breadcrumbs)[ Packagist](https://packagist.org/packages/netflex/breadcrumbs)[ RSS](/packages/netflex-breadcrumbs/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (9)Versions (295)Used By (0)

Netflex Breadcrumbs
===================

[](#netflex-breadcrumbs)

[![Stable version](https://camo.githubusercontent.com/ffe0e6bf200dd1740cb0629511d2c779397656fd471ec2f55da48671f8b3f7c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6574666c65782f62726561646372756d62733f6c6162656c3d737461626c65)](https://packagist.org/packages/netflex/breadcrumbs)[![Build status](https://github.com/netflex-sdk/framework/actions/workflows/split_monorepo.yaml/badge.svg)](https://github.com/netflex-sdk/framework/actions/workflows/split_monorepo.yaml)[![License: MIT](https://camo.githubusercontent.com/4ab654ac03c01efe43cce5fc4de153c5bef02688bd1f4d004ffd69ac63c31211/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6574666c65782d73646b2f6c6f672e737667)](https://opensource.org/licenses/MIT)[![Contributors](https://camo.githubusercontent.com/e01836b76903338fa30a2133b13b6a0ae9710f22af63bd0f66128df370003623/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6e6574666c65782d73646b2f73646b2e7376673f636f6c6f723d677265656e)](https://github.com/netflex-sdk/sdk/graphs/contributors)[![Downloads](https://camo.githubusercontent.com/79ade56ee3f89a24e7064892772805e7f95497b67c9cb859ba25f0b2ba8ab8de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6574666c65782f62726561646372756d6273)](https://packagist.org/packages/netflex/breadcrumbs/stats)

\[READ ONLY\] Subtree split of the Netflex Breadcrumbs component (see [netflex/framework](https://github.com/netflex-sdk/framework))

Utilitiy class for creating breadcrumb navigations in Netflex Pages.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Options](#options)
- [Example usage in Blade components](#example-usage-in-blade-components)

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

[](#installation)

```
composer require netflex/breadcrumbs
```

Usage
-----

[](#usage)

```
use Netflex\Breadcrumbs\Breadcrumb;
use Netflex\Pages\Page;

// Create breadcrumb based on current page
$page = Page::current();
$options = [];
$breadcrumb = new Breadcrumb($page, $options);

// Get breadcrumb data
$breadcrumb = $breadcrumb->get();
```

The returned breadcrumb data will be formatted like this:

```
Illuminate\Support\Collection Object (
  [items:protected] => Array (
    [0] => Array (
      [label] => 'Home'
      [originalLabel] => 'Home'
      [path] => '/'
      [id] => 10000
      [type] => 'page'
      [published] => true
      [current] => false
    )
    [1] => Array (
      [label] => 'Example'
      [originalLabel] => 'Example'
      [path] => '/example'
      [id] => 10027
      [type] => 'page'
      [published] => true
      [current] => true
    )
  )
)
```

Options
-------

[](#options)

Options can be passed as an array when you instantiate the class.

OptionTypeDefault valueDescription`hideCurrentPage``boolean``false`If set to `true` the current page will be omitted from the breadcrumb`hideRootPage``boolean``false`If set to `true` the root page will be omitted from the breadcrumb`overrideRootPageLabel``string|null``null`If provided with a string, it will override the label of the root page`overrideRootPagePath``string|null``null`If provided with a string, it will override the path of the root page`inferCurrentPage``boolean``true`If set to `false` the current page will not be marked as current in the breadcrumb. Useful when appending items manually.Example usage in Blade components
---------------------------------

[](#example-usage-in-blade-components)

```

    @foreach ($breadcrumb as $item)
      @if ($item['current'])

            {{ $item['label'] }}

      @else

            {{ $item['label'] }}

      @endif
    @endforeach

```

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance94

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity93

Battle-tested with a long release history

 Bus Factor1

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

Recently: every ~68 days

Total

294

Last Release

31d ago

Major Versions

v4.50.2 → v5.0.02023-08-25

v4.43.0 → 5.3.22023-08-25

v4.48.1 → v6.1.52025-08-17

v4.50.3 → v6.7.02025-09-04

v6.6.0 → v7.0.02026-06-03

PHP version history (4 changes)v1.0.0PHP ^7.3

4.0.4PHP ^7.4|^8.0

v6.0.6PHP ^8.2

v7.0.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14291825?v=4)[Thomas Alrek](/maintainers/thomas-alrek)[@thomas-alrek](https://github.com/thomas-alrek)

![](https://www.gravatar.com/avatar/69fe60755c4db1cbc656a1553ccbcd028ca659b7de703366854370cd588b1906?d=identicon)[erikdju](/maintainers/erikdju)

---

Top Contributors

[![thomas-alrek](https://avatars.githubusercontent.com/u/14291825?v=4)](https://github.com/thomas-alrek "thomas-alrek (202 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")

### Embed Badge

![Health badge](/badges/netflex-breadcrumbs/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[webwizo/laravel-shortcodes

Wordpress like shortcodes for Laravel 11, 12 and 13

217700.9k8](/packages/webwizo-laravel-shortcodes)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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