PHPackages                             bangpound/drupal-bootstrap - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bangpound/drupal-bootstrap

Abandoned → [drufony/drupal-bootstrap](/?search=drufony%2Fdrupal-bootstrap)Library[Utility &amp; Helpers](/categories/utility)

bangpound/drupal-bootstrap
==========================

Drupal 7 bootstrap replacement

1.3.0(11y ago)0256GPL-2.0PHP

Since Jan 22Pushed 11y ago2 watchersCompare

[ Source](https://github.com/drufony/drupal-bootstrap)[ Packagist](https://packagist.org/packages/bangpound/drupal-bootstrap)[ RSS](/packages/bangpound-drupal-bootstrap/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (14)Used By (0)

Drupal 7 Bootstrap
==================

[](#drupal-7-bootstrap)

This library serves to replace Drupal 7's bootstrap in a manner that can be overridden.

Usage
-----

[](#usage)

To use this, you must patch Drupal 7 core in a few places places.

In each front controller (`index.php`, `cron.php`, `authorize.php`, `install.php`, `update.php`, and `xmlrpc.php`), you must include the Composer autoloader.

After

```
define('DRUPAL_ROOT', getcwd());
```

add:

```
require_once DRUPAL_ROOT .'/../vendor/autoload.php';
```

For Drush to work, you must add `drushrc.php` to `sites/all/drush`:

```
