Skip to content

Coming from Statamic

Statamic and Capell are both Laravel based. The main differences are that Capell stores content in the database and renders it with Blade.

Statamic’s blueprints define fields. Capell’s blueprints identify a page type, and its fields come from a configurator in PHP.

StatamicCapellWhere it lives
CollectionPage type (blueprint)Build your first page type
EntryPagePages in Admin
Blueprint and fieldsetConfigurator fields, stored in metaServicePageConfigurator in that guide
Antlers templateBlade viewresources/views/capell
TagBlade component or render data contributorTemplates never query models
Bard or Replicator setWidget on a layoutWidget registration
AddonComposer packagePackages
Flat-file content in GitDatabase rows and page historyBack up the database

For a services collection with a price field:

  1. Create the page type and field by following Build your first page type.
  2. Create one page per entry in Admin, and set its address to the entry’s URL.
  3. Rewrite the Antlers template in Blade, using values from the render data contributor.
  4. Move Bard sets to widgets, then check each address anonymously.