cornernote / yii2-boilerplate
Yii2 Boilerplate
Installs: 69
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 1
Type:project
Requires
- php: >=7.3.0
- 2amigos/yii2-usuario: ~1.0
- bedezign/yii2-audit: dev-master
- bower-asset/jquery: @stable
- cebe/yii2-gravatar: ^1.1
- codemix/yii2-streamlog: *
- coreui/coreui: ~3.2.0
- mikehaertl/php-shellcommand: 1.*
- mikehaertl/phpwkhtmltopdf: ^2.4
- npm-asset/simple-line-icons: ~2.4.0
- pheme/yii2-settings: ^0.7
- vlucas/phpdotenv: 5.2.*
- yiisoft/yii2: ^2.0
- yiisoft/yii2-bootstrap4: ^2.0
- yiisoft/yii2-queue: ^2.0
- yiisoft/yii2-redis: ^2.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-29 04:41:23 UTC
README
Quick-Start
Composer installation
Install global composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
You can install Yii2 Boilerplate using composer...
composer global require "fxp/composer-asset-plugin:^1.2.0"
composer create-project --stability=dev cornernote/yii2-boilerplate myapp
Create and adjust your environment configuration, eg. add a database...
cd myapp
cp .env-dist .env
edit .env
Run the application setup...
./yii app/setup
Install robo...
wget http://robo.li/robo.phar
mv robo.phar /usr/local/bin/robo
Start a webserver...
robo server --port=80 --path web/
Open http://path-to-app/web
or http://path-to-app/web?r=admin
in your browser.
Install psysh
wget psysh.org/psysh
mv psysh /usr/local/bin/psysh
Code Generation
./yii gii-batch --tables=t1,t2
./yii gii-batch/models --tables=t1,t2
./yii gii-batch/cruds --tables=t1,t2