Want to know issue with creating new laravel projects Hi, I am absolute new to laravel and few days ago start to learn laravel.
I was trying to create new laravel project with this command :
"laravel new projectname"
but this command not working for me it shows error that "command not found" but when i try this below command that works fine
"composer create-project laravel/laravel newProject"
So, I just wand to know that why this is happening ??
Did you install the installer globally so you can execute it from any dir?
composer global require laravel/installer
https://laravel.com/docs/5.8/installation
That said, I always just use composer to install it and not the laravel installer (which needs to also be kept up to date whereas composer create-project method doesn't)
@CRONIX - Thanks for help and quick response
Please sign in or create an account to participate in this conversation.