library drupal-bootstrap
Lightweight wrapper to bootstrap Drupal in Object-Oriented context to make native API calls.
wesnick/drupal-bootstrap
Lightweight wrapper to bootstrap Drupal in Object-Oriented context to make native API calls.
- Thursday, November 20, 2014
- by wesnick
- Repository
- 1 Watchers
- 0 Stars
- 610 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
drupal-bootstrap
Lightweight wrapper to bootstrap Drupal in OO context to make native API calls., (*1)
Work-in-progress, (*2)
Usage
<?php
require_once 'vendor/autoload.php';
$drupal = new \Wesnick\DrupalBootstrap\Drupal7("/path/to/drupal");
$drupal->doBootstrap();
// Do stuff with Drupal API
$node = node_load(1);
Installation
Use composer., (*3)
Requirements
PHP 5.3, (*4)
Contributing
Fork and issue a Pull Request., (*5)
Running the Tests
$ phpunit
Acknowledgements
The basic functionality is borrowed from drupal/drupalextensions, (*6)
License
Released under the MIT License. See the bundled LICENSE file for details., (*7)
dev-minimal
dev-minimal
Lightweight wrapper to bootstrap Drupal in Object-Oriented context to make native API calls.
Sources
Download
The Requires
by
Wesley O. Nichols
1.0.0
1.0.0.0
Lightweight wrapper to bootstrap Drupal in Object-Oriented context to make native API calls.
Sources
Download
The Requires
by
Wesley O. Nichols
dev-master
9999999-dev
Lightweight wrapper to bootstrap Drupal in OO context to make native API calls.
Sources
Download
The Requires
by
Wesley O. Nichols
dev-generator-wip
dev-generator-wip
Lightweight wrapper to bootstrap Drupal in OO context to make native API calls.
Sources
Download
The Requires
by
Wesley O. Nichols