Composer 命令可以使用 composer 命令执行. Laravel Sail 的应用程序容器中已经安装 Composer 2.x:
composer
sail composer require laravel/sanctum
关闭