Popularity
0.9
Stable
Activity
0.0
Stable
5
3
1

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.

Programming language: PHP
License: MIT License
Tags: Documentation     PDF     API     Phpdoc     Phpdoc2pdf     Pdf Phpdocumentor    
Latest version: v1.0.0-alpha

phpDoc2pdf alternatives and similar libraries

Based on the "API" category.
Alternatively, view phpDoc2pdf alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of phpDoc2pdf or a related project?

Add another 'API' Library

README

phpDoc2pdf

Scrutinizer Code Quality Build Status

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

  1. 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

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.