area17/twill
Twill is an open-source Laravel package for building a custom CMS fast. It provides a polished admin UI with prebuilt features and Vue components, stays flexible and extensible, works headless or integrated, and lets you use your own models with no lock-in.
Inside a block, repeaters can be used too.
:::filename:::
views/twill/blocks/accordion.blade.php
:::#filename:::
[@twillBlockTitle](https://github.com/twillBlockTitle)('Accordion')
...
<x-twill::repeater type="accordion_item"/>
You can add other fields before or after your repeater, or even multiple repeaters to the same block.
:::filename:::
views/twill/repeaters/accordion_item.blade.php
:::#filename:::
[@twillRepeaterTitle](https://github.com/twillRepeaterTitle)('Accordion item')
[@twillRepeaterMax](https://github.com/twillRepeaterMax)('10') // Optional
<x-twill::input
name="header"
label="Header"
/>
<x-twill::input
type="textarea"
name="description"
label="description"
:rows="4"
/>
How can I help you explore Laravel packages today?