Skip to content

Capell quickstart

This guide gets a fresh Laravel app running with Capell demo content. Use it when you want to see the admin, pages, media, and frontend flow before wiring Capell into a real project.

For existing Laravel apps, use the install guide.

ToolVersion
PHP8.3+
Laravel11.44.2+, 12.x, or 13.x
Filament4.7+ or 5.2+
Node.js20+
Composer2.7+
DatabaseMySQL 8+, MariaDB 10.3+, SQLite, or your configured Laravel database

Required PHP extensions: fileinfo, intl, mbstring, openssl, curl, simplexml, and either gd or imagick.

Terminal window
composer create-project laravel/laravel music-store
cd music-store
cp .env.example .env
php artisan key:generate

Set your database values in .env. For a fast local trial, SQLite is fine:

Terminal window
touch database/database.sqlite

Then set:

DB_CONNECTION=sqlite
QUEUE_CONNECTION=sync
APP_URL=http://localhost:8000

If your project uses private Capell repositories, add them to composer.json first. Otherwise install the umbrella package:

Terminal window
composer require capell-app/capell -W
php artisan filament:install --panels
php artisan capell:install --demo --url=http://localhost:8000

During the installer, expect prompts for:

PromptGood local answer
Site URLhttp://localhost:8000
Admin userPick an existing user or let the installer create one
Clear cachesYes
Generate sitemapYes for the demo
Generate static siteYes for the demo
Terminal window
php -S 127.0.0.1:8000 -t public public/index.php

Open:

  • Admin: http://localhost:8000/admin
  • Frontend: http://localhost:8000

You should see the Capell admin dashboard after login:

Capell admin dashboard

In the admin, open Pages. Demo installs should show a page tree.

Capell pages list

Open a page, change a small piece of text, then click Save. Use the preview action from the Pages list to confirm the draft renders. When you are happy with it, click Publish.

If QUEUE_CONNECTION=sync, the static HTML is generated during the request. If you use database or redis, keep a worker running:

Terminal window
php artisan queue:work

If the page does not change after publishing, start with the admin Clear Cache action or the cache commands in Create your first page. Then use Troubleshooting for the shortest stale-page fix, or Debugging public output when the rendered frontend HTML, cache headers, or package output look wrong.

For the full editor experience, add ContentSections:

Terminal window
composer require capell-app/content-sections
php artisan capell:content-sections-install
php artisan capell:content-sections-demo

ContentSections adds reusable content and widget-based layout building to the admin.

SymptomRun thisRead next
php artisan says permission deniedchmod +x artisan && chmod -R u+rwX storage bootstrap/cacheTroubleshooting
You log in but pages do not updatephp artisan queue:workPublished pages never generate
The frontend shows old contentphp artisan capell:html-cache:clear; if capell-app/html-cache is installed, also run php artisan capell:static-sitePublished pages still show old content
Package classes are missingcomposer dump-autoload && php artisan optimize:clearDebugging package discovery
Tailwind misses Capell admin stylesAdd the @source lines from theme compilationTailwind vendor CSS

Use these links when the quickstart works, but the next symptom needs more context:

When you see thisGo here
A published page is stale or missingOperations troubleshooting
Cache is bypassing or unsafeDebugging public output
You need to clear or warm HTML cacheFrontend guide
A queue-backed job is not completingSite Health and published pages never generate
Package output is missing from a pageExtension troubleshooting
You need the command ownerCapell CLI command index