PHPackages                             symfonyan/acme-symfonyan-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. symfonyan/acme-symfonyan-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

symfonyan/acme-symfonyan-bundle
===============================

Symfony Japanize welcome and error Pages

11184PHP

Since May 19Pushed 13y agoCompare

[ Source](https://github.com/symfonyans/SymfonyanBundle)[ Packagist](https://packagist.org/packages/symfonyan/acme-symfonyan-bundle)[ RSS](/packages/symfonyan-acme-symfonyan-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

しんふぉにゃんを仕込むためのSymfony2バンドルです
============================

[](#しんふぉにゃんを仕込むためのsymfony2バンドルです)

install
-------

[](#install)

Symfonyのプロジェクトの composer.json の最後に以下を追加してください

```
"require": {
    ....
    symfonyan/acme-symfonyan-bundle: "dev-master"
},
```

cofigure
--------

[](#cofigure)

次に、app/AppKernel.php ファイルを開き、registerBundles() メソッドでdev・test環境向けのバンドルを登録している部分に追加します。

```
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
    $bundles[] = new Symfony\Bundle\WebConfiguratorBundle\SymfonyWebConfiguratorBundle();
    $bundles[] = new Acme\SymfonyanBundle\AcmeSymfonyanBundle(); //
