---
title: "corestack_php_catalogue_get"
url: https://docs.corefinity.com/mcp/tools/corestack_php_catalogue_get
type: tool
last_updated: 2026-11-13
feature: php-runtime
related:
  - https://docs.corefinity.com/api/reference/runtime/get-php-catalogue.md
  - https://docs.corefinity.com/guides/sites/software-and-services/php-version.md
---
# corestack_php_catalogue_get

**PHP catalogue.** What a PHP minor offers: its extensions with what needs or recommends them and whether they are available, the builtin ones, the baked tools, the php.ini directives, and the presets and examples for a platform. Scope: read.

- Scope: `read`
- Runs as a task: no

## When to use it

What a PHP minor offers: its extensions with what needs or recommends them and whether they are available, the builtin ones, the baked tools, the php.ini directives, and the presets and examples for a platform.

## Inputs

- `version` (string, up to 16 characters, pattern `^\d+\.\d+$`, required): A PHP minor, e.g. 8.4.
- `platform` (one of `wordpress`, `laravel`, `magento2`, `shopware`): Its presets, and only its examples.

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "platform": {
      "description": "Its presets, and only its examples.",
      "enum": [
        "wordpress",
        "laravel",
        "magento2",
        "shopware5"
      ],
      "type": "string"
    },
    "version": {
      "description": "A PHP minor, e.g. 8.4.",
      "maxLength": 16,
      "pattern": "^\\d+\\.\\d+$",
      "type": "string"
    }
  },
  "required": [
    "version"
  ],
  "type": "object"
}
```

## Refusals

- `invalid_arguments`: `version` is not a PHP minor the platform has a current build of.
- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).

## Example

```json
{
  "name": "corestack_php_catalogue_get",
  "arguments": {
    "version": "8.3",
    "platform": "magento2"
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_php_catalogue_get with version 8.3, platform magento2. (PHP catalogue.) Tell me what it returned.
```

## The same task elsewhere

- Endpoint: [GET /api/corestack/php/catalogue/{version}](https://docs.corefinity.com/api/reference/runtime/get-php-catalogue.md)
- Guide: [Change PHP version](https://docs.corefinity.com/guides/sites/software-and-services/php-version.md)
