[web-php] PR #785: [feature] Expose PHP version support states as JSON

From: Date: Wed, 14 Jun 2023 14:44:34 +0000
Subject: [web-php] PR #785: [feature] Expose PHP version support states as JSON
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-30886@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/web-php/pull/785 Author: Tom32i ## Why Expose PHP version support states for the community and PHP Monitoring tools. ## How Expose a new JSON page /releases/states (in the spirit of /releases/active) listing all PHP Branch and their support state. ## Preview ```json { "8": { "8.2": { "state": "stable", "initial": "2022-12-08T00:00:00+00:00", "until": "2024-12-08T00:00:00+00:00", "eol": "2025-12-08T00:00:00+00:00" }, "8.1": { "state": "stable", "initial": "2021-11-25T00:00:00+00:00", "until": "2023-11-25T00:00:00+00:00", "eol": "2024-11-25T00:00:00+00:00" }, "8.0": { "state": "security", "initial": "2020-11-26T00:00:00+00:00", "until": "2022-11-26T00:00:00+00:00", "eol": "2023-11-26T00:00:00+00:00" } }, "7": { "7.4": { "state": "eol", "initial": "2019-11-28T00:00:00+00:00", "until": "2021-11-28T00:00:00+00:00", "eol": "2022-11-28T00:00:00+00:00" }, "7.3": { "state": "eol", "initial": "2018-12-06T00:00:00+00:00", "until": "2020-12-06T00:00:00+00:00", "eol": "2021-12-06T00:00:00+00:00" }, ... }, ... } ```

« previous php.webmaster (#30886) next »