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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

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

PHP Build Version
Package Version
Requires php Version >=5.4.0
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package skoro/yii2-admin-template contains the following files

Collapse All

bin

  requirements
  yii

tests

   _data

    .gitkeep

   _output

    .gitignore

   _support

    AcceptanceTester.php
    FunctionalTester.php
    UnitTester.php

   acceptance

    AboutCest.php
    ContactCest.php
    HomeCest.php
    LoginCest.php
    _bootstrap.php

   bin

    yii
    yii.bat

   functional

    ContactFormCest.php
    LoginFormCest.php
    _bootstrap.php

   unit

     models
    _bootstrap.php
  _bootstrap.php
  acceptance.suite.yml.example
  functional.suite.yml
  unit.suite.yml

runtime

  .gitignore

modules

   wiki

     assets
     controllers
     forms
     helpers
     migrations
     models
     views
     widgets
    DiffRendererHtmlInline.php
    RuleOwnWiki.php
    WikiModule.php
  README.md

docs

  Param.md
  Testing.md

web

   assets

    .gitignore

   css

    admin.css
    site.css

   images

     avatars

   js

    admin.js
  .htaccess
  index-test.php
  index.php

app

   assets

    AnimateAsset.php
    AppAsset.php
    BootstrapNotifyAsset.php
    CheckAsset.php
    Select2Asset.php
    TimePickerAsset.php
    TypeAheadAsset.php

   base

     gii
     console
     behaviors
     actions
     grid
    MailTrait.php
    Migration.php
    ModelUrlTrait.php
    Formatter.php
    ModuleApplicationTrait.php
    ModuleMigrateException.php
    RbacMigration.php
    WebApplication.php
    Controller.php
    ConsoleApplication.php
    Composer.php
    Action.php
    Module.php

   commands

    MigrateController.php
    ModuleController.php
    RbacController.php
    SqlController.php
    UserController.php

   components

    Menu.php
    Param.php

   config

    common.php
    console.php
    test.php
    test_db.php.sample
    web.php

   controllers

    SiteController.php
    UserController.php

   forms

     user
    ContactForm.php

   helpers

    Icon.php
    UserHelper.php

   mail

     layouts
    accountCreated-html.php
    accountCreated-text.php
    passwordRequest-html.php
    passwordRequest-text.php

   migrations

    m140506_102106_rbac_init.php
    m160314_212231_user.php
    m160818_075724_config.php
    m160830_073241_param_default_role.php
    m160831_094735_module.php
    m161108_083707_config_perms.php
    m180130_201810_param_site_name.php

   models

    Config.php
    User.php

   views

     layouts
     site
     templates
     user

   widgets

    Timeline.php
    TimePicker.php
    Tabs.php
    Select2.php
    ProgressBarGroup.php
    ProgressBar.php
    Pjax.php
    Modal.php
    Notify.php
    ItemList.php
    InputGroup.php
    InputClear.php
    GridView.php
    Check.php
    Box.php
    ActiveForm.php
    TypeAhead.php
Vagrantfile
composer.json
composer.lock
config-sample.php
TODO.md
README.md
.gitignore
screenshot.png
.bowerrc
codeception.yml