zihmm / yii2-foundation
Custom Yii2 foundation with Twig as template engine and crisp service (compontent) driven DI
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.0.0
- yiisoft/yii2: ~2.0.45
- yiisoft/yii2-bootstrap5: ~2.0.2
- yiisoft/yii2-symfonymailer: ~2.0.3
- yiisoft/yii2-twig: ^2.4
Requires (Dev)
- codeception/codeception: ^5.0.0 || ^4.0
- codeception/lib-innerbrowser: ^3.0 || ^1.1
- codeception/module-asserts: ^3.0 || ^1.1
- codeception/module-filesystem: ^3.0 || ^1.1
- codeception/module-yii2: ^1.1
- codeception/verify: ^2.2
- phpunit/phpunit: ~9.5.0
- symfony/browser-kit: ^6.0 || >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.2.0
README
Custom «Yii2 Foundation» basic setup with Twig as default template engine and service driven DI.
All unnecessary default templates / models / classes wiped out, added some meaningful default configs for dev & prod and production config.
- Build-in common exception system
- Confortable localization (ex.
_t($message, MessageCategoryEnum::Notifcations
) - Confortable dedicated logging.
plog($message)
logs to seperateruntime/logs/project.log
@scripts
alias points to@web/scripts