Weave Code
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.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours