PHPackages                             ekino/drupal-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. [Framework](/categories/framework)
4. /
5. ekino/drupal-bundle

AbandonedArchivedSymfony-bundle[Framework](/categories/framework)

ekino/drupal-bundle
===================

Integrate Symfony2 with Drupal

2.0.0(6y ago)7152920[4 issues](https://github.com/ekino/EkinoDrupalBundle/issues)MITPHPPHP &gt;=5.5.9

Since Jan 14Pushed 6y ago31 watchersCompare

[ Source](https://github.com/ekino/EkinoDrupalBundle)[ Packagist](https://packagist.org/packages/ekino/drupal-bundle)[ Docs](https://github.com/ekino/EkinoDrupalBundle)[ RSS](/packages/ekino-drupal-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (6)Used By (0)

Drupal 7 Bundle by Ekino
========================

[](#drupal-7-bundle-by-ekino)

[![Build Status](https://camo.githubusercontent.com/6e598e92aca4680bc0504ae8510b68a69a9255db3b57bdc215858c7f60b19829/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f656b696e6f2f456b696e6f44727570616c42756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/ekino/EkinoDrupalBundle)

**Requires** at least *Drush 5.0* for compatibility with Symfony console.

The bundle tries to deeply integrate Symfony2 with Drupal and Drupal with Symfony2. Of course this is done without altering the Drupal's core.

When this bundle is activated, the Symfony2 console will have the Drupal libraries autoloaded. So, it makes possible the use of Drupal libraries from your Symfony2 command.

Install
-------

[](#install)

### Download the symfony2 sandbox and the Drupal code

[](#download-the-symfony2-sandbox-and-the-drupal-code)

### Install the files to have the following structure

[](#install-the-files-to-have-the-following-structure)

```
Symfony Sandbox Root
  - app
  - vendor
  - src
  - web (Drupal source code)

```

The `web` directory must be the document root and contains the Drupal source code.

### Update the `index.php` file

[](#update-the-indexphp-file)

This file "share" the container with Drupal so it is possible to reuse Symfony2's services from within Drupal. The initialization process is always handled by Symfony2.

```
