zihmm/yii2-foundation

Custom Yii2 foundation with Twig as template engine and crisp service (compontent) driven DI

v1.0.0 2022-10-18 19:46 UTC

This package is auto-updated.

Last update: 2024-03-29 04:46:47 UTC


README

Yii Framework

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 seperate runtime/logs/project.log
  • @scripts alias points to @web/scripts