PHPackages                             fullsix/wordpress-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. fullsix/wordpress-bundle

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

fullsix/wordpress-bundle
========================

Let WordPress handle Symfony2's views

3156PHP

Since Mar 16Pushed 13y agoCompare

[ Source](https://github.com/fullsixspain/FullSIXWordPressBundle)[ Packagist](https://packagist.org/packages/fullsix/wordpress-bundle)[ RSS](/packages/fullsix-wordpress-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Symfony2 and WordPress integration by FullSIX
=============================================

[](#symfony2-and-wordpress-integration-by-fullsix)

This is a work in progress

This bundle tries to integrate WordPress with Symfony2, in the way that WordPress is used to handle the views, and Symfony2 is used to handle the controller.

This bundle should be used when you want to add Symfony2 controllers to an existing WordPress website, for example. This is really basic but in fact it works quite well, and we have implemented this mechanism on various wordpress instances, one of them containing two blogs, using various languages (using the excellent WPML plugins).

It needs Symfony &gt;= 2.2 in order to interpret Twig tags inside WordPress content.

Installation
------------

[](#installation)

### Download and install the bundle

[](#download-and-install-the-bundle)

Add the following dependencies to your projects composer.json file:

```
"require": {
    # ..
    "fullsix/wordpress-bundle": "dev-master"
    # ..
}

```

### Register the bundle in the kernel

[](#register-the-bundle-in-the-kernel)

```
