Description
ApiGen is an API documentation generator for PHP projects. It is designed to be smart and readable and supports the features of recent PHP versions, including PHP 8.3 typed class constants, PHP 8.2 readonly classes and disjunctive normal form types, PHP 8.1 enums, intersection types, the never type and readonly properties, PHP 8.0 constructor property promotion and union types, and PHP 7.4 typed properties. It reads phpDoc comments and supports all the types PHPStan understands, including generic class declarations and local type aliases. The README says it is easy to use and modern, and it can be installed with Docker or as a Phar file. The project's name and tagline say it is PHP 7.1 ready for the documentation it generates, while the README's feature list focuses on the newest PHP syntax.…
Highlights
- API documentation for PHP projects
- Supports PHP 8.3 and recent language features
- Reads phpDoc and PHPStan types
- Install with Docker or as a Phar
- Readable documentation for classes and enums
Ratings & Reviews
No ratings yet
Be the first to rate ApiGen.
People also visit
ApiGen FAQ
What is ApiGen?
A tool that generates API documentation from PHP source code and phpDoc comments.
Is it free?
Yes. It is open source and hosted on GitHub.
Which PHP features does it understand?
The README lists features from PHP 7.2 up to PHP 8.3, including enums, readonly properties, union types and typed class constants.
How do I install it?
The README has install instructions with Docker and with a Phar file.
Which type system does it use?
The README says it supports all types that PHPStan supports, including generic class declarations and local type aliases.
What are the best ApiGen alternatives?
Popular alternatives to ApiGen include Doctum, Typedoc and Jsdoc To Markdown. See all ApiGen alternatives


