fabsor / drupal-release-api
Fetch information about Drupal releases
Installs: 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/fabsor/drupal-release-api
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2025-12-06 18:31:20 UTC
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());