All Projects → launcher-host → bread-templates

launcher-host / bread-templates

Licence: MIT license
BREAD Templates with Voyager

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to bread-templates

voyager-portfolio
A Portfolio Module for Laravel Voyager 💋
Stars: ✭ 15 (-21.05%)
Mutual labels:  laravel-package, voyager
voyager-redirects
A Hook that allows you to add redirects to your Laravel and Voyager App
Stars: ✭ 31 (+63.16%)
Mutual labels:  voyager, voyager-hooks
voyager-page-blocks
A module to provide page blocks for Voyager 📝
Stars: ✭ 80 (+321.05%)
Mutual labels:  laravel-package, voyager
laravel-secureheaders
🔒 SecureHeaders wrapper for Laravel.
Stars: ✭ 52 (+173.68%)
Mutual labels:  laravel-package
meituan-pub-union
🌈 美团分销联盟 PHP-SDK
Stars: ✭ 19 (+0%)
Mutual labels:  laravel-package
laravel-smart-facades
Strategy design pattern in laravel, the easiest way.
Stars: ✭ 84 (+342.11%)
Mutual labels:  laravel-package
laravel-ab
Laravel A/B experiment testing tool
Stars: ✭ 108 (+468.42%)
Mutual labels:  laravel-package
laravel-helper-functions
Laravel-specific and pure PHP Helper Functions.
Stars: ✭ 106 (+457.89%)
Mutual labels:  laravel-package
crypton
Laravel Request & Response Encryption
Stars: ✭ 31 (+63.16%)
Mutual labels:  laravel-package
simple-recaptcha-v3
🤖 This repository contains simple reCAPTCHA v3 integration for your Laravel application.
Stars: ✭ 25 (+31.58%)
Mutual labels:  laravel-package
laravel-snowflake
This Laravel package to generate 64 bit identifier like the snowflake within Twitter.
Stars: ✭ 94 (+394.74%)
Mutual labels:  laravel-package
laracash
PHP Laravel Money Package 💰
Stars: ✭ 52 (+173.68%)
Mutual labels:  laravel-package
aliyun-oss-laravel
Laravel 的 Aliyun OSS 扩展, 支持 Laravel 9. Alibaba Cloud Object Storage Service For Laravel.
Stars: ✭ 91 (+378.95%)
Mutual labels:  laravel-package
laravel-coming-soon
Laravel package to display Coming Soon page
Stars: ✭ 19 (+0%)
Mutual labels:  laravel-package
lastfm
🎶 Last.fm API client for PHP. Comes with a Laravel service provider.
Stars: ✭ 17 (-10.53%)
Mutual labels:  laravel-package
laravel-spotify
Laravel-Spotify is a simple wrapper around the Spotify Web API that makes working with its endpoints a breeze!
Stars: ✭ 141 (+642.11%)
Mutual labels:  laravel-package
firebase-php
Firebase Realtime Database PHP Wrapper
Stars: ✭ 41 (+115.79%)
Mutual labels:  laravel-package
laravel-dadata
PHP SDK Laravel пакет работы с сервисом DaData.ru, для исправления синтаксических ошибок в информации контактных данных клиентов сайта и вывода подсказок поля форм.
Stars: ✭ 39 (+105.26%)
Mutual labels:  laravel-package
pushbullet
Pushbullet notifications channel for Laravel
Stars: ✭ 14 (-26.32%)
Mutual labels:  laravel-package
laravel-charts-css
Laravel component to create gorgeous Charts.css charts.
Stars: ✭ 105 (+452.63%)
Mutual labels:  laravel-package

Voyager Templates

Build Status Build Status Total Downloads Latest Stable Version License

Made by Bruno Torrinha

This package let you use templates with BREAD views. It uses Laravel 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

Title: Columns 6/6

Slug: columns-6-6

View:

<div class="row">
    <div class="col-sm-6 col-md-6 col-lg-6">
        <div class="panel panel-bordered">@stack("lf")</div>
    </div>
    <div class="col-sm-6 col-md-6 col-lg-6">
        <div class="panel panel-bordered">@stack("rg")</div>
    </div>
</div>

JSON Options

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

Usage

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

Edit the BREAD, and use 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

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

Make sure you have installed Voyager with dummy data.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].