Installation
Preflow requires PHP 8.4 or later.
Create a New Project
The fastest way to start is with Composer's create-project command:
composer create-project preflow/skeleton myapp
cd myapp
This gives you a working application with:
- File-based routing in
app/pages/ - Example components in
app/Components/ - SQLite database in
storage/data/ - Development server via CLI
Start the Development Server
php preflow serve
Visit http://localhost:8080 in your browser.
Requirements
- PHP 8.4+
- Composer 2.x
- SQLite extension (for the default data driver)
- mbstring extension