Skip to content

Hero

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/hero
Package slughero
Product groupCapell Essentials
Tierfree
Bundlefoundation
Runtime contextsadmin, frontend, console
Capell version^1.0
Catalogue roleextension
Release channelReleased
Source repositorycapell-app/hero
Docs sourcepackages/hero/docs
Manifestcapell.json

Behind your headline, a video can play without sound. On a phone, visitors get a still photo if that’s what you uploaded for small screens. This is the big banner at the top of a page, often called a hero, and it works just as well with one picture or a few rotating slides.

Set a background for your theme, the overall look of your site, and every page’s banner follows it. One banner or one slide can still have its own picture, or none at all.

Videos are ordinary files you upload yourself (MP4 or WebM), with separate versions for big screens and phones. A YouTube or Vimeo link can’t be used. The editor’s defaults are that the video starts on its own, loops, stays silent and pauses by itself once someone scrolls past, and you can change each one. A pause button is there for anyone who’d like it still. If you upload a picture too, visitors see it while the video loads.

Slides change every eight seconds and wait while a mouse rests on them. With no slides added, the banner shows the hero title and text saved on the page itself.

  • Price and availability: Check current availability and price on the Capell Marketplace listing.
  • Licence: Check the licence terms on the Capell Marketplace listing.
  • Requires: PHP ^8.4, capell-app/admin ^1.0, capell-app/core ^1.0.66, capell-app/frontend ^1.0, capell-app/layout-builder ^1.0, capell-app/theme-foundation ^1.0, lorisleiva/laravel-actions ^2.8, spatie/laravel-package-tools ^1.0.
  • Install: composer require capell-app/hero:@beta.
  1. Install the package: composer require capell-app/hero:@beta.
  2. Run the package setup: php artisan capell:hero-setup.
  3. Run php artisan list and verify the package command signatures are registered.

Prepared Data objects and resolution Actions keep media and background decisions outside Blade, and tests enforce query-free public rendering without editor metadata.

  • Commands: php artisan capell:hero-setup.
  • Install the required Capell packages at the versions in composer.json: capell-app/admin ^1.0, capell-app/core ^1.0.66, capell-app/frontend ^1.0, capell-app/layout-builder ^1.0, capell-app/theme-foundation ^1.0.
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Custom write integrations must preserve invalidation for hero cache tags.

Hero home widget rendered on a public page

  • Hero home widget rendered on a public page (frontend).
  • Required packages: capell-app/admin, capell-app/core, capell-app/frontend, capell-app/layout-builder, capell-app/theme-foundation.
  • Admin navigation: no admin page or resource contribution is declared.
  • Admin/editor extensions: none declared.
  • Permissions: no package permission declarations or Shield gates detected; host access rules still apply.
  • Public routes: none declared.
  • Database changes: no package migrations declared.
  • Config: no package config files.
  • Settings: no package settings declared.
  • Queues or schedules: none declared.
  • Cache tags: hero.
  • Commands: capell:hero-setup.
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Public output leaks unexpected stateRender data, cache variation, or authoring boundary has regressedCheck public Blade, cache tags, and public-output safety testsMove data loading out of Blade and rerun the package public-output tests

No manual steps between minor versions.

Read CHANGELOG.md before upgrading.