Skip to content

Tag: laravel-artisan

Laravel 5 command – Mandatory options

I am trying to write a laravel command but I can’t have the options to be mandatory. I do understand that the concept of option is being “optional” but I’d like to have a command in which it is clear which input you are inserting and in no particular order. i.e. I would like to achieve…

migrating a specific table in laravel

using command php artisan migrate migrates all the tables. but i have employees table that i migrated along with other tables. but it is not migrated (i cannot see it in phpmyadmin). now when i again use php artisan migrate command it displays nothing to migrate. How can i migrate that specific employees tabl…