laravel instal
composer global require laravel/installer
laravel new example-app
php artisan serve
laravel instal
composer global require laravel/installer
laravel new example-app
php artisan serve
how to install new project in laravel
You can create project by 2 ways:
First is installing it without defining version:
composer create-project laravel/laravel yourProjectName
Secondly you can install by defining version:
composer create-project laravel/laravel="VersionOfYourChoice" yourProjectName
install laravel globally mac
// Adding Laravel to global Path in mac
export PATH="$PATH:$HOME/.composer/vendor/bin"
mac m1 laravel global install
export PATH=${PATH}:~/.composer/vendor/bin
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us