run a laravel project command line code example
Example 1: php artisan serve
// run laravel project
php artisan serve --port="port" --host="host"
Example 2: start someones laravel project
1. composer update --no-scripts or composer install
2. php artisan key:generate
3. rename example.env to .env
4. Change database credentials, set debug mode! Change app url
4. php artisan migrate(make sure u have the database running in the server)
5. php artisan config:clear
6. you are good to go!