Git Product home page Git Product logo

yii2-app-lite's Introduction

Yii 2 Lite Application Template

Yii 2 Light Application Template without Bower.

Latest Stable Version Latest Unstable Version License

No Bower needed, less packages included, CDN Asset for View-Templates, let you start-up freely and refreshingly.


INTRODUCTION

This template is a lite version of Yii 2 template, which works without Bower on --no-dev environment. Following by yidas/yii2-app-basic, this package uses CDN Asset View-Templates, but includes fixed Bower just for Yii2 Debug and Gii tool only,


INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

composer create-project --prefer-dist yidas/yii2-app-lite

Also, you can make a minimal installation without development tool:

composer create-project --prefer-dist --no-dev yidas/yii2-app-lite

With --no-dev project, set to prod-env or remove the debug & gii usage from config/web.php to prevent error.


Install from an Archive File

Download yii2-app-lite-2.0.12 Archive

  1. Extract the downloaded file to a Web-accessible folder, which includes vendor already.

  2. Modify the config/web.php file by entering a secret key for the cookieValidationKey configuration item:

'request' => [
    // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
    'cookieValidationKey' => '<secret random string goes here>',
],
  1. Check and modify the permission of runtime and web/assets folders to 777 if needed.

DOCUMENTATION

Please refer to Yii 2 Basic Project Template Document

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.