2017 © Pedro Peláez
 

composer-plugin php-releases

Automatically fetch a list of PHP releases from the official PHP website.

image

brightnucleus/php-releases

Automatically fetch a list of PHP releases from the official PHP website.

  • Thursday, March 31, 2016
  • by schlessera
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Bright Nucleus PHP Releases Database

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

This is a Composer plugin that provides an automated list of PHP releases., (*2)

Table Of Contents

Installation

The only thing you need to do to make this work is adding this package as a dependency to your project:, (*3)

composer require brightnucleus/php-releases

Basic Usage

On each composer install or composer update, the list of PHP releases will be rebuilt., (*4)

Usage is pretty straight-forward. Just use one of the two provided static methods:, (*5)

<?php

$releases = new PHPReleases();

// Check whether a specific version exists.
$exists = $releases->exists( '7.0.0' ); // Returns true.

// Get the release date of a specific version.
$date = $releases->getReleaseDate( '7.0.0' ); // Returns DateTime object for 2015-12-03.

// Get all the release data.
$array = $releases->getAll(); // Returns an array in the format: '<version>' => '<release date>'

Contributing

All feedback / bug reports / pull requests are welcome., (*6)

License

This code is released under the MIT license. For the full copyright and license information, please view the LICENSE file distributed with this source code., (*7)

The Versions

31/03 2016

dev-master

9999999-dev

Automatically fetch a list of PHP releases from the official PHP website.

  Sources   Download

MIT

The Requires

 

The Development Requires

31/03 2016

v0.1.0

0.1.0.0

Automatically fetch a list of PHP releases from the official PHP website.

  Sources   Download

MIT

The Requires

 

The Development Requires