PHP Supported Versions as a SPIP Plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b_b 8e80bcd655 Merge branch 'roadmap_update' into 'master' 5 months ago
action feat(spip_loader): improve Last-Modified header 1 year ago
css Fin de la Filters Class 4 years ago
data feat(roadmap): ajout d'une période de support sécu pour la 4.1 + maj des versions supportées pour la 5.0 5 months ago
lang Traduction es 1 year ago
modeles Show 2 security versions in api v2 10 months ago
tests fix(tests): timestamps in DateTimeZone UTC 1 year ago
.editorconfig Resolve "Assembler des informations techniques par branches" 1 year ago
.gitattributes feat(release): SPIP 4.0.2 1 year ago
.gitignore fix(ci): artefacts filenames 1 year ago
.gitlab-ci.yml fix(ci): artefacts filenames 1 year ago
CHANGELOG SPIP 4.1.1 and 4.0.6 on board 10 months ago chore: bump version to 0.4.1 2 years ago
LICENSE Add LICENSE 4 years ago fix: compatibility between apache rules and spip_loader.php v5.0.1 1 year ago
composer.json Release 0.7.0 1 year ago
composer.lock Release 0.7.0 1 year ago
paquet.xml Release 0.7.0 1 year ago
phpcs.xml.dist fix(cs): no snake_case variables +some SPIP zip archive 1 year ago
phpdoc.dist.xml Resolve "Assembler des informations techniques par branches" 1 year ago
phpstan.neon.dist feat(spip_loader): API v1 (stable) et v2 (expérimentale) 2 years ago
phpunit.xml.dist Unit Tests 2 years ago
pre_releases.json.html feat(release notes): Add release notes model 2 years ago
releases.json.html /releases.json can be requested 2 years ago
spip_loader_list.json.html Release 0.7.0 1 year ago
supported-versions.svg.html balise SUPPORTED_VERSIONS, modèle svg -> calendar, diverses corrections 4 years ago
supportedversions_fonctions.php feat(requirements): dependence with 'system' attribute 1 year ago
supportedversions_options.php feat(spip_loader): v2 for spip_loader v5 as default api version. previous v2 becomes v3 1 year ago

Supported Versions

SPIP Plugin backport of PHP Supported Versions

pipeline status

coverage report


  • <supportedversions|table> : a table of actively supported versions
  • <supportedversions|calendar> : a calendar view of the table above
  • <supportedversions|legend> : colors and style explanations
  • <supportedversions|releases> : list of releases in JSON
  • <supportedversions|latest>: list of the latest releases of active branches
  • <supportedversions|eol>: list of the end of life branches
  • <supportedversions|compatibility>: table matrix of SPIP/PHP Compatibility
  • <supportedversions|release_notes>: list of releases by date
  • <supportedversions|pre_releases> : list of pre-releases in JSON
  • <supportedversions|stable> : Gives informations of the last stable version released with info parameter (version, date or url)
  • <supportedversions|spiploaderlist_X> : JSON for spip_loader.php where X is the API version.
  • <supportedversions|configuration> : list of required, suggested and provided technologies


  • |SupportedVersions::getBranchValues : Array of branch data for a given release string
  • |SupportedVersions::getBranchesFromState Array of branch data for a given state string
  • |SupportedVersions::branchesByState Arrray of branch data for a given list of states
  • |SupportedVersions::configuration Converts a list of elements in a string like element1, element2 v1

Other usage

Calling /spip.php?page=supported-versions.svg renders a calendar in svg format.

Calling /spip.php?page=releases.json renders a JSON formatted of releases.

Calling /spip.php?page=pre_releases.json renders a JSON formatted of alpha, beta and RC pre-releases.

Calling /spip_loader.api or /spip_loader.api/1 for apache httpd server with rewrite mode and .htaccess default file exposes the spip_loader_list.json JSON. First argument, like /1 is the api parameter.


RewriteRule ^supported-versions\.svg$ spip.php?page=supported-versions.svg [QSA,L]

and call : /supported-versions.svg

RewriteRule ^releases\.json$ spip.php?page=releases.json [QSA,L]

and call : /releases.json

RewriteRule ^pre_releases\.json$ spip.php?page=pre_releases.json [QSA,L]

and call : /pre_releases.json

RewriteRule ^spip-dev/INSTALL/spip_loader_list.json$ spip_loader.api [QSA,L]
# Compatibility with spip_loader.php v5.0.1
RewriteRule ^spip-dev/INSTALL/(.*).php.txt$ spip-dev/INSTALL/$1.php [L]

and call : /spip-dev/INSTALL/spip_loader_list.json


  • Hanjo for the Dutch translation
  • George for the Arabic translation
  • Nicod_ for BEM and so much
  • b_b & marcimat for their support
  • lspeciale for the Spanish translation