The command to install the php packages in a github project you just cloned is:

$ composer install

OUTPUT:

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 107 installs, 0 updates, 0 removals
  - Downloading doctrine/inflector (2.0.5)
  - Downloading symfony/polyfill-ctype (v1.26.0)
  - Downloading symfony/deprecation-contracts (v3.1.1)
  - Downloading fakerphp/faker (v1.20.0)
  - Downloading symfony/polyfill-mbstring (v1.26.0)
  - Downloading symfony/http-foundation (v6.1.5)
  - Downloading guzzlehttp/psr7 (2.4.1)
  - Downloading laravel/pint (v1.2.0)
  - Downloading symfony/polyfill-php80 (v1.26.0)
  - Downloading vlucas/phpdotenv (v5.4.1)
  - Downloading symfony/css-selector (v6.1.3)
  - Downloading symfony/var-dumper (v6.1.5)
  - Downloading symfony/polyfill-uuid (v1.26.0)
  - Downloading symfony/uid (v6.1.5)
  - Downloading symfony/routing (v6.1.5)
  - Downloading symfony/process (v6.1.3)
  - Downloading symfony/polyfill-php72 (v1.26.0)
  - Downloading symfony/polyfill-intl-normalizer (v1.26.0)
  - Downloading symfony/polyfill-intl-idn (v1.26.0)
  - Downloading symfony/mime (v6.1.5)
  - Downloading symfony/service-contracts (v3.1.1)
  - Downloading symfony/event-dispatcher-contracts (v3.1.1)
  - Downloading symfony/event-dispatcher (v6.1.0)
  - Downloading symfony/mailer (v6.1.5)
  - Downloading symfony/error-handler (v6.1.3)
  - Downloading symfony/http-kernel (v6.1.5)
  - Downloading symfony/finder (v6.1.3)
  - Downloading symfony/polyfill-intl-grapheme (v1.26.0)
  - Downloading symfony/string (v6.1.5)
  - Downloading symfony/console (v6.1.5)
  - Downloading symfony/polyfill-php81 (v1.26.0)
  - Downloading ramsey/uuid (4.5.1)
  - Downloading nunomaduro/termwind (v1.14.0)
  - Downloading symfony/translation-contracts (v3.1.1)
  - Downloading symfony/translation (v6.1.4)
  - Downloading nesbot/carbon (2.62.1)
  - Downloading league/flysystem (3.5.2)
  - Downloading nette/schema (v1.2.2)
  - Downloading dflydev/dot-access-data (v3.0.1)
  - Downloading league/config (v1.1.1)
  - Downloading league/commonmark (2.3.5)
  - Downloading laravel/framework (v9.33.0)
  - Downloading laravel/sail (v1.16.1)
  - Downloading nikic/php-parser (v4.15.1)
  - Downloading psy/psysh (v0.11.8)
  - Downloading laravel/tinker (v2.7.2)
  - Downloading filp/whoops (2.14.5)
  - Downloading phpunit/php-code-coverage (9.2.17)
  - Downloading phpunit/phpunit (9.5.25)
  - Downloading spatie/flare-client-php (1.3.0)
  - Downloading spatie/laravel-ignition (1.5.0)
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

INFO Discovering packages.

laravel/sail .................................................................................................. DONE
laravel/sanctum ............................................................................................... DONE
laravel/tinker ................................................................................................ DONE
nesbot/carbon ................................................................................................. DONE
nunomaduro/collision .......................................................................................... DONE
nunomaduro/termwind ........................................................................................... DONE
spatie/laravel-ignition ....................................................................................... DONE

81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

This terminal command will start to install all the required packages found in the composer.json file.

Very simple. Hope that helps.