Download the PHP package baraja-core/structured-api-doc without Composer
On this page you can find all versions of the php package baraja-core/structured-api-doc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download baraja-core/structured-api-doc
More information about baraja-core/structured-api-doc
Files in baraja-core/structured-api-doc
Package structured-api-doc
Short Description Automatically generated documentation by parsing of Structured API endpoints.
License
Homepage https://github.com/baraja-core/structured-api-doc
Informations about the package structured-api-doc
Structured API Documentation
Fully automated tool for documentation.
📦 Installation
It's best to use Composer for installation, and you can also find the package on Packagist and GitHub.
To install, simply use the command:
You can use the package manually by creating an instance of the internal classes, or register a DIC extension to link the services directly to the Nette Framework.
Idea
When developing any application, developers must maintain both the source code itself and documentation describing the general functionality for others. Writing documentation in a separate system takes more time, leads to human error, and makes the documentation obsolete over time. BRJ solves this problem by allowing developers to write documentation directly into comments in the source code, and then always machine-generate the page consistently.
How to start using BRJ documentation?
- Use Structured API endpoints (implementing Baraja Structured API) to your application
- Install this package
- Open URL
/api-documentation
Sample endpoint implementation with native comments:
Designed for developers
We understand that maintaining data structures in PHP and on the frontend can be challenging, so the library includes a native button to export any response structure to TypeScript:
📄 License
baraja-core/structured-api-doc
is licensed under the MIT license. See the LICENSE file for more details.
All versions of structured-api-doc with dependencies
ext-json Version *
ext-mbstring Version *
ext-iconv Version *
baraja-core/structured-api Version ^4.0
baraja-core/url Version ^1.1
nette/utils Version ^3.0