inertia:middleware

Create a new Inertia middleware

Options

  • force - Create the class even if the Middleware already exists Optional

Arguments

  • name - Name of the Middleware that should be created Optional
php artisan inertia:middleware [--force] [--] [<name>]