laravel - php artisan make:middleware OldMiddleware returns 'there are no commands defined in the 'make' namespace -


i'm trying create middleware in laravel 4.2 when run

php artisan make:middleware oldmiddleware  

it returns 'there no commands defined in 'make' namespace'

however migrate command works

when run

php artisan list

it shows me list of command there no 'make' command indeed

?

i got command : php artisan make:middleware oldmiddleware official laravel website -

make:middleware artisan command added in laravel 5.0. seems you're running older version of laravel. if want use command, upgrade laravel 5.0.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -