Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Openapi Laravel Package

vyuldashev/laravel-openapi

View on GitHub
Deep Wiki
Context7

Middlewares

Middlewares are an optional bit of logic to transform the given data at various lifecycle points.

Path

To add a path middleware create a class that implements \Vyuldashev\LaravelOpenApi\Contracts\PathMiddleware then register it by referencing it in the openapi.collections.default.middlewares.paths config array like MyPathMiddleware::class

Available lifecycle points are:

  • before - after collecting all RouteInformation but before processing them.
  • after - after the PathItem has been built.

Component

To add a path middleware create a class that implements \Vyuldashev\LaravelOpenApi\Contracts\ComponentMiddleware then register it by referencing it in the openapi.collections.default.middlewares.components config array like MyComponentMiddleware::class

Available lifecycle points are:

  • after - after the Components has been built.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk