readme.md 1.69 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Yii 2 Web Programming Framework
===============================

Thank you for choosing Yii 2 — a high-performance component-based PHP framework.


INSTALLATION
------------

Please make sure the release file is unpacked under a Web-accessible
directory. You shall see the following files and directories:

      demos/               demos
      framework/           framework source files
      requirements/        requirement checker
      changelog.md         describing changes in every Yii release
      license.md           license of Yii
      readme.md            this file
mdomba (mdlap) committed
19
      upgrade.md           upgrading instructions
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


REQUIREMENTS
------------

The minimum requirement by Yii is that your Web server supports
PHP 5.3.8 or above. Yii has been tested with Apache HTTP server
on Windows and Linux operating systems.

Please access the following URL to check if your Web server reaches
the requirements by Yii, assuming "YiiPath" is where Yii is installed:

      http://hostname/YiiPath/requirements/index.php


QUICK START
-----------

Yii comes with a command line tool called "yiic" that can create
a skeleton Yii application for you to start with.

mdomba (mdlap) committed
41
On a command line, type in the following commands:
42

mdomba (mdlap) committed
43 44 45
   for Linux
        $ cd YiiPath/framework
        $ ./yiic webapp ../testdrive
46

mdomba (mdlap) committed
47 48 49
   for Windows
        cd YiiPath\framework
        yiic webapp ..\testdrive
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66

The new Yii application will be created at "YiiPath/testdrive".
You can access it with the following URL:

        http://hostname/YiiPath/testdrive/index.php


WHAT's NEXT
-----------

Please visit the project website for tutorials, class reference
and join discussions with other Yii users.



The Yii Developer Team
http://www.yiiframework.com