Download the PHP package vova07/yii2-start without Composer
On this page you can find all versions of the php package vova07/yii2-start. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vova07/yii2-start
More information about vova07/yii2-start
Files in vova07/yii2-start
Package yii2-start
Short Description Yii2-Start it's a small Yii 2 application template for your fast project start.
License BSD-3-Clause
Homepage http://yii2-start.find-freelancer.pro
Informations about the package yii2-start
Yii2-start
DEMO:
Frontend: http://yii2-start.find-freelancer.pro
Backend: http://yii2-start.find-freelancer.pro/backend/
Authentication:
Login: admin
Password: admin12345
Installation and getting started:
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
If you do not have Composer-Asset-Plugin installed, you may install it by running command: php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
- Run the following commands to install Yii2-Start:
php composer.phar create-project --prefer-dist --stability=dev vova07/yii2-start yii2-start
During the installation process can be requiredpassword
and\orusername
from your Github account. This is because you make too much request to Github service. Just remember that this can be. - Run command:
cd /my/path/to/yii2-start/
and go to main application directory. - Run command:
php requirements.php
and check the requirements. - Run command:
php init
to initialize the application with a specific environment. - Create a new database and adjust it configuration in
common/config/db.php
accordingly. - Apply migrations with console commands:
php yii migrate --migrationPath=@vova07/users/migrations
php yii migrate --migrationPath=@vova07/blogs/migrations
php yii migrate --migrationPath=@vova07/comments/migrations
- This will create tables needed for the application to work.
- You also can use database dump
db.sql
frommy/path/to/yii2-start/common/data
, but however I recommend to use migrations.
- Run modules RBAC commands:
php yii rbac/rbac/init
php yii users/rbac/add
php yii blogs/rbac/add
php yii comments/rbac/add
-
Set document roots of your Web server:
For Apache:
- Use the URL
http://yii2-start.domain
to access application frontend. - Use the URL
http://yii2-start.domain/backend/
to access application backend.
For Nginx:
Frontend
Backend
Remove
'baseUrl' => '/backend'
from/my/path/to/yii2-start/backend/config/main.php
.- Use the URL
http://yii2-start.domain
to access application frontend. - Use the URL
http://backend.yii2-start.domain
to access application backend.
- Use the URL
Notes:
By default will be created one super admin user with login admin
and password admin12345
, you can use this data to sing in application frontend and backend.
Themes:
All versions of yii2-start with dependencies
yiisoft/yii2 Version *
yiisoft/yii2-bootstrap Version *
vova07/yii2-start-base Version *
vova07/yii2-start-themes Version *
vova07/yii2-start-admin-module Version *
vova07/yii2-start-site-module Version *
vova07/yii2-start-users-module Version *
vova07/yii2-start-blogs-module Version *
vova07/yii2-start-comments-module Version *
vova07/yii2-start-rbac-module Version *