Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Twill Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Adding Repeater Fields to a Block

Inside a block, repeaters can be used too.

  • Create a container block file, using a repeater form field:

:::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.

  • Create an item block, the one that will be repeated inside the container 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"
/>
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport