Download the PHP package skoro/yii2-admin-template without Composer
On this page you can find all versions of the php package skoro/yii2-admin-template. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-admin-template
Yii 2 Admin Project Template
Yii 2 Admin Project Template is a skeleton Yii 2 application best for rapidly creating admin backends projects.
Features:
- Application files in its folder.
- AdminLTE theme imported
- User schema and user login/register/profile/passwords forms.
- AdminLTE specific widgets exposed as Yii2 widgets:
- Box (with expanded/collapsed state)
- Tabs
- Select2
- GridView
- ProgressBar (vertical/horizontal)
- Popup notifications.
- ItemList (wrapper for nice AdminLTE lists)
- TimePicker
- Timeline
- TypeAhead (bootstrap version from @bower/typeahead.js)
Screenshot
DIRECTORY STRUCTURE
bin/ contains command line utilities
app/ contains your application
assets/ contains assets definition
base/ contains base classes
commands/ contains console commands (controllers)
components/ contains various components (Menu, etc)
config/ contains application configurations
controllers/ contains Web controller classes
forms/ contains web forms
helpers/ contains application helpers
mail/ contains view files for e-mails
models/ contains model classes
tests/ contains various tests for the basic application
views/ contains view files for the Web application
widgets/ contains widgets ready to use in views
modules/ contains custom modules
vendor/ contains dependent 3rd-party packages
runtime/ contains files generated during runtime
web/ contains the entry script and Web resources
config.php local site application configuration
REQUIREMENTS
The minimum requirement by this project template that your Web server supports PHP 5.4.0.
INSTALLATION
Install composer if you have not any:
curl -sS https://getcomposer.org/installer | php
php composer.phar global require "fxp/composer-asset-plugin"
Get the project and all dependencies:
php composer.phar create-project skoro/yii2-admin-template yii2-admin 0.2
Answer the questions and if you need apply database migrations. And that's all. In case if you cannot install project via composer read next chapters.
MANUAL INSTALLATION
Clone project repository:
Install dependencies:
composer.phar install
Check project requirements:
./bin/requirements
Change to project directory and set permissions:
chmod 777 ./runtime ./web/assets
Create your host configuration by copying sample:
cp config-sample.php config.php
Set cookie validation key in config.php
file to some random secret string:
CONFIGURATION
Your local site configuration resides in config.php
. You can create config.php
by copying config-sample.php
.
Database
Edit the file config.php
in web root folder with real data, for example:
Apply database migrations:
This imports user schema into your database.
Enable debug mode
To enabled debug bar uncomment following lines in config.php
:
If you are on local network (not 127.0.0.1) make debug modules happy with following lines:
These lines enable debug
and gii
modules for clients from 192.168.1.*
subnetwork.
TESTING
After application has been installed and configured it's time to test it.
First of all, create user via command yii
line utility:
Assign the newly created user to the Administrators group:
Then launch local web server:
Now you can access the application through the following URL and try to login:
All versions of yii2-admin-template with dependencies
yiisoft/yii2 Version ^2.0
yiisoft/yii2-bootstrap Version *
yiisoft/yii2-swiftmailer Version *
dmstr/yii2-adminlte-asset Version 2.*
bower-asset/remarkable-bootstrap-notify Version ^3.1
bower-asset/animate.css Version ^3.5
bower-asset/bootstrap-markdown Version ^2.10