-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (31 commits) Finished bootstrap Widget and Modal. PHP Intl extension has been added to default Yii requirements. moved optional packages to "suggest", updated platform requirements "vendor-dir": "vendor" is default, removed Fixes issue #320: Module::createController() will fail with a route with trailing slash. Fixed test break about AssetController. requirements css.php twitter bootstrap update to 2.3.2 Twitter bootstrap updated to 2.3.2 Modified the IAssetConvert interface. hashing the key for registerCss and registerJs. Update AccessRule.php refactored code after feedback Fixed framework path. Added support for View::POS_READY. new proposed structure remove from master (update track) minor fixes updated the README file of the bootstrap app. Inflector class readjusting files for the framework package. ...
- Loading branch information
Showing
65 changed files
with
3,611 additions
and
3,040 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
The Yii framework is free software. It is released under the terms of | ||
the following BSD License. | ||
|
||
Copyright © 2008-2013 by Yii Software LLC (http://www.yiisoft.com) | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in | ||
the documentation and/or other materials provided with the | ||
distribution. | ||
* Neither the name of Yii Software LLC nor the names of its | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
Yii 2 Bootstrap Application | ||
=========================== | ||
|
||
**NOTE** Yii 2 and the relevant applications and extensions are still under heavy | ||
development. We may make significant changes without prior notices. Please do not | ||
use them for production. Please consider using [Yii v1.1](https://github.com/yiisoft/yii) | ||
if you have a project to be deployed for production soon. | ||
|
||
|
||
Thank you for choosing Yii 2 - the new generation of high-performance PHP framework. | ||
|
||
The Yii 2 Bootstrap Application is a Web application template that you can easily customize | ||
to fit for your needs. It is particularly suitable for small Websites which mainly contain | ||
a few informational pages. | ||
|
||
|
||
DIRECTORY STRUCTURE | ||
------------------- | ||
|
||
commands/ contains console commands (controllers) | ||
config/ contains application configurations | ||
controllers/ contains Web controller classes | ||
models/ contains model classes | ||
runtime/ contains files generated during runtime | ||
vendor/ contains dependent 3rd-party packages | ||
views/ contains view files for the Web application | ||
www/ contains the entry script and Web resources | ||
|
||
|
||
|
||
REQUIREMENTS | ||
------------ | ||
|
||
The minimum requirement by Yii is that your Web server supports PHP 5.3.?. | ||
|
||
|
||
INSTALLATION | ||
------------ | ||
|
||
### Install via Composer | ||
|
||
If you do not have [Composer](http://getcomposer.org/), you may download it from | ||
[http://getcomposer.org/](http://getcomposer.org/) or run the following command on Linux/Unix/MacOS: | ||
|
||
~~~ | ||
curl -s http://getcomposer.org/installer | php | ||
~~~ | ||
|
||
You can then install the Bootstrap Application using the following command: | ||
|
||
~~~ | ||
php composer.phar create-project --stability=dev yiisoft/yii2-bootstrap bootstrap | ||
~~~ | ||
|
||
Now you should be able to access the Bootstrap Application using the URL `http://localhost/bootstrap/www/`, | ||
assuming `bootstrap` is directly under the document root of your Web server. | ||
|
||
|
||
### Install from an Archive File | ||
|
||
This is not currently available. We will provide it when Yii 2 is formally released. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "yiisoft/yii2-bootstrap", | ||
"description": "Yii 2 Bootstrap Application", | ||
"keywords": ["yii", "framework", "bootstrap"], | ||
"homepage": "http://www.yiiframework.com/", | ||
"type": "project", | ||
"license": "BSD-3-Clause", | ||
"support": { | ||
"issues": "https://github.com/yiisoft/yii2/issues?state=open", | ||
"forum": "http://www.yiiframework.com/forum/", | ||
"wiki": "http://www.yiiframework.com/wiki/", | ||
"irc": "irc://irc.freenode.net/yii", | ||
"source": "https://github.com/yiisoft/yii2" | ||
}, | ||
"minimum-stability": "dev", | ||
"require": { | ||
"php": ">=5.3.0", | ||
"yiisoft/yii2": "dev-master" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
// comment out the following line to disable debug mode | ||
defined('YII_DEBUG') or define('YII_DEBUG', true); | ||
|
||
require(__DIR__ . '/../vendor/yiisoft/yii2/yii.php'); | ||
require(__DIR__ . '/../vendor/autoload.php'); | ||
|
||
$config = require(__DIR__ . '/../config/main.php'); | ||
|
||
$application = new yii\web\Application($config); | ||
$application->run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.