Laravel Table Migrations PHP artisan Queries | commands

After creating a migration file you can run these commands.


Below is for database
For migrate.
>php artisan migrate

For revert last run’s migration
>php artisan migrate:rollback –step=1

Other Commands
For Run project of PHP laravel
>php artisan serve
For creating crud
>php artisan make:model SiteSetting -mcr
For make component
>php artisan make:component Footer
For make controller
>php artisan make:controller Home