zephyrphp / starter
ZephyrPHP Starter - A CMS-powered starting point for ZephyrPHP applications
Package info
github.com/Techwonia/zephyrphp-starter
Language:Twig
Type:project
pkg:composer/zephyrphp/starter
v0.3.1
2026-03-07 04:45 UTC
Requires
- php: >=8.2
- zephyrphp/auth: dev-main
- zephyrphp/authorization: dev-main
- zephyrphp/cms: dev-main
- zephyrphp/database: dev-main
- zephyrphp/framework: dev-main
Requires (Dev)
- phpunit/phpunit: ^11.5
README
A CMS-powered starting point for ZephyrPHP applications.
Light as a breeze, fast as the wind.
Installation
composer create-project zephyrphp/starter my-app
cd my-app
cp .env.example .env
php craftsman key:generate
Configure your database in .env:
DB_CONNECTION=pdo_mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=zephyrphp
DB_USERNAME=root
DB_PASSWORD=
Create database tables and start the server:
php craftsman db:schema php craftsman serve
Your application will be running at http://localhost:8000
Getting Started
- Visit
/registerto create your first account (first user gets admin role) - Visit
/cmsto access the CMS dashboard - Create page types, collections, and content through the CMS admin
Included Modules
- Database - Doctrine ORM integration
- Auth - Session-based authentication (login, register, logout)
- Authorization - Gates, policies, and roles
- CMS - Content management with page builder, collections, and themes
Directory Structure
my-app/
├── app/
│ ├── Controllers/
│ │ ├── Auth/ # Login & Register controllers
│ │ └── HomeController # Home page
│ ├── Models/
│ │ ├── User.php # User model with roles
│ │ └── Role.php # Role model
│ └── Middleware/
├── config/
│ ├── app.php # Application settings
│ ├── auth.php # Auth provider config
│ ├── modules.php # Module on/off switches
│ └── assets.php # Asset collections
├── pages/
│ ├── auth/ # Login & register views
│ ├── layouts/ # Base layout
│ ├── errors/ # Error pages
│ └── themes/default/ # CMS theme (layouts, templates, partials)
├── public/ # Web root (index.php)
├── routes/ # Route definitions
├── storage/ # Logs and cache
└── tests/
Documentation
Visit https://zephyrphp.com/docs for full documentation.
Author
Techwonia
- ZephyrPHP: zephyrphp.com
- Company: techwonia.com
- Email: opensource@techwonia.com
- GitHub: @Techwonia
License
MIT License - see LICENSE for details.