PHPackages                             outlandish/routemaster-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. [API Development](/categories/api)
4. /
5. outlandish/routemaster-bundle

AbandonedArchivedLibrary[API Development](/categories/api)

outlandish/routemaster-bundle
=============================

43.7k1PHP

Since Dec 3Pushed 12y ago7 watchersCompare

[ Source](https://github.com/outlandishideas/RoutemasterBundle)[ Packagist](https://packagist.org/packages/outlandish/routemaster-bundle)[ RSS](/packages/outlandish-routemaster-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Routemaster Bundle for WordPress
================================

[](#routemaster-bundle-for-wordpress)

**Use WordPress as the CMS backend for your Symfony 2 application.**

Easy install
------------

[](#easy-install)

Download [Symfony WordPress Edition](https://github.com/outlandishideas/symfony-wordpress-edition) which comes set up to use this bundle, [OowpBundle](https://github.com/outlandishideas/OowpBundle) and a few useful WordPress plugins.

Manual install
--------------

[](#manual-install)

### 1. Add to `composer.json`

[](#1-add-to-composerjson)

```
"require": {
    "outlandish/routemaster-bundle": "dev-master",
},

```

### 2. Add WordPress installer script

[](#2-add-wordpress-installer-script)

Until a way is found to allow Composer to install and manage WordPress, this script can be used to ensure WordPress is present:

```
"scripts": {
    "post-install-cmd": [
	    "Outlandish\\RoutemasterBundle\\Composer\\WordPressInstaller::install"
    ],
    "post-update-cmd": [
        "Outlandish\\RoutemasterBundle\\Composer\\WordPressInstaller::install"
    ]
},

```

### 3. Run `composer update`

[](#3-run-composer-update)

### 4. Add to `AppKernel.php`

[](#4-add-to-appkernelphp)

```
public function registerBundles()
{
    $bundles = array(
		//...
        new Outlandish\RoutemasterBundle\OutlandishRoutemasterBundle(),
    );

    return $bundles;
}

```

### 5. Load WordPress in your front controller

[](#5-load-wordpress-in-your-front-controller)

```
