thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server
https://oauth2.thephpleague.com
MIT License
6.51k stars 1.12k forks source link

Root package 'league/oauth2-server' cannot require itself in its composer.json #1252

Closed twlawrenceko closed 2 years ago

twlawrenceko commented 2 years ago

Hello,

I am not able to run the compose command. I get the following error.

user@linux:~/oauth2-server-8.3.3$ composer require league/oauth2-server

Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Using version ^8.3 for league/oauth2-server
Root package 'league/oauth2-server' cannot require itself in its composer.json

Thank you.

twlawrenceko commented 2 years ago

composer install is the right command.