hydrakit / app
Hydra PHP framework application skeleton
v0.2.0
2026-07-09 20:03 UTC
Requires
- php: >=8.2
- hydrakit/auth: ^0.2
- hydrakit/authorization: ^0.2
- hydrakit/console: ^0.2
- hydrakit/core: ^0.2
- hydrakit/csrf: ^0.2
- hydrakit/database: ^0.2
- hydrakit/event: ^0.2
- hydrakit/http: ^0.2
- hydrakit/kernel: ^0.2
- hydrakit/log: ^0.2
- hydrakit/nyholm: ^0.2
- hydrakit/php-di: ^0.2
- hydrakit/session: ^0.2
- hydrakit/validation: ^0.2
- hydrakit/view: ^0.2
- nyholm/psr7: ^1.8
- symfony/console: ^7.0
Requires (Dev)
- phpunit/phpunit: ^11.0
README
The skeleton every Hydra project starts from.
Requirements
- PHP 8.2+ and Composer
- Docker + Compose (for the full stack: PHP-FPM, nginx, MariaDB, Redis)
Setup
cp .env.example .env # defaults run as-is for local dev composer install # resolves the framework packages php bin/console key:generate # writes a fresh APP_KEY into .env
Run
With Docker (full stack):
./bin/dev up -d --build # PHP-FPM + nginx + MariaDB + Redis
Open http://localhost:8080 (the port is APP_PORT in .env).
Without Docker (public site only):
composer start # php -S localhost:8000 -t public/
Open http://localhost:8000.
Everything else — commands, architecture, configuration, migrations, tests — lives in the wiki.