Deploying error. I can't deploy laravel and reactjs code

I am trying to deploy this repository, this is project with laravel and reactjs:

I assume you have tried to deploy it? Were there errors in the deploy log? Can you share the link to the deploy log?

@Giorgi_2059 While you can host a react front-end on Netlify, you won’t be able to run laravel, which would require runtime php.

so, I can’t host this project?

This is log :grin::
3:41:17 PM: build-image version: cd0a67ec27b8bcd87e2a257fe5ebcf1900a8021d (focal)
3:41:17 PM: buildbot version: cd0a67ec27b8bcd87e2a257fe5ebcf1900a8021d
3:41:17 PM: Fetching cached dependencies
3:41:18 PM: Failed to fetch cache, continuing with build
3:41:18 PM: Starting to prepare the repo for build
3:41:18 PM: No cached dependencies found. Cloning fresh repo
3:41:18 PM: git clone --filter=blob:none GitHub - George-2095/shopping-cart: After installation of laravel and composer you gotta run "php artisan db:seed --class=ProductsSeeder" in your terminal for add default products.
3:41:18 PM: Preparing Git Reference refs/heads/main
3:41:18 PM: Parsing package.json dependencies
3:41:20 PM: Starting to install dependencies
3:41:20 PM: Python version set to 3.8
3:41:20 PM: Attempting Ruby version 2.7.2, read from environment
3:41:21 PM: Using Ruby version 2.7.2
3:41:21 PM: Started restoring cached go cache
3:41:21 PM: Finished restoring cached go cache
3:41:21 PM: Installing Go version 1.19.5 (requested 1.19.5)
3:41:27 PM: go version go1.19.5 linux/amd64
3:41:27 PM: Using PHP version 8.0
3:41:27 PM: Started restoring cached composer dependencies
3:41:27 PM: Finished restoring cached composer dependencies
3:41:27 PM: Installing dependencies from lock file (including require-dev)
3:41:27 PM: Verifying lock file contents can be installed on current platform.
3:41:27 PM: Your lock file does not contain a compatible set of packages. Please run composer update.
3:41:27 PM: Problem 1
3:41:27 PM: - Root composer.json requires php ^8.1 but your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 2
3:41:27 PM: Failed during stage ‘Install dependencies’: dependency_installation script returned non-zero exit code: 2
3:41:27 PM: - doctrine/lexer is locked to version 3.0.0 and an update of this package was not requested.
3:41:27 PM: - doctrine/lexer 3.0.0 requires php ^8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 3
3:41:27 PM: - egulias/email-validator is locked to version 4.0.1 and an update of this package was not requested.
3:41:27 PM: - egulias/email-validator 4.0.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 4
3:41:27 PM: - laravel/framework is locked to version v10.9.0 and an update of this package was not requested.
3:41:27 PM: - laravel/framework v10.9.0 requires php ^8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 5
3:41:27 PM: - monolog/monolog is locked to version 3.3.1 and an update of this package was not requested.
3:41:27 PM: - monolog/monolog 3.3.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 6
3:41:27 PM: - ramsey/collection is locked to version 2.0.0 and an update of this package was not requested.
3:41:27 PM: - ramsey/collection 2.0.0 requires php ^8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 7
3:41:27 PM: - symfony/console is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/console v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 8
3:41:27 PM: - symfony/css-selector is locked to version v6.2.7 and an update of this package was not requested.
3:41:27 PM: - symfony/css-selector v6.2.7 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 9
3:41:27 PM: - symfony/deprecation-contracts is locked to version v3.2.1 and an update of this package was not requested.
3:41:27 PM: - symfony/deprecation-contracts v3.2.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 10
3:41:27 PM: - symfony/error-handler is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/error-handler v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 11
3:41:27 PM: - symfony/event-dispatcher is locked to version v6.2.8 and an update of this package was not requested.
3:41:27 PM: - symfony/event-dispatcher v6.2.8 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 12
3:41:27 PM: - symfony/event-dispatcher-contracts is locked to version v3.2.1 and an update of this package was not requested.
3:41:27 PM: - symfony/event-dispatcher-contracts v3.2.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 13
3:41:27 PM: - symfony/finder is locked to version v6.2.7 and an update of this package was not requested.
3:41:27 PM: - symfony/finder v6.2.7 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 14
3:41:27 PM: - symfony/http-foundation is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/http-foundation v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 15
3:41:27 PM: - symfony/http-kernel is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/http-kernel v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 16
3:41:27 PM: - symfony/mailer is locked to version v6.2.8 and an update of this package was not requested.
3:41:27 PM: - symfony/mailer v6.2.8 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 17
3:41:27 PM: - symfony/mime is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/mime v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 18
3:41:27 PM: - symfony/process is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/process v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 19
3:41:27 PM: - symfony/routing is locked to version v6.2.8 and an update of this package was not requested.
3:41:27 PM: - symfony/routing v6.2.8 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 20
3:41:27 PM: - symfony/service-contracts is locked to version v3.2.1 and an update of this package was not requested.
3:41:27 PM: - symfony/service-contracts v3.2.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 21
3:41:27 PM: - symfony/string is locked to version v6.2.8 and an update of this package was not requested.
3:41:27 PM: - symfony/string v6.2.8 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 22
3:41:27 PM: - symfony/translation is locked to version v6.2.8 and an update of this package was not requested.
3:41:27 PM: - symfony/translation v6.2.8 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 23
3:41:27 PM: - symfony/translation-contracts is locked to version v3.2.1 and an update of this package was not requested.
3:41:27 PM: - symfony/translation-contracts v3.2.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 24
3:41:27 PM: - symfony/uid is locked to version v6.2.7 and an update of this package was not requested.
3:41:27 PM: - symfony/uid v6.2.7 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 25
3:41:27 PM: - symfony/var-dumper is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/var-dumper v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 26
3:41:27 PM: - laravel/pint is locked to version v1.10.0 and an update of this package was not requested.
3:41:27 PM: - laravel/pint v1.10.0 requires php ^8.1.0 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 27
3:41:27 PM: - nunomaduro/collision is locked to version v7.5.2 and an update of this package was not requested.
3:41:27 PM: - nunomaduro/collision v7.5.2 requires php ^8.1.0 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 28
3:41:27 PM: - phpunit/php-code-coverage is locked to version 10.1.1 and an update of this package was not requested.
3:41:27 PM: - phpunit/php-code-coverage 10.1.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 29
3:41:27 PM: - phpunit/php-file-iterator is locked to version 4.0.1 and an update of this package was not requested.
3:41:27 PM: - phpunit/php-file-iterator 4.0.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 30
3:41:27 PM: - phpunit/php-invoker is locked to version 4.0.0 and an update of this package was not requested.
3:41:27 PM: - phpunit/php-invoker 4.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 31
3:41:27 PM: - phpunit/php-text-template is locked to version 3.0.0 and an update of this package was not requested.
3:41:27 PM: - phpunit/php-text-template 3.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 32
3:41:27 PM: - phpunit/php-timer is locked to version 6.0.0 and an update of this package was not requested.
3:41:27 PM: - phpunit/php-timer 6.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 33
3:41:27 PM: - phpunit/phpunit is locked to version 10.1.2 and an update of this package was not requested.
3:41:27 PM: - phpunit/phpunit 10.1.2 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 34
3:41:27 PM: - sebastian/cli-parser is locked to version 2.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/cli-parser 2.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 35
3:41:27 PM: - sebastian/code-unit is locked to version 2.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/code-unit 2.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 36
3:41:27 PM: - sebastian/code-unit-reverse-lookup is locked to version 3.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/code-unit-reverse-lookup 3.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 37
3:41:27 PM: - sebastian/comparator is locked to version 5.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/comparator 5.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 38
3:41:27 PM: - sebastian/complexity is locked to version 3.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/complexity 3.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 39
3:41:27 PM: - sebastian/diff is locked to version 5.0.3 and an update of this package was not requested.
3:41:27 PM: - sebastian/diff 5.0.3 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 40
3:41:27 PM: - sebastian/environment is locked to version 6.0.1 and an update of this package was not requested.
3:41:27 PM: - sebastian/environment 6.0.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 41
3:41:27 PM: - sebastian/exporter is locked to version 5.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/exporter 5.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 42
3:41:27 PM: - sebastian/global-state is locked to version 6.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/global-state 6.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 43
3:41:27 PM: - sebastian/lines-of-code is locked to version 2.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/lines-of-code 2.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 44
3:41:27 PM: - sebastian/object-enumerator is locked to version 5.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/object-enumerator 5.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 45
3:41:27 PM: - sebastian/object-reflector is locked to version 3.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/object-reflector 3.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 46
3:41:27 PM: - sebastian/recursion-context is locked to version 5.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/recursion-context 5.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 47
3:41:27 PM: - sebastian/type is locked to version 4.0.0 and an update of this package was not requested.
3:41:27 PM: - sebastian/type 4.0.0 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 48
3:41:27 PM: - sebastian/version is locked to version 4.0.1 and an update of this package was not requested.
3:41:27 PM: - sebastian/version 4.0.1 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 49
3:41:27 PM: - spatie/laravel-ignition is locked to version 2.1.0 and an update of this package was not requested.
3:41:27 PM: - spatie/laravel-ignition 2.1.0 requires php ^8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 50
3:41:27 PM: - symfony/yaml is locked to version v6.2.10 and an update of this package was not requested.
3:41:27 PM: - symfony/yaml v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: Problem 51
3:41:27 PM: - symfony/http-foundation v6.2.10 requires php >=8.1 → your php version (8.0.28) does not satisfy that requirement.
3:41:27 PM: - spatie/flare-client-php 1.3.6 requires symfony/http-foundation ^5.0|^6.0 → satisfiable by symfony/http-foundation[v6.2.10].
3:41:27 PM: - spatie/flare-client-php is locked to version 1.3.6 and an update of this package was not requested.
3:41:27 PM: Build failed due to a user error: dependency_installation script returned non-zero exit code: 2
3:41:27 PM: Failing build: Failed to install dependencies
3:41:28 PM: Finished processing build request in 10.439s

Probably not.

See:

It is possible to specify a specific PHP version with the PHP_VERSION environment variable. See this documentation for details.

As long as the project only requires PHP at build time it might work. If PHP is required at runtime, this won’t work as per the support guide @nathanmartin linked.