The Phundament config structure is straight forward, there are three config files for an application:
.env
- environment dependend configurationconfig/main.php
- application configuration
Compared to yii2-app-basic
and yii2-app-advanced
Phundament uses an environment variables based configuration instead
of an init
script. See also Dev/prod parity.
If you choose APP_PRETTY_URLS=1
in your .env
file, activate the web/.htaccess
if you are devleoping on your local machine.
cp web/.htaccess-dist web/.htaccess