Skip to content

FAQ

How to restart the last migration?

sh
artisan migrate:refresh --step 1

How to generate IDE helper comments for a model?

IMPORTANT

This requires the laravel-ide-helper package to be installed.

sh
composer req barryvdh/laravel-ide-helper --dev
sh
artisan ide-helper:models "App\Models\Post" "App\Models\User"

Last updated: