Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
4c47938f
Commit
4c47938f
authored
Sep 29, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted framework readme
parent
e593aa45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
README.md
framework/README.md
+3
-15
No files found.
framework/README.md
View file @
4c47938f
...
@@ -12,26 +12,14 @@ The preferred way to install the Yii framework is through [composer](http://getc
...
@@ -12,26 +12,14 @@ The preferred way to install the Yii framework is through [composer](http://getc
Either run
Either run
```
```
php composer.pha
r global require "fxp/composer-asset-plugin:1.0.0-beta2"
compose
r global require "fxp/composer-asset-plugin:1.0.0-beta2"
php composer.phar require --prefer-dist "yiisoft/yii2 2.0.0-rc" "yiisoft/yii2-composer 2.0.0-rc
"
composer require --prefer-dist "yiisoft/yii2 *
"
```
```
`2.0.0-rc`
versions may be replaced by
`dev-master`
, to obtain development version.
or add
or add
```
json
```
json
"yiisoft/yii2"
:
"2.0.0-rc"
,
"yiisoft/yii2"
:
"*"
,
"yiisoft/yii2-composer"
:
"2.0.0-rc"
```
```
to the require section of your composer.json.
to the require section of your composer.json.
Next, you should modify the entry script of your app system by including the following code at the beginning:
```
php
require
(
__DIR__
.
'/../vendor/autoload.php'
);
require
(
__DIR__
.
'/../vendor/yiisoft/yii2/Yii.php'
);
$yiiConfig
=
require
(
__DIR__
.
'/../config/yii/web.php'
);
new
yii\web\Application
(
$yiiConfig
);
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment