first person to install the sail to an existing laravel app needs a working local composer. (since the app already exists, every one who develops the app should have that).
from that point on, a new developer is not required to have composer nor php, so he must install the dependencies using the provided docker command (that uses a laravelsail/php82-composer container containing both composer and php).