rocketfirmcom / yii2-app-advanced
Yii 2 Advanced Project Template
v0.0.7
2020-12-14 11:09 UTC
Requires
- php: >=7.4
- 2amigos/yii2-taggable-behavior: ^1.0
- codemix/yii2-localeurls: ^1.7
- creocoder/yii2-nested-sets: ^0.9.0
- kartik-v/yii2-grid: ^3.3
- prokhonenkov/yii2-repeater: ^1.0
- rocket-php-lab/yii2-bridge-core: v0.0.*
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-swiftmailer: ~2.0.0 || ~2.1.0
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-yii2: ^1.0
- codeception/verify: ~0.5.0 || ~1.1.0
- elisdn/yii2-gii-fixture-generator: ^1.1
- symfony/browser-kit: >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.1.0
This package is auto-updated.
Last update: 2024-10-25 19:37:25 UTC
README
Краткое описание проекта - предметная область.
Ссылки
Tech Stack
Frontend
Backend
Команда проекта
✅ – активный, ⛔️ – не активный, ✴️ – временный
PM
- PM – Telegram ✅
Designer
- Designer - Telegram ✅
Art-direction
- Art-direction – Telegram ✅
Frontend
Backend
Установка Backend:
composer create-project rocketfirmcom/yii2-app-advanced
Запустить инициализацию проекта:
php init
Запустить миграции:
php yii migrate
php yii_test migrate
Создать пользователя:
php yii user/create admin@sitename.kz admin PASSWORD admin
Запуск тестов (Перед запуском нужно создать тестовую бд и прописать её в common\config\test_local.php):
vendor\bin\codecept.bat run
vendor\bin\codecept.bat run -- -c common
vendor\bin\codecept.bat run -- -c backend
vendor\bin\codecept.bat run -- -c frontend
Интернационализация - генерировать переводы c с консоли
php yii message common/config/translate_messages_config.php
DIRECTORY STRUCTURE
common
config/ contains shared configurations
mail/ contains view files for e-mails
models/ contains model classes used in both admin and frontend
tests/ contains tests for common classes
console
config/ contains console configurations
controllers/ contains console controllers (commands)
migrations/ contains database migrations
models/ contains console-specific model classes
runtime/ contains files generated during runtime
admin
assets/ contains application assets such as JavaScript and CSS
config/ contains admin configurations
controllers/ contains Web controller classes
models/ contains admin-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for admin application
views/ contains view files for the Web application
web/ contains the entry script and Web resources
frontend
assets/ contains application assets such as JavaScript and CSS
config/ contains frontend configurations
controllers/ contains Web controller classes
models/ contains frontend-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for frontend application
views/ contains view files for the Web application
web/ contains the entry script and Web resources
widgets/ contains frontend widgets
api
config contains API configurations
controllers contains API controller classes
runtime contains files generated during runtime
web contains the entry script and API resources
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides