I want to create a new project with laravel. I wrote the command like this
composer create-project laravel/laravel:^9.0 example-app
However, I got a message like this
Could not find package laravel/laravel with version ^9.0.
I have tried with code
composer create-project laravel/laravel example-app
But I got an error message like this
Could not find package laravel/laravel with stability stable.
What do I have to do?