---
title: "Gets Composer configuration"
method: GET
path: "/api/server/composer"
tags: ["Server Configuration"]
---

# Gets Composer configuration

`GET /api/server/composer`

## Response `200`

Returns information about the composer configuration.

- object
  - `json` object
    - `found` boolean
    - `valid` boolean
    - `error` object
      - `message` string
      - `details` string
  - `lock` object
    - `found` boolean
    - `fresh` boolean
  - `vendor` object
    - `found` boolean

## Other responses

- `503` — If the PHP command line binary cannot be found.

---

[API](https://skmtc.net/contao/apis/contao-manager-api.md) · [All operations](https://skmtc.net/contao/apis/contao-manager-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contao/contao-manager-api/revisions/074d8046de13/schema)
