yiisoft/yii2-app-advanced là dự án mã nguồn mở trên GitHub, viết chủ yếu bằng PHP, với 1.7k sao. Yii 2.0 Advanced Application Template
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Yii 2 Advanced Project Template is a skeleton Yii 2 application best for
developing complex Web applications with multiple tiers.
The template includes three tiers: front end, back end, and console, each of which
is a separate Yii application.
The template is designed to work in a team development environment. It supports
deploying the application in different environments.
Documentation is at docs/guide/README.md.
Docker
REQUIREMENTS
[!IMPORTANT]
The minimum required PHP version of Yii is PHP 8.2.
Install via Composer
If you do not have Composer, you may install it by following the instructions
at getcomposer.org.
You can then install this project template using the following commands:
composer create-project --prefer-dist yiisoft/yii2-app-advanced advanced
cd advanced
Frontend
Backend
DIRECTORY STRUCTURE
common
config/ contains shared configurations
mail/ contains view files for e-mails
models/ contains model classes used in both backend 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
backend
assets/ contains application assets such as JavaScript and CSS
config/ contains backend configurations
controllers/ contains Web controller classes
models/ contains backend-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for backend 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
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides
Initialize the application for the Development environment:
php init --env=Development --overwrite=All
Now you should be able to access the application through the following URLs, assuming advanced is the directory
directly under the Web root.
Yii won't create the database for you, this has to be done manually before you can access it.
When using Docker, the MySQL service creates the database automatically.
Check and edit the other files in the config/ directories to customize your application as required.
Refer to the README in the tests directory for information specific to application tests.
TESTING
Tests are located in frontend/tests, backend/tests, and common/tests directories.
They are developed with Codeception PHP Testing Framework.
yiisoft/yii2-app-advanced có 1.7k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/yiisoft/yii2-app-advanced. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
yiisoft/yii2-app-advanced có những chủ đề gì?
GitHub topics của yiisoft/yii2-app-advanced: "hacktoberfest", "project-template", "yii", "yii2". TopGit xếp repo vào nhóm mã nguồn mở.
yiisoft/yii2-app-advanced còn đang phát triển không?
Commit gần nhất trên yiisoft/yii2-app-advanced là 12 ngày trước (theo timestamp GitHub). Repo có 1.2k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
yiisoft/yii2-app-advanced là gì?
yiisoft/yii2-app-advanced (yiisoft/yii2-app-advanced) là dự án PHP trên GitHub. Theo mô tả gốc: Yii 2.0 Advanced Application Template
yiisoft/yii2-app-advanced viết bằng ngôn ngữ gì?
yiisoft/yii2-app-advanced chủ yếu viết bằng PHP. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về yii2-app-advanced?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về yii2-app-advanced.