Usage

Working with pages, blocks, templates, typed props and attachments.

Usage

OI Laravel Publish revolves around these ideas:

  • Pages — recursive PublishPage models forming a content tree.
  • Blocks — an ordered, flat collection of PublishBlocks per page.
  • Templates — code-defined descriptors referenced by template_key.
  • Typed props — spatie/laravel-data props for pages and blocks.
  • Attachmentscover and slides media collections.

Resolve models and templates through OiLab\OiLaravelPublish\OiLaravelPublish so configuration overrides keep working.

Project under MIT License.
Design by