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.
If you need more control over blocks, their validation or data for rendering you can use a block class.
To do this, create a file named after your block. (ex. for images_grid.blade.php your class will be
ImagesGridBlock)
A block class extends A17\Twill\Services\Blocks\Block and they are expected to be in the App\Twill\Block namespace:
<?php
namespace App\Twill\Block;
use A17\Twill\Services\Blocks\Block;
class ExampleBlock extends Block
{
}
With a block class you can:
How can I help you explore Laravel packages today?