8000 GitHub - wesnick/drupal-bootstrap: Lightweight wrapper to bootstrap Drupal in OO context to make native API calls.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wesnick/drupal-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drupal-bootstrap

Lightweight wrapper to bootstrap Drupal in OO context to make native API calls.

Work-in-progress

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.

Requirements

PHP 5.3

Contributing

Fork and issue a Pull Request.

Running the Tests

$ phpunit

Acknowledgements

The basic functionality is borrowed from drupal/drupalextensions

License

Released under the MIT License. See the bundled LICENSE file for details.

About

Lightweight wrapper to bootstrap Drupal in OO context to make native API calls.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0