PHPackages                             d3turnes/bread-templates - 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. [Templating &amp; Views](/categories/templating)
4. /
5. d3turnes/bread-templates

ActiveLibrary[Templating &amp; Views](/categories/templating)

d3turnes/bread-templates
========================

Templating BREAD Views

1.0.13(8y ago)0404MITPHP

Since Jul 11Pushed 7y agoCompare

[ Source](https://github.com/d3turnes/bread-templates)[ Packagist](https://packagist.org/packages/d3turnes/bread-templates)[ RSS](/packages/d3turnes-bread-templates/feed)WikiDiscussions master Synced 2mo ago

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

Voyager Templates
=================

[](#voyager-templates)

[![Build Status](https://camo.githubusercontent.com/93037e6757ef285b6dcf8ffdec391a6f0abfd41a23fbab9620982439debb2065/68747470733a2f2f7472617669732d63692e6f72672f616b617a6f72672f766f79616765722d74656d706c617465732e7376673f6272616e63683d6465762d6d6173746572)](https://travis-ci.org/akazorg/voyager-templates)[![Build Status](https://camo.githubusercontent.com/a60bf53a5a74a0a691ad87f30c57b3f3e7faa7e58a0c94f5fb6c2b7982461422/68747470733a2f2f7374796c6563692e696f2f7265706f732f39343330363831352f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/94306815)[![Total Downloads](https://camo.githubusercontent.com/8cff838745ef75225ebd043693464a094bdd8e9bae2c10acd6325ae6f7273d73/68747470733a2f2f706f7365722e707567782e6f72672f616b617a6f72672f766f79616765722d74656d706c617465732f646f776e6c6f6164732e7376673f666f726d61743d666c6174)](https://packagist.org/packages/akazorg/voyager-templates)[![Latest Stable Version](https://camo.githubusercontent.com/619d436d41baa7eb9f95dc458a9e2449ebcb6605795edb57e1a694197d3c8df9/68747470733a2f2f706f7365722e707567782e6f72672f616b617a6f72672f766f79616765722d74656d706c617465732f762f737461626c652e7376673f666f726d61743d666c6174)](https://packagist.org/packages/akazorg/voyager-templates)[![License](https://camo.githubusercontent.com/c5fb84cf562c6dd85d83f567416b020c23b8dbd4596c88adf4b5bfa0488bef76/68747470733a2f2f706f7365722e707567782e6f72672f616b617a6f72672f766f79616765722d74656d706c617465732f6c6963656e73652e7376673f666f726d61743d666c6174)](https://packagist.org/packages/akazorg/voyager-templates)

Made by [Bruno Torrinha](http://torrinha.com)

This package let you use templates with BREAD views. It uses Laravel [Blade Stacks](https://laravel.com/docs/5.4/blade#stacks) to define each of the template sections where fields are pushed to.

You can manage Templates with the BREAD system, they are stored on database, and cache files are generated on disk at `/resources/views/vendor/voyager/templates/{template-slug}.blade.php`.

#### Template Example

[](#template-example)

Title: `Columns 6/6`

Slug: `columns-6-6`

View:

```

        @stack("lf")

        @stack("rg")

```

#### JSON Options

[](#json-options)

```
{
    "template": {
        "slug":  "columns-6-4",
        "stack": "lf"
    }
}
```

Usage
=====

[](#usage)

#### 1. Choose a Template

[](#1-choose-a-template)

When you access Templates, by clicking the menu, you will see 3 templates as default, you can add or modify any of them.

#### 2. Configure BREAD

[](#2-configure-bread)

Edit the BREAD, and use [JSON Options](#json-options) for defining the template and stack to use.

Notes:

- you may define the `template.slug` only once, on one field.
- fields with no stack parameter are pushed to the bottom.

Example
=======

[](#example)

To see it in action, Voyager `Pages` is provided as an example.

Make sure you have installed Voyager with dummy data.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

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

Recently: every ~0 days

Total

15

Last Release

3014d ago

Major Versions

v0.1.0 → 1.0.02017-07-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/31abd52541b08f744a5a9dd4f28a0b32a3048122d5b8680993dd3714c2dc9f5a?d=identicon)[d3turnes](/maintainers/d3turnes)

---

Top Contributors

[![akazorg](https://avatars.githubusercontent.com/u/34574?v=4)](https://github.com/akazorg "akazorg (65 commits)")[![d3turnes](https://avatars.githubusercontent.com/u/32837544?v=4)](https://github.com/d3turnes "d3turnes (9 commits)")[![marktopper](https://avatars.githubusercontent.com/u/2232539?v=4)](https://github.com/marktopper "marktopper (1 commits)")

---

Tags

laravelbladetemplateshooksviewsvoyagerlauncher

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/d3turnes-bread-templates/health.svg)

```
[![Health](https://phpackages.com/badges/d3turnes-bread-templates/health.svg)](https://phpackages.com/packages/d3turnes-bread-templates)
```

###  Alternatives

[cornford/bootstrapper

An easy way to intergrate Twitter Bootstrap with Laravel.

252.7k](/packages/cornford-bootstrapper)

PHPackages © 2026

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