Last active
April 19, 2021 04:05
-
-
Save dinushchathurya/91152183715a17180f82e1b7b761ac41 to your computer and use it in GitHub Desktop.
Laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Clear cache | |
php artisan config:cache | |
// Re-add class | |
composer dump-autoload | |
// Create seeder | |
php artisan make:seeder UserSeeder | |
// Migrating and inserting fake data from seeder to database | |
php artisan migrate:fresh --seed | |
// Create resource controller | |
php artisan make:controller API/UserController -r | |
//Create validation | |
php artisan make:request UserRequest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment