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

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

floor12/breadcrumbs-microdata
=============================

Html breadcrumb with microdata generator.

1.0.0(5y ago)231MITPHPPHP &gt;=7.1.0

Since May 4Pushed 3y ago1 watchersCompare

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

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

breadcrumbs-microdata
=====================

[](#breadcrumbs-microdata)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0c58f95a7a48d2c85bdf9fb61fcd1b8661e0889b4c9309d09f6655236484dfc3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666c6f6f7231322f62726561646372756d62732d6d6963726f646174612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/floor12/breadcrumbs-microdata/?branch=master)[![Build Status](https://camo.githubusercontent.com/6392997019086fa8c7be120950d8ac47254b5450241da608a95ed1ec87520f83/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666c6f6f7231322f62726561646372756d62732d6d6963726f646174612f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/floor12/breadcrumbs-microdata/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/599f40fe82dec20557612f8f60628e7cadabb407b4d577d1101ed971511418b0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666c6f6f7231322f62726561646372756d62732d6d6963726f646174612f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/floor12/breadcrumbs-microdata/?branch=master)

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

[](#installation)

Add this package to your project with composer.

```
composer require "floor12/breadcrumbs-microdata"
```

Usage
-----

[](#usage)

The breadcrumbs api is simple and clear. Here are some examples. This:

```
use floor12\Breadcrumbs\Breadcrumbs;

$elements = [
    '/first' => 'First element 1',
    '/first/second' => 'Second element 2',
    'Current',
];
(new Breadcrumbs($elements))->getHtml();
```

or this:

```
use floor12\Breadcrumbs\Breadcrumbs;

(new Breadcrumbs())
        ->addElement('First element 1', '/first')
        ->addElement('Second element 2', '/first/second')
        ->addElement('Current')
        ->getHtml();
```

... will generate this html code:

```

            First element 1

        Second element 2

        Current

```

Its also possible to set your own id and CSS class name:

```
use floor12\Breadcrumbs\Breadcrumbs;

(new Breadcrumbs([]))
    ->setMainId('some-id')
    ->setCssClass('some-css-class')
    ->getHtml();
```

Css styles
----------

[](#css-styles)

To make default pretty styled breadcrumbs, include `scss/f12-breadcrumbs.scss` or `scss/f12-breadcrumbs.css`to your project styles and override what you need.

Contributing
------------

[](#contributing)

I will be glad of any help in the development, support and bug reporting of this module.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

1831d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dc98d778cb18db41a1e5b9df722c56f65f655de44fe0d581484cd8dea31b928?d=identicon)[floor12](/maintainers/floor12)

---

Top Contributors

[![floor12](https://avatars.githubusercontent.com/u/8406969?v=4)](https://github.com/floor12 "floor12 (18 commits)")

---

Tags

htmlnavigationbreadcrumbsmicrodata

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)[extpoint/yii2-megamenu

Configurable site map with auto generate page title, breadcrumbs and navigation

3310.9k](/packages/extpoint-yii2-megamenu)[geeklabs/ci4-breadcrumbs

Breadcrumb navigation for CodeIgniter 4

2813.5k](/packages/geeklabs-ci4-breadcrumbs)[naucon/breadcrumbs

The breadcrumb package helps to integrate a common breadcrumb navigation into a web application. The package includes two components: A breadcrumbs class to add breadcrumb elements and a breadcrumbs helper to render html markup in php or smarty templates.

1225.4k](/packages/naucon-breadcrumbs)

PHPackages © 2026

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