bartlett/php-compatinfo-db

Reference Database to be used with php-compatinfo library

2.18.0 2020-09-13 19:59 UTC

README

Stable Upcoming
Latest Stable Version Unstable Version
Minimum PHP Version) Minimum PHP Version)

Main goal of this project is to provide a standalone database (SQLite3) that references all functions, constants, classes, interfaces on PHP standard distribution and about 100 extensions.

This database is currently only supported by its initial project php-compatinfo on versions 5.x-dev

Features

  • a Symfony console application to handle data (json files) of the SQLite3 database is provided on CLI API

More than 100 extensions (PHP standard distribution, but also PECL) are currently supported :

  • reference all functions
  • reference all constants
  • reference all classes
  • reference all classes constants
  • reference all interfaces
  • reference all methods
  • reference all ini entries
  • reference all releases

Version 2.18.0 supports following PHP versions :

  • PHP 5.2.17
  • PHP 5.3.29
  • PHP 5.4.45
  • PHP 5.5.38
  • PHP 5.6.40
  • PHP 7.0.33
  • PHP 7.1.33
  • PHP 7.2.33
  • PHP 7.3.22
  • PHP 7.4.10

Currently, 108 extensions referenced in the database.

For future versions, see the CHANGELOG file.

Examples

See examples/useExtensionFactory.php script to learn how to access to informations in database.

Requirements

  • PHP 7.1 or greater
  • PHPUnit 7 or greater (if you want to run unit tests)

Installation

The recommended way to install this library is through composer. If you don't know yet what is composer, have a look on introduction.

composer require bartlett/php-compatinfo-db

Contributors

  • Laurent Laville (Lead Developer)
  • Remi Collet (contributor on many extensions and unit tests)

License

This project is licensed under the BSD-3-Clause License - see the LICENSE file for details