nmp install
composer install
php artisan serve
npm run dev
npm run build //for production or serve online via ngrok
php artisan optimize
php artisan make:view php artisan make:controller php artisan make:model php artisan make:migration php artisan make:middleware php artisan key:generate
php artisan make:middleware EnsureTokenIsValid php artisan make:middleware EnsureUserHasRole php artisan make:controller TestController php artisan migrate php artisan make:factory PostFactory php artisan make:factory EmployeeFactory php artisan db:seed php artisan make:seeder UserSeeder php artisan db:seed --class=UserSeeder php artisan migrate:fresh --seed php artisan migrate:fresh --seed --seeder=UserSeeder php artisan make:migration add_softdelete_employees composer dump-autoload php artisan route:list php artisan make:model Salary php artisan make:model Titles php artisan make:model Dep_manager
php artisan migrate:fresh --seed --seeder=UserSeeder
php artisan make:middleware php artisan make:command CustomTask php artisan custom:task //to run task manually crontab -e //check server cronjob
-
-
-
-
- cd /path/to/your/project && php artisan schedule:run >> /dev/null 2>&1 //this will execute cronjob tail -f storage/logs/laravel.log //monitor logs php artisan list php artisan schedule:list php artisan app:custom-task
-
-
-