app
app copied to clipboard
Yii3 application template
Related to https://github.com/yiisoft/config/issues/121
Updates the requirements on [symfony/console](https://github.com/symfony/console) to permit the latest version. Release notes Sourced from symfony/console's releases. v6.0.11 Changelog (https://github.com/symfony/console/compare/v6.0.10...v6.0.11) bug #47022 get full command path for command in search path...
See https://github.com/vlucas/phpdotenv/issues/207#issuecomment-260116783 Main motivation is performance.
Use Twig
We should try to implement Twig templates in the app. Main benefit is that it provides output escaping out of the box so there will be way less Yii 3...
We need to use config environments feature and have 2 default set of configs - dev (debug) and prod. Selecting one should be done through YII_ENV environmental variable (or .env)....
`common` → `definitions` `web` → `definitions-web` `console` → `definitions-console` This is will be more consistently with `events`, `bootstrap`, `providers`, `routes` and etc.
Need to document https://github.com/yiisoft/app/blob/master/src/ApplicationRunner.php#L64
Now there is a [note](https://github.com/yiisoft/app/blob/4b044e79fa4f565c6fa4e5bc2647d236aebd9025/public/index.php#L25-L26) to not rebuild config in production but there is no method to set environment
Hi, Thank you for the framework, first impression is good. But could you add suggestion for necessary packages instead of error like: Class not found? Like it doing codeception when...
The idea is to move some common package params to `config/params.php`. For example, db connection, aliases, console controllers list.