Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. PHP
  3. APIGen

APIGen

NOASSERTIONPHPv7.0.0-alpha.6

A modern API documentation generator for PHP projects that supports all PHP 8.3 features.

Visit WebsiteGitHubGitHub
2.2k stars307 forks0 contributors

What is APIGen?

ApiGen is a modern API documentation generator specifically designed for PHP projects. It automatically generates readable documentation from PHP source code, supporting all PHP 8.3 features and comprehensive phpDoc annotations. The tool helps developers create and maintain up-to-date API references for their PHP applications.

Target Audience

PHP developers and teams who need to generate and maintain API documentation for their PHP projects, particularly those using modern PHP versions (7.1 through 8.3).

Value Proposition

Developers choose ApiGen for its comprehensive support of modern PHP features, smart phpDoc parsing, and ease of use compared to manual documentation or less feature-complete alternatives.

Overview

PHP 7.1 ready Smart and Simple Documentation for your PHP project

Use Cases

Best For

  • Generating API documentation for PHP libraries and frameworks
  • Documenting PHP projects using modern features like enums and union types
  • Creating maintainable documentation for large PHP codebases
  • Teams needing automated documentation generation in CI/CD pipelines
  • PHP developers who want comprehensive phpDoc support
  • Projects requiring documentation that stays current with PHP language evolution

Not Ideal For

  • Projects requiring interactive API exploration or live documentation updates
  • Teams standardized on OpenAPI/Swagger for API specification
  • Environments with tight memory constraints (below 512MB per process)

Pros & Cons

Pros

Modern PHP Coverage

Supports all PHP features from 5.4 to 8.3, including enums, union types, and typed class constants, ensuring documentation stays current with PHP's evolution.

Advanced phpDoc Parsing

Integrates PHPStan's type system for handling generic classes, local type aliases, and comprehensive phpDoc annotations, providing accurate and detailed documentation.

Parallel Rendering Speed

Uses worker processes configurable via workerCount, significantly accelerating documentation generation for large codebases through parallel processing.

Flexible Configuration

Offers detailed settings in apigen.neon files for paths, exclusions, and output, allowing precise control over what gets documented and how.

Cons

Alpha Version Risks

Version 7.0 is marked as alpha, indicating potential bugs, breaking changes, or incomplete features, which may deter production use.

Limited Theme System

ThemeDir is optional with no built-in themes detailed, requiring manual effort for custom designs, which can be cumbersome for teams needing polished outputs.

NEON Configuration Hurdle

Relies on NEON format for configuration, less common than JSON or YAML, adding a learning curve for developers unfamiliar with Nette's syntax.

Frequently Asked Questions

Quick Stats

Stars2,167
Forks307
Contributors0
Open Issues21
Last commit1 year ago
CreatedSince 2011

Tags

#generator#developer-tools#code-documentation#api-documentation#documentation#php-8#phpdoc#php#phpstan#documentation-generator

Built With

n
nikic/php-parser
P
PHP
D
Docker

Links & Resources

Website

Included in

PHP32.5k
Auto-fetched 1 day ago

Related Projects

swagger-phpswagger-php

A php swagger annotation and parsing library

Stars5,299
Forks940
Last commit1 month ago
ScrambleScramble

Modern Laravel OpenAPI (Swagger) documentation generator. No PHPDoc annotations required.

Stars2,104
Forks196
Last commit3 days ago
daux.iodaux.io

Daux.io is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.

Stars826
Forks191
Last commit2 days ago
phpDoxphpDox

A documentation generator for PHP projects (that is not limited to API documentation)

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub