Skip to content

hydra-foundation/app

Repository files navigation

Hydra App

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.

About

Application skeleton for the Hydra PHP framework

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages