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 6 more developer resources.

50.5/100 developing ▬ flat Agent 31/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
8 APIs 5 Features 3 Use Cases
CodeDocumentationGenerationOpen SourcePHP

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 50.5/100 · developing
Contract Quality 19.9 / 25
Developer Ergonomics 3.5 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 4.8 / 13
Governance 7.0 / 12
Discoverability 7.4 / 10
Agent readiness — 31/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. 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. Want it done for you? Prioritized profiling — $2,500 →

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 1

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

APIGen API

OPEN COLLECTION

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

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
type: Index
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  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: Consumer
specificationVersion: '0.19'
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:
  - 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:
  - 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:
  - 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:
  - 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: 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