Description
phpDoc2pdf uses the phpDocumentor/Reflection library to extract the classes, interfaces and traits from your project and generate a set of documentation similar to the one that phpDocumentor2 provides, but in PDF format.
phpDoc2pdf alternatives and similar libraries
Based on the "API" category.
Alternatively, view phpDoc2pdf alternatives based on common mentions on social networks and blogs.
-
Restler
Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API -
wsdl2phpgenerator
DISCONTINUED. Simple utility and class library for generating php classes from a wsdl file. -
OverblogGraphQLBundle
This bundle provides tools to build a complete GraphQL API server in your Symfony App. -
Pinterest Bot for PHP
DISCONTINUED. This PHP library will help you to work with your Pinterest account without using any API account credentials. -
Slack for PHP
A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax. -
Drest
Quickly and easily expose Doctrine entities as REST resource endpoints with the use of simple configuration with annotations, yaml, json or a PHP array. -
chubbyphp-framework
A minimal, highly performant middleware PSR-15 microframework built with as little complexity as possible, aimed primarily at those developers who want to understand all the vendors they use. -
cidaas SDK for php
With this SDK, you can integrate cidaas smoothly and with minimal effort into your PHP application. It enables you to map the most important user flows for OAuth2 and OIDC compliant authentication. Secure โ Fast โ And unrivaled Swabian. -
yii2-fractal
A set of utils and actions for build API following JSON:Api specification, based on league/fractal -
icanhazstring/expressive-hashids-middleware
PSR-15/PSR-7 compliant middleware using ivanakimov/hashids.php
WorkOS - The modern identity platform for B2B SaaS
* 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 phpDoc2pdf or a related project?
README
phpDoc2pdf
Create PDF formatted documentation for your PHP projects.
phpDoc2pdf uses the phpDocumentor/Reflection library to extract the classes, interfaces and traits from your project and generate a set of documentation similar to the one that phpDocumentor2 provides, but in PDF format.
You can see some examples on the docs folder.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Installing
- Download the PHAR file directly from here.
Usage
Use the following command to generate the documentation:
php phpDoc2pdf.phar create <INPUT> <OUTPUT>
Replace <INPUT>
with the PHP file or directory that you want to document and <OUTPUT>
with the directory where the documentation will be saved.
Please note that the files you want to document have to be in UTF-8 format.
Built With
- phpDocumentor2/Reflection
- Symfony/Console
- mpdf
- thephpleague/plates
- erusev/parsedown
- sebastianbergmann/phpunit
Contributing
All contributions are welcome, please see the To-do list below or suggest something. ๐ค
To-do list
- [x] Add tests
- [x] Add markdown support
- [x] Add templates system
- [ ] Separate generated docs into different subdirectories
- [x] Make installation and usage simpler
- [ ] Include phpDocBlock types on method arguments
- [ ] Add support for all type of file extensions.
License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
*Note that all licence references and agreements mentioned in the phpDoc2pdf README section above
are relevant to that project's source code only.