taobig / yii2-app-basic-improve
A Project Based on Yii 2 Basic Project Template
Requires
- php: ^7.0 || ^8.0
- ext-json: *
- edwinhaq/yii2-simple-loading: ^1.0
- taobig/php-helper: ^1.3 || ^2.0
- taobig/yii-helper: 0.6.0
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-bootstrap: ~2.0.0
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0.0
- codeception/module-filesystem: ^1.0.0
- codeception/module-yii2: ^1.0.0
- codeception/specify: ~0.4.6
- codeception/verify: ~0.5.0 || ~1.1.0
- symfony/browser-kit: >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-gii: ~2.1.0
This package is auto-updated.
Last update: 2024-10-01 11:37:53 UTC
README
Yii 2 Basic Project Template
Based on Yii 2 Basic Project Template
(https://github.com/yiisoft/yii2-app-basic).
Yii 2 Basic Project Template is a skeleton Yii 2 application best for rapidly creating small projects.
The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application.
INSTALLATION
Install via Composer
If you do not have Composer, you may install it refer to getcomposer.org.
You can then install this project template using the following command:
composer create-project --prefer-dist taobig/yii2-app-basic-improve
# install project from master branch
composer create-project taobig/yii2-app-basic-improve your_project_dir_name dev-master
then
cd yii2-app-basic-improve; docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build -d; composer install;
to start a docker container.
The homepage is on http://localhost:8001
Database
CREATE DATABASE `DATABASE_NAME` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
- modify
config/db.php
- run
yii migrate
in project root dir to init tables.
dev
npm i gulp-cli -g
gulp watch
pre-deploy
- build static resources
gulp