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

Singleton

With the twill:make:singleton command you can generate a singleton module.

A singleton is similar to a module, except that with a singleton only one model can exist in the database.

A singleton can be used for a homepage or for example a contact page.

The functionalities are exactly the same as that of regular modules. But they are registered a bit differently.

After generating your singleton via the command mentioned above, a new entry will be added to routes/twill.php.

<?php
use A17\Twill\Facades\TwillRoutes;

TwillRoutes::singleton('moduleName');

If you receive an error when visiting the singleton, you might have forgotten to run the seeder that is mentioned when generating the singleton. php artisan db:seed ModuleNameSeeder

If the singleton is not yet seeded when you visit the admin panel, by default Twill will automatically take care of the seeding.

You can disable this behavior by setting twill.auto_seed_singletons to false.

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