wesnick/drupal-bootstrap
最新稳定版本:1.0.0
Composer 安装命令:
composer require wesnick/drupal-bootstrap
包简介
Lightweight wrapper to bootstrap Drupal in OO context to make native API calls.
README 文档
README
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.
统计信息
- 总下载量: 617
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-11-20