yii商城

所属分类:其他
开发工具:PHP
文件大小:10332KB
下载次数:3
上传日期:2018-03-25 10:00:43
上 传 者Lm.
说明:  yii框架开发的商城系统!!!!!!!!!!!!!
(yiishop Development of the mall system.)

文件列表:
yii商城 (0, 2018-03-14)
yii商城\basic (0, 2018-03-20)
yii商城\basic\.bowerrc (37, 2016-08-04)
yii商城\basic\.idea (0, 2018-03-20)
yii商城\basic\.idea\basic.iml (281, 2017-12-12)
yii商城\basic\.idea\copyright (0, 2018-03-14)
yii商城\basic\.idea\copyright\profiles_settings.xml (74, 2018-01-11)
yii商城\basic\.idea\encodings.xml (198, 2017-12-13)
yii商城\basic\.idea\modules.xml (262, 2017-12-12)
yii商城\basic\.idea\workspace.xml (31368, 2018-01-11)
yii商城\basic\LICENSE.md (1622, 2016-08-04)
yii商城\basic\assets (0, 2018-03-14)
yii商城\basic\assets\AppAsset.php (545, 2017-12-13)
yii商城\basic\commands (0, 2018-03-14)
yii商城\basic\commands\HelloController.php (715, 2016-08-04)
yii商城\basic\composer.json (1718, 2016-08-04)
yii商城\basic\composer.lock (34446, 2016-08-04)
yii商城\basic\config (0, 2018-03-14)
yii商城\basic\config\console.php (1056, 2017-12-13)
yii商城\basic\config\db.php (210, 2017-12-12)
yii商城\basic\config\params.php (446, 2017-12-13)
yii商城\basic\config\web.php (2285, 2017-12-13)
yii商城\basic\controllers (0, 2018-03-14)
yii商城\basic\controllers\AddressController.php (1690, 2016-08-04)
yii商城\basic\controllers\CartController.php (2999, 2016-08-04)
yii商城\basic\controllers\CommonController.php (2233, 2016-08-04)
yii商城\basic\controllers\IndexController.php (743, 2016-08-04)
yii商城\basic\controllers\MemberController.php (2993, 2016-08-04)
yii商城\basic\controllers\OrderController.php (7468, 2017-12-13)
yii商城\basic\controllers\PayController.php (809, 2016-08-04)
yii商城\basic\controllers\ProductController.php (1735, 2016-08-04)
yii商城\basic\controllers\SiteController.php (2223, 2016-08-04)
yii商城\basic\mail (0, 2018-03-14)
yii商城\basic\mail\createuser.php (523, 2017-12-13)
yii商城\basic\mail\layouts (0, 2018-03-14)
yii商城\basic\mail\layouts\html.php (714, 2016-08-04)
yii商城\basic\mail\seekpass.php (436, 2017-12-13)
yii商城\basic\models (0, 2018-03-14)
yii商城\basic\models\Address.php (399, 2016-08-04)
... ...

Yii 2 Basic Project Template ============================ Yii 2 Basic Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for rapidly creating small projects. The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application. [![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-app-basic/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-app-basic) [![Total Downloads](https://poser.pugx.org/yiisoft/yii2-app-basic/downloads.png)](https://packagist.org/packages/yiisoft/yii2-app-basic) [![Build Status](https://travis-ci.org/yiisoft/yii2-app-basic.svg?branch=master)](https://travis-ci.org/yiisoft/yii2-app-basic) DIRECTORY STRUCTURE ------------------- assets/ contains assets definition commands/ contains console commands (controllers) config/ contains application configurations controllers/ contains Web controller classes mail/ contains view files for e-mails models/ contains model classes runtime/ contains files generated during runtime tests/ contains various tests for the basic application vendor/ contains dependent 3rd-party packages views/ contains view files for the Web application web/ contains the entry script and Web resources REQUIREMENTS ------------ The minimum requirement by this project template that your Web server supports PHP 5.4.0. INSTALLATION ------------ ### Install from an Archive File Extract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to a directory named `basic` that is directly under the Web root. Set cookie validation key in `config/web.php` file to some random secret string: ```php 'request' => [ // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation 'cookieValidationKey' => '', ], ``` You can then access the application through the following URL: ~~~ http://localhost/basic/web/ ~~~ ### Install via Composer If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix). You can then install this project template using the following command: ~~~ php composer.phar global require "fxp/composer-asset-plugin:~1.1.1" php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic ~~~ Now you should be able to access the application through the following URL, assuming `basic` is the directory directly under the Web root. ~~~ http://localhost/basic/web/ ~~~ CONFIGURATION ------------- ### Database Edit the file `config/db.php` with real data, for example: ```php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=yii2basic', 'username' => 'root', 'password' => '1234', 'charset' => 'utf8', ]; ``` **NOTES:** - Yii won't create the database for you, this has to be done manually before you can access it. - Check and edit the other files in the `config/` directory to customize your application as required. - Refer to the README in the `tests` directory for information specific to basic application tests.

近期下载者

相关文件


收藏者