zealphp / project
A simple project to demonstrate the usage of ZealPHP
v0.4.21
2026-11-10 16:36 UTC
Requires
- zealphp/zealphp: ^0.4.21
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v0.4.21
- v0.4.20
- v0.4.19
- v0.4.18
- v0.4.15
- v0.4.14
- v0.4.13
- v0.4.12
- v0.4.11
- v0.4.10
- v0.4.9
- v0.4.8
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.9
- v0.3.8
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.0
- v0.2.43
- v0.2.42
- v0.2.40
- v0.2.38
- v0.2.37
- v0.2.36
- v0.2.35
- v0.2.34
- v0.2.33
- v0.2.32
- v0.2.31
- v0.2.30
- v0.2.29
- v0.2.28
- v0.2.26
- v0.2.25
- v0.2.24
- v0.2.23
- v0.2.22
- v0.2.19
- v0.2.18
- v0.2.17
- v0.2.16
- v0.2.15
- v0.2.14
- v0.2.13
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.1
- v0.2.0
- v0.1.1
- v0.1.0
- dev-fix/v0.4.1
- dev-feat/themed-scaffold
This package is auto-updated.
Last update: 2026-11-10 16:37:35 UTC
README
To get started, visit https://github.com/sibidharan/zealphp
Project layout
| Path | Purpose |
|---|---|
public/ |
Document root — the folder requests resolve against (public/about.php → /about), plus static assets. This is the default; point it elsewhere with App::documentRoot('…') in app.php, before App::init(). |
route/ |
Explicit route files, auto-loaded at startup |
api/ |
File-based REST API (api/users/get.php → GET /api/users) |
template/ |
Views. Each page has a folder named after its public file (template/playground/ for public/playground.php) with its components in components/; components several pages share go in template/components/ |
src/ |
Your classes (PSR-4, App\ namespace) |
Routes and APIs are wiring: they call a src/ class and return data or a component (App::component()), never HTML they build. Pages are built from components. The rules: Where code goes.
Documentation
Full guides, API reference, and the interactive tutorial: https://php.zeal.ninja