When trying to create a new laravel project, The following error appears on the CLI:
Could not open input file: artisan Script php artisan clear-c
Could not open input file: artisan
Script php artisan clear-c
This error happens because you didn't install composer on your project.
run composer install command in your project path.
composer install