---
title: "Mix Wordpress and Symfony together"
date: 2018-10-31T10:35:38.000Z
canonical: https://www.ekino.fr/publications/mix-wordpress-and-symfony-together/
---

After our recent post "[Drupal and Symfony2. Don't wait for Drupal8](http://www.ekino.com/drupal-and-symfony2-dont-wait-for-drupal8/)" which allows you to mix Drupal and Symfony, we released today some other tools to mix [Symfony](http://www.symfony.com) and [Wordpress](http://www.wordpress.org), the most used blog platform.

Sometimes, you have to add custom logic and Wordpress is not really the best tool to do those things so the best way is to do this with a framework and guess what, Symfony is here.

You can now work on Symfony and Wordpress together with two components: a Symfony bundle (that can work alone) and an additional Wordpress plugin that can be installed if you need to go further.

Moreover, with the new release of [WordPress 3.8 "Parker"](http://wordpress.org/news/2013/12/parker/) which is now responsive and support all devices, we now have another good reason to give Wordpress some good!

\[

## Symfony part: EkinoWordpressBundle

This is the Symfony bundle to deal with your Wordpress blog. It will give to Symfony the ability to:

- Use **custom Symfony services into Wordpress**,
- Use Symfony to **manipulate Wordpress database**,
- Create **custom Symfony routes** out of Wordpress,
- When authenticated on Wordpress, **authenticated on Symfony** too with correct user roles. *(requires ekino-wordpress-symfony Wordpress plugin),*
- Catch **Wordpress hooks to be dispatched by Symfony EventDispatcher** *(requires ekino-wordpress-symfony Wordpress plugin).*

This bundle (and the installation manual) is available on Github here: [https://github.com/ekino/EkinoWordpressBundle](https://github.com/ekino/EkinoWordpressBundle)

## Wordpress part: ekino-wordpress-symfony plugin

This is the Wordpress plugin that adds functionalities like **catch Wordpress hooks** to be send to Symfony as events via the [EventDispatcher](http://symfony.com/doc/current/components/event_dispatcher/introduction.html) component.

Wordpress plugin (and the installation manual) is available on Github here: [https://github.com/ekino/ekino-wordpress-symfony](https://github.com/ekino/ekino-wordpress-symfony)

## Feel free to contribute!

Source code are available on [Ekino's Github account](http://www.github.com/ekino), please feel free to create issues, send us pull requests or help us to improve them in all other ways you can imagine. Also, do not hesitate to contact us if you want more information about them.
