APIGen alternatives and similar libraries
Based on the "Documentation" category.
Alternatively, view APIGen alternatives based on common mentions on social networks and blogs.
9.2 9.3 L4 APIGen VS HumHubHumHub is an Open Source Enterprise Social Network. Easy to install, intuitive to use and extendable with countless freely available modules.
5.6 0.0 L3 APIGen VS FluxBBFluxBB is a fast, light, user-friendly forum application for your website.
3.4 0.0 APIGen VS allourideas.orgallourideas allows groups to collect and priorize information in an open, democratic, and efficient process.
A php API documentation generator, fork of Sami
2.4 0.0 APIGen VS AgoutiA platform for collective blogs and social media platform, forum, question and answer service. Catalog of sites (programs), site navigation and directories - facets. A community based on the PHP HLEB micro-framework.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of APIGen or a related project?
Smart and Readable Documentation for PHP projects
ApiGen is easy to use and modern API doc generator supporting all PHP 8.2 features.
- PHP 8.2
- PHP 8.1
- PHP 8.0
- PHP 7.4
Built on Shoulders of Giants
ApiGen is available as apigen/apigen Docker image which you can directly use.
docker run --rm --interactive --tty --volume "$PWD:$PWD" --workdir "$PWD" \ apigen/apigen:edge \ src --output docs
This will install ApiGen phar binary to
mkdir -p tools curl -L https://github.com/ApiGen/ApiGen/releases/download/v7.0.0-alpha.3/apigen.phar -o tools/apigen chmod +x tools/apigen tools/apigen src --output docs
This will install ApiGen to
tools/apigen directory with executable entry point available in
composer create-project --no-dev apigen/apigen:^[email protected] tools/apigen tools/apigen/bin/apigen src --output docs
Generate API docs by passing source directories and destination option:
apigen src --output docs
ApiGen can be configured with
apigen.neon configuration file.
parameters: # string, passed as arguments in CLI, e.g. ['src'] paths:  # string, --include in CLI, included files mask, e.g. ['*.php'] include: ['*.php'] # string, --exclude in CLI, excluded files mask, e.g. ['tests/**'] exclude:  # bool, should protected members be excluded? excludeProtected: false # bool, should private members be excluded? excludePrivate: true # string, list of tags used for excluding class-likes and members excludeTagged: ['internal'] # string, --output in CLI outputDir: '%workingDir%/api' # string | null, --theme in CLI themeDir: null # string, --title in CLI title: 'API Documentation' # string, --base-url in CLI baseUrl: '' # int, --workers in CLI, number of processes that will be forked for parallel rendering workerCount: 8 # string, --memory-limit in CLI memoryLimit: '512M'
To achieve the best performance you need
pcntlextension (required for parallel rendering) and
opcacheextension with enabled JIT