PHPackages                             sukohi/bakery - 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. sukohi/bakery

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

sukohi/bakery
=============

A PHP package mainly developed for Laravel to generate breadcrumbs using routes.

2.0.0(10y ago)031PHP

Since Nov 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/SUKOHI/Bakery)[ Packagist](https://packagist.org/packages/sukohi/bakery)[ RSS](/packages/sukohi-bakery/feed)WikiDiscussions master Synced 1mo ago

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

Bakery
======

[](#bakery)

A PHP package mainly developed for Laravel to generate breadcrumbs using routes.
(This is for Laravel 4.2. [For Laravel 5+](https://github.com/SUKOHI/Bakery))

Installation
============

[](#installation)

Add this package name in composer.json

```
"require": {
  "sukohi/bakery": "2.*"
}

```

Execute composer command.

```
composer update

```

Register the service provider in app.php

```
'providers' => [
    ...Others...,
    Sukohi\Bakery\BakeryServiceProvider::class,
]

```

Also alias

```
'aliases' => [
    ...Others...,
    'Bakery'   => Sukohi\Bakery\Facades\Bakery::class
]

```

Usage
=====

[](#usage)

```
$params = [

	'home' => 'Home',
	'home.area:vancouver' => 'Vancouver',
	'home.food:sushi,popular' => 'Popular sushi restaurants',
	'*' => 'Samurai'

];

foreach(\Bakery::get($params) as $bakery) {

	if($bakery->isCurrent) {

		echo $bakery->title;

	} else {

		echo link_to($bakery->url, $bakery->title) .' &gt; ';

	}

}

```

About parameter pattern
=======================

[](#about-parameter-pattern)

1. 'route' =&gt; 'title'
2. 'route:parameter' =&gt; 'title'
3. 'route:parameter1,parameter2' =&gt; 'title',
4. '\*' =&gt; 'Current Page'

License
=======

[](#license)

This package is licensed under the MIT License.

Copyright 2014 Sukohi Kuhoh

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~1 days

Total

6

Last Release

3921d ago

Major Versions

1.0.1 → 2.0.02015-08-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/2980d59b309d45df3f2e6e51b1d336614da063240b8f76f873f287cd745ec5db?d=identicon)[Sukohi](/maintainers/Sukohi)

---

Top Contributors

[![SUKOHI](https://avatars.githubusercontent.com/u/5362394?v=4)](https://github.com/SUKOHI "SUKOHI (1 commits)")

### Embed Badge

![Health badge](/badges/sukohi-bakery/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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