Laravel-4-Artisan icon indicating copy to clipboard operation
Laravel-4-Artisan copied to clipboard

Laravel Generate:from not working

Open mbaljeetsingh opened this issue 10 years ago • 4 comments

I am having this error:

     [InvalidArgumentException]               
     Command "generate:form" is not defined.  
     Did you mean one of these?               
     generate:model                       
     generate:seed                        
     generate:view                        
     generate:scaffold                    
     generate:publish-templates           
     generate:resource                    
     generate:pivot                       
     generate:migration                   
     generate:controller   

Please Fix this

mbaljeetsingh avatar Aug 25 '14 17:08 mbaljeetsingh

What version of generators are you using? The form routine was removed in 2.x release.

mikeerickson avatar Aug 26 '14 00:08 mikeerickson

But why? Please do include it again

mbaljeetsingh avatar Aug 26 '14 02:08 mbaljeetsingh

I won't return anytime soon in the 2.x branch.

However should you wish to downgrade to 1.* it is still supported there and works just fine with Laravel 4.2.x (and will work with 4.3.x when it is released)

mikeerickson avatar Aug 26 '14 15:08 mikeerickson

for the cmnds that require a specific version of generators ,could u plz add something like "~1" next to the cmnd so the user understand that this is only working in that version ?

ctf0 avatar Dec 03 '14 18:12 ctf0