Laravel – Day to Day

composer create-project laravel/laravel example-app

composer create-project --prefer-dist laravel/laravel:^8.0 demo

php artisan make:migration create_flights_table

php artisan make:model UserAttendance -m

php artisan make:controller UserAttendanceController –resource

php artisan migrate

php artisan optimize:clear

php artisan migrate:rollback –step=1

Folder create
Git Bash (Write click)
git init (will create a hidden folder)
git clone https://github.com/suranjan-sn/sahara-motors.git
cd sahara-motors
git switch develop
git status
git pull
git add file_name (. for all)
git commit -m “just testing”
git push

Warning: require(C:\xampp\htdocs\sahara-motors\public/../vendor/autoload.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\sahara-motors\public\index.php on line 34
composer install