Looking to hire Laravel developers? Try LaraJobs

laravel maintained by docuccino

Description
Laravel adapter for Docuccino: route discovery, extension registry, pipeline and artisan export.
Author
Tom Martin
Last update
2026/08/18 17:50 (dev-main)
License
Downloads
16

Comments
comments powered by Disqus

docuccino/laravel

This repository is a read-only subtree split of docuccino/docuccino. Open issues and pull requests on the monorepo — commits pushed here are overwritten.

The Laravel adapter for Docuccino — a UIR-based API documentation generator. It discovers your routes, runs the extension pipeline, and exports OpenAPI / UIR documents from the real shape of your code.

Install

To serve the docs from your app — the viewer live on a deployed environment:

composer require docuccino/laravel
composer require --dev docuccino/inference-phpstan   # powers type inference

For docs you only read in development, or a spec you host elsewhere, keep both dev-only — composer install --no-dev then ships neither:

composer require --dev docuccino/laravel docuccino/inference-phpstan

Analysis is a build-time job either way: the inference engine runs wherever you generate the document, never on a production host. Without the engine, documentation comes from docblocks and attributes only — and every export warns that it did.

Publish the config:

php artisan vendor:publish --tag=docuccino-config

Usage

Generate and export the default document:

php artisan docuccino:export

Other commands: docuccino:diff, docuccino:validate, docuccino:cache, docuccino:clear. Register your own extensions from any service provider:

use Docuccino\Laravel\Facades\Docuccino;

Docuccino::extend(MyOperationExtension::class);

Documentation

Full documentation is at https://docs.docuccino.app:

License

MIT. See LICENSE.