Symfony_Standard_Vendors_2.0.0-RC4.tgz内のREADME.lstを自分訳。(内容保証できません。)

Symfony Standard Edition
========================

What's inside?
--------------

Symfony Standard Edition には下記バンドルが設定されています。

* FrameworkBundle
* SensioFrameworkExtraBundle
* DoctrineBundle
* TwigBundle
* SwiftmailerBundle
* MonologBundle
* AsseticBundle
* JMSSecurityExtraBundle
* WebProfilerBundle (in dev/test env)
* SensioDistributionBundle (in dev/test env)
* SensioGeneratorBundle (in dev/test env)
* AcmeDemoBundle (in dev/test env)

アーカイブからインストール
----------------------------

もっとも簡単な方法は、http://symfony.com/download からvendorsを含むアーカイブをダウンロードし、Webサーバーのルートディレクトリに展開することです。

もしvendorsを含まないアーカイブをダウンロードした場合、gitが使えるならば、下記コマンドでvendorsをインストールできます。

    php bin/vendors install


Gitからインストール
---------------------

この方法を推奨します。
以下のようにコマンドを実行します。

    git clone http://github.com/symfony/symfony-standard.git
    cd symfony-standard
    rm -rf .git
    php bin/vendors install

注意
    Symfony SE はgitサブモジュールを使わないので、 `.git`ディレクトリを保持すべきではありません。


Configuration
-------------

ページブラウジング時、常に`web/config.php`が参照されます。
ディストリビューションでは次のデフォルト値が設定されています。

* Twig is the only configured template engine;
* Doctrine ORM/DBAL is configured;
* Swiftmailer is configured;
* Annotations for everything are enabled.

`AcmeDemoBundle` がデフォルトでバンドルされます。確認したあとは、下記手順で削除することができます。

* `src/Acme` ディレクトリを削除します。
* `app/config/routing_dev.yml`から AcmeBundle のルーティング項目を削除します。
* `app/AppKernel.php`から AcmeBundleの登録を削除します。


`app/config/parameters.ini` または `web/config.php`をすることでアプリケーションの設定を行います。

シンプルなコントローラは`/hello/{name}`で、これによって`web/app_dev.php/demo/hello/Fabien`へアクセスします。

CLIを使う場合、`app/console`でコンソールアプリケーションを利用できます。
はじめに`app/check.php`を実行してPHPがCLIを利用できるように設定してあるか確認してください。

Enjoy!

facebook slideshare rubygems github qiita