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.
APIs
APIGen
ApiGen is an easy to use and modern PHP API documentation generator that automatically builds API documentation from PHP source code with full support for PHP 7.1+ features incl...
Capabilities
APIGen Documentation Generation
Workflow for generating, publishing, and managing API documentation using APIGen - creating projects from PHP source code, configuring endpoints, and deploying documentation sites.
Run with NaftikoFeatures
Automatically generates API documentation from PHP source code with phpDoc support.
Full support for PHP 7.1+ including typed properties, enums, union types, readonly classes, and PHP 8.3 features.
Supports intersection types, disjunctive normal form types, constructor property promotion, and all PHPStan-supported types.
Available via Docker, Phar binary, or Composer for flexible integration into any PHP project workflow.
Uses Latte templating for customizable documentation output with built-in CommonMark support.
Use Cases
Generate comprehensive API reference documentation for PHP libraries and packages.
Automate API documentation generation as part of continuous integration workflows.
Create and maintain documentation for open source PHP projects.
Integrations
Available as a Composer package for easy installation in PHP projects.
Official Docker image for containerized documentation generation.
Can be integrated into GitHub Actions workflows for automated documentation.
Built on phpstan/phpdoc-parser for comprehensive type system support.