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.

v6.4.0(8mo ago)0152MITPHPPHP ^8.2

Since Jun 8Pushed 2mo agoCompare

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

READMEChangelogDependencies (3)Versions (287)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

49

—

FairBetter than 95% of packages

Maintenance75

Regular maintenance activity

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity87

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

Total

286

Last Release

256d ago

Major Versions

2.x-dev → 4.0.02021-11-18

v4.50.2 → v5.1.12023-08-25

v4.45.0 → v5.0.02023-08-25

v5.4.5 → v6.1.22025-08-17

v4.50.3 → v6.1.102025-09-04

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

4.0.4PHP ^7.4|^8.0

v6.1.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/302a4d5539139f2957faf60d731a0fbb346a2a1419acf9ace282e91a3edd8099?d=identicon)[thomas-alrek](/maintainers/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 (201 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

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k33.8M339](/packages/yajra-laravel-datatables-oracle)[cknow/laravel-money

Laravel Money

1.0k4.3M22](/packages/cknow-laravel-money)[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)

PHPackages © 2026

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