preflow / skeleton
An empty Preflow app
Requires
- php: >=8.4
- nyholm/psr7: ^1.8
- nyholm/psr7-server: ^1.1
- preflow/components: ^0.98
- preflow/core: ^0.98
- preflow/data: ^0.98
- preflow/devtools: ^0.98
- preflow/form: ^0.98
- preflow/htmx: ^0.98
- preflow/i18n: ^0.98
- preflow/routing: ^0.98
- preflow/twig: ^0.98
- preflow/validation: ^0.98
- preflow/view: ^0.98
Requires (Dev)
- phpunit/phpunit: ^11.0
- preflow/testing: ^0.98
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v0.98.0
- v0.97.0
- v0.96.0
- v0.95.0
- v0.94.0
- v0.93.1
- v0.93.0
- v0.92.1
- v0.92.0
- v0.91.0
- v0.90.0
- v0.89.0
- v0.88.0
- v0.87.0
- v0.86.0
- v0.85.0
- v0.84.3
- v0.84.2
- v0.84.1
- v0.84.0
- v0.83.0
- v0.82.0
- v0.81.1
- v0.81.0
- v0.80.0
- v0.79.0
- v0.78.3
- v0.78.2
- v0.78.1
- v0.78.0
- v0.77.1
- v0.77.0
- v0.76.0
- v0.75.0
- v0.74.0
- v0.73.0
- v0.72.1
- v0.72.0
- v0.71.1
- v0.71.0
- v0.70.0
- v0.69.2
- v0.69.1
- v0.69.0
- v0.68.1
- v0.68.0
- v0.67.0
- v0.66.2
- v0.66.1
- v0.66.0
- v0.65.0
- v0.64.0
- v0.63.2
- v0.63.1
- v0.63.0
- v0.62.0
- v0.61.0
- v0.60.1
- v0.60.0
- v0.59.0
- v0.58.1
- v0.58.0
- v0.57.0
- v0.56.1
- v0.56.0
- v0.55.0
- v0.54.1
- v0.54.0
- v0.53.2
- v0.53.1
- v0.53.0
- v0.52.0
- v0.51.0
- v0.50.0
- v0.49.1
- v0.49.0
- v0.48.5
- v0.48.4
- v0.48.3
- v0.48.2
- v0.48.1
- v0.48.0
- v0.47.1
- v0.47.0
- v0.46.1
- v0.46.0
- v0.45.0
- v0.44.0
- v0.43.0
- v0.42.1
- v0.42.0
- v0.41.2
- v0.41.1
- v0.41.0
- v0.40.0
- v0.39.0
- v0.38.0
- v0.37.0
- v0.36.0
- v0.35.0
- v0.34.1
- v0.34.0
- v0.33.0
- v0.32.0
- v0.31.0
- v0.30.0
- v0.29.0
- v0.28.0
- v0.27.1
- v0.27.0
- v0.26.0
- v0.25.1
- v0.25.0
- v0.24.1
- v0.24.0
- v0.23.0
- v0.22.1
- v0.22.0
- v0.21.0
- v0.20.0
- v0.19.2
- v0.19.1
- v0.19.0
- v0.18.1
- v0.18.0
- v0.17.2
- v0.17.1
- v0.17.0
- v0.16.2
- v0.16.1
- v0.16.0
- v0.15.0
- v0.14.2
- v0.14.1
- v0.14.0
- v0.13.1
- v0.13.0
- v0.12.0
- v0.11.4
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.4
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.1
- v0.9.0
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.0
- v0.4.1
- v0.4.0
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.1
- v0.1.0
This package is auto-updated.
Last update: 2026-12-01 01:19:50 UTC
README
An empty Preflow app: one home page in English and German, and nothing else to delete.
composer create-project preflow/skeleton mysite
cd mysite
php preflow serve
Open http://localhost:8080. Create-project made .env, an app key and the database for you.
What is here
app/Providers/ AppServiceProvider: bind your own services
app/pages/ file-based pages: _layout.twig, index.twig, _error.twig
config/ app, data (SQLite), i18n (en, de), security, csrf, htmx, middleware, page cache, seo
lang/ translations: en/app.php, de/app.php
migrations/ your database changes (empty)
public/ the web root
tests/ PHPUnit: HomePageTest
There are no models, no accounts and no demo data. Run the tests with composer test.
The five commands you need first
| Command | What it does |
|---|---|
php preflow serve |
Start the development server on http://localhost:8080. |
php preflow migrate |
Run pending migrations (create-project ran it once). |
php preflow make:model Name |
Scaffold a model. |
php preflow routes:list |
Print the routes, file-based pages included. |
composer test |
Run the app's tests. |
php preflow alone lists every command.
Add a page
Create app/pages/about.twig. It answers at /about (and /de/about), inside _layout.twig.
There is nothing to register.
Add Folio, the admin
composer require preflow/folio preflow/rbac php preflow folio:install
folio:install wires the admin into this app, runs the migrations and asks for the first admin's
e-mail address and password. It adds lines to your config files and never rewrites what is there;
run it again at any time and it only finishes what is missing. The admin is then at /folio.
php preflow folio:install --dry-run shows what it would do first. The Folio README has the
options and the manual steps.