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.
-
API Platform
Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time. -
PHP-CRUD-API
Single file PHP script that adds a REST API to a SQL database -
Firebase Admin SDK for PHP
Unofficial Firebase Admin SDK for PHP -
Restler
Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API -
wsdl2phpgenerator
Simple utility and class library for generating php classes from a wsdl file. -
Hateoas
A PHP library to support implementing representations for HATEOAS REST web services. -
OverblogGraphQLBundle
This bundle provides tools to build a complete GraphQL API server in your Symfony App. -
Pinterest Bot for PHP
This PHP library will help you to work with your Pinterest account without using any API account credentials. -
Symfony DataTables Bundle
DataTables bundle for Symfony -
Symfony GraphQl Bundle
Pure PHP implementation of GraphQL Server – Symfony Bundle -
PSX Framework
PSX is an innovative PHP framework dedicated to build fully typed REST APIs. -
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. -
Behapi
Behat extension for those who want to write acceptances tests for apis -
Symfony 2 GraphQl Bundle
GraphQL Bundle for Symfony 2. -
Bearer PHP Client
Bearer client for the PHP programming language -
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. -
mite SDK for PHP
Interact with mite from your PHP application. -
yii2-fractal
A set of utils and actions for build API following JSON:Api specification, based on league/fractal -
Personio SDK for PHP
Interact with Personio from your PHP application. -
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.