fabsor/drupal-release-api
最新稳定版本:0.1
Composer 安装命令:
composer require fabsor/drupal-release-api
包简介
Fetch information about Drupal releases
README 文档
README
Introduction
The Drupal project module provides an XML-based API for getting project and release information for project hosted on the server. This library makes it easy to access data from drupal.org and other sources.
Dependencies
You need to install the php curl extension.
Installation
# composer.phar install
Usage example
This example fetches the Drupal project and dumps info about the current release:
use Fabsor\DrupalReleaseApi\HTTPReleaseFetcher;
$fetcher = new HTTPReleaseFetcher();
$project = $fetcher->getReleaseInfo('drupal', '7.x');
var_dump($project->getCurrentRelease());
统计信息
- 总下载量: 110
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL
- 更新时间: 2012-12-14