APIGen website screenshot

APIGen

ApiGen is an open source PHP API documentation generator that automatically produces smart and simple documentation from PHP source code. It supports PHP 7.1+ including all PHP 8.3 features like enums, union types, readonly classes, and intersection types. ApiGen is maintained by the ApiGen GitHub organization and can be installed via Docker, Phar binary, or Composer.

APIGen publishes 8 APIs on the APIs.io network, including Connectors API, Deployments API, Endpoints API, and 5 more. Tagged areas include Code, Documentation, Generation, Open-Source, and PHP.

The APIGen catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.

APIGen’s developer surface includes authentication and 8 more developer resources.

37.3/100 thin ▬ flat Agent 20/100 agent aware Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
1 APIs 5 Features 3 Use Cases
CodeDocumentationGenerationOpen-SourcePHP

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/apigen: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 8

Individual APIs this provider publishes, each with its own machine-readable definition.

APIGen Connectors API

Configure connections to external data sources.

APIGen Deployments API

Deploy APIs to target environments.

APIGen Endpoints API

Define and manage API endpoints.

APIGen Projects API

Manage API generation projects.

APIGen Schemas API

Define data schemas for APIs.

APIGen Tests API

Create and run automated API tests.

APIGen Tokens API

Manage API authentication tokens.

APIGen Users API

Manage user profiles.

Scroll for all 8

Open Collections 10

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

APIGen API

OPEN COLLECTION

APIGen Connectors API

OPEN COLLECTION

Scroll for all 10

Pricing Plans 1

Published pricing tiers and plan structures.

Apigen Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Apigen Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Features 5

Notable capabilities this provider offers.

PHP Documentation Generation

Automatically generates API documentation from PHP source code with phpDoc support.

Modern PHP Support

Full support for PHP 7.1+ including typed properties, enums, union types, readonly classes, and PHP 8.3 features.

Advanced Type Systems

Supports intersection types, disjunctive normal form types, constructor property promotion, and all PHPStan-supported types.

Flexible Installation

Available via Docker, Phar binary, or Composer for flexible integration into any PHP project workflow.

Template-Based Output

Uses Latte templating for customizable documentation output with built-in CommonMark support.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Apigen Context

29 classes · 10 properties

JSON-LD

Spectral Rules 2

Spectral governance rulesets for linting and validating these APIs.

APIGen API Rules

5 rules · 3 warnings 2 info

SPECTRAL

APIGen API Rules

17 rules · 4 errors 12 warnings 1 info

SPECTRAL

JSON Schema 4

Standalone JSON Schema definitions for this provider's data models.

APIGen API

14 properties

JSON SCHEMA

APIGen Deployment

13 properties

JSON SCHEMA

APIGen Endpoint

13 properties

JSON SCHEMA

APIGen Project

9 properties

JSON SCHEMA

JSON Structure 4

JSON Structure definitions describing this provider's data shapes.

Apigen Api Structure

14 properties

JSON STRUCTURE

Apigen Deployment Structure

13 properties

JSON STRUCTURE

Apigen Endpoint Structure

13 properties

JSON STRUCTURE

Apigen Project Structure

9 properties

JSON STRUCTURE

Examples 4

Example request and response payloads for these APIs.

Apigen Api Example

4 fields

EXAMPLE

Apigen Deployment Example

5 fields

EXAMPLE

Apigen Endpoint Example

5 fields

EXAMPLE

Apigen Project Example

4 fields

EXAMPLE

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Apigen Authentication

apiKey/http · 2 schemes

SECURITY

Apigen Domain Security

TLSv1.3

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Apigen Agentic Access

39 operations · 23 acting · 1 human-in-the-loop

39 operations · 23 acting

AGENTIC

Use Cases 3

What developers build with this provider.

PHP Library Documentation

Generate comprehensive API reference documentation for PHP libraries and packages.

CI/CD Documentation Pipeline

Automate API documentation generation as part of continuous integration workflows.

Open Source Project Docs

Create and maintain documentation for open source PHP projects.

Integrations 4

Pre-built integrations with other platforms and tools.

Composer

Available as a Composer package for easy installation in PHP projects.

Docker

Official Docker image for containerized documentation generation.

GitHub Actions

Can be integrated into GitHub Actions workflows for automated documentation.

PHPStan

Built on phpstan/phpdoc-parser for comprehensive type system support.

Resources

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Company 1

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: apigen
url: https://raw.githubusercontent.com/api-evangelist/apigen/refs/heads/main/apis.yml
name: APIGen
description: ApiGen is an open source PHP API documentation generator that automatically produces smart and simple documentation
  from PHP source code. It supports PHP 7.1+ including all PHP 8.3 features like enums, union types, readonly classes, and
  intersection types. ApiGen is maintained by the ApiGen GitHub organization and can be installed via Docker, Phar binary,
  or Composer.
tags:
- Code
- Documentation
- Generation
- Open-Source
- PHP
tags_raw:
- Code
- Documentation
- Generation
- Open Source
- PHP
type: Index
deliveryModel:
  model: unknown
  open_source: unknown
  commercial: false
  callable_host: true
  label: Delivery model not determined — needs a product licence on record
  confidence: low
  source:
  - openapi
  - repository-unlicensed
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-09-03'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/apigen.png
access: 3rd-Party
created: '2025-01-08'
modified: '2026-05-19'
position: Consuming
specificationVersion: '0.23'
apis:
- aid: apigen:apigen-connectors-api
  name: APIGen Connectors API
  description: Configure connections to external data sources.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags:
  - Connectors
  properties:
  - type: OpenAPI
    url: openapi/apigen-connectors-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
- aid: apigen:apigen-deployments-api
  name: APIGen Deployments API
  description: Deploy APIs to target environments.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags:
  - Deployment
  tags_raw:
  - Deployments
  properties:
  - type: OpenAPI
    url: openapi/apigen-deployments-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
- aid: apigen:apigen-endpoints-api
  name: APIGen Endpoints API
  description: Define and manage API endpoints.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags: []
  tags_raw:
  - Endpoints
  properties:
  - type: OpenAPI
    url: openapi/apigen-endpoints-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
- aid: apigen:apigen-projects-api
  name: APIGen Projects API
  description: Manage API generation projects.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags:
  - Project
  tags_raw:
  - Projects
  properties:
  - type: OpenAPI
    url: openapi/apigen-projects-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
- aid: apigen:apigen-schemas-api
  name: APIGen Schemas API
  description: Define data schemas for APIs.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags:
  - Schemas
  properties:
  - type: OpenAPI
    url: openapi/apigen-schemas-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
- aid: apigen:apigen-tests-api
  name: APIGen Tests API
  description: Create and run automated API tests.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags:
  - Tests
  properties:
  - type: OpenAPI
    url: openapi/apigen-tests-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
- aid: apigen:apigen-tokens-api
  name: APIGen Tokens API
  description: Manage API authentication tokens.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags:
  - Tokens
  properties:
  - type: OpenAPI
    url: openapi/apigen-tokens-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
- aid: apigen:apigen-users-api
  name: APIGen Users API
  description: Manage user profiles.
  humanURL: https://github.com/ApiGen/ApiGen
  baseURL: https://api.apigen.com/v1
  tags:
  - User
  tags_raw:
  - Users
  properties:
  - type: OpenAPI
    url: openapi/apigen-users-api-openapi.yml
  - type: GitHubRepository
    url: https://github.com/ApiGen/ApiGen
  - type: SDKs
    url: https://packagist.org/packages/apigen/apigen
  - type: JSONSchema
    url: json-schema/apigen-project-schema.json
  - type: JSONSchema
    url: json-schema/apigen-api-schema.json
  - type: JSONSchema
    url: json-schema/apigen-endpoint-schema.json
  - type: JSONSchema
    url: json-schema/apigen-deployment-schema.json
  - type: JSONLD
    url: json-ld/apigen-context.jsonld
common:
- type: IssueTracker
  url: https://github.com/ApiGen/ApiGen/issues
- type: Releases
  url: https://github.com/ApiGen/ApiGen/releases
- type: AgenticAccess
  url: agentic-access/apigen-agentic-access.yml
- type: DomainSecurity
  url: security/apigen-domain-security.yml
- type: Authentication
  url: authentication/apigen-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/company/apigen
- url: https://github.com/ApiGen/ApiGen
  type: GitHubOrganization
- url: https://packagist.org/packages/apigen/apigen
  type: SDKs
- url: https://hub.docker.com/r/apigen/apigen
  type: Docker
- type: Features
  data:
  - name: PHP Documentation Generation
    description: Automatically generates API documentation from PHP source code with phpDoc support.
  - name: Modern PHP Support
    description: Full support for PHP 7.1+ including typed properties, enums, union types, readonly classes, and PHP 8.3 features.
  - name: Advanced Type Systems
    description: Supports intersection types, disjunctive normal form types, constructor property promotion, and all PHPStan-supported
      types.
  - name: Flexible Installation
    description: Available via Docker, Phar binary, or Composer for flexible integration into any PHP project workflow.
  - name: Template-Based Output
    description: Uses Latte templating for customizable documentation output with built-in CommonMark support.
- type: UseCases
  data:
  - name: PHP Library Documentation
    description: Generate comprehensive API reference documentation for PHP libraries and packages.
  - name: CI/CD Documentation Pipeline
    description: Automate API documentation generation as part of continuous integration workflows.
  - name: Open Source Project Docs
    description: Create and maintain documentation for open source PHP projects.
- type: Integrations
  data:
  - name: Composer
    description: Available as a Composer package for easy installation in PHP projects.
  - name: Docker
    description: Official Docker image for containerized documentation generation.
  - name: GitHub Actions
    description: Can be integrated into GitHub Actions workflows for automated documentation.
  - name: PHPStan
    description: Built on phpstan/phpdoc-parser for comprehensive type system support.
maintainers:
- FN: Kin Lane
  email: info@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/apigen"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/apigen/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/apigen/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.