docuccino/attributes

Dependency-free PHP attribute classes for Docuccino.

Maintainers

Package info

github.com/docuccino/php-attributes

Homepage

Issues

pkg:composer/docuccino/attributes

Transparency log

Statistics

Installs: 2

Dependents: 2

Suggesters: 0

Stars: 0

v0.1.1 2026-08-09 16:25 UTC

This package is auto-updated.

Last update: 2026-08-12 12:28:01 UTC


README

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

Dependency-free PHP attribute classes for Docuccino. These attributes annotate controllers, actions and closure routes so the Docuccino pipeline can patch or add documentation. The package has no dependencies beyond PHP itself, so it is safe to require from library code that wants to expose Docuccino annotations without pulling in the full toolchain. docuccino/core requires it at runtime (core reflects these attributes off your classes and enums), so it is versioned in lockstep with the rest of Docuccino.

Install

composer require docuccino/attributes

Usage

use Docuccino\Attributes\QueryParameter;

final class FormController
{
    #[QueryParameter(name: 'status', type: 'string', description: 'Filter by status')]
    public function index() { /* … */ }
}

Documentation

Every attribute — with signatures and examples — is documented in the attributes reference at https://docs.docuccino.app.

License

MIT. See LICENSE.