8

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • phpunit/phpunit[dev-master, 9.3.3, ..., 9.4.x-dev] require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
  • phpunit/phpunit 9.5.x-dev is an alias of phpunit/phpunit dev-master and thus requires it to be installed too.
  • Root composer.json requires phpunit/phpunit ^9.3.3 -> satisfiable by phpunit/phpunit[9.3.3, ..., 9.5.x-dev (alias of dev-master)].
Devam Atkotiya
  • 97
  • 1
  • 2
  • 5

1 Answers1

8

If you run on ubuntu or another debian based OS sudo apt install phpunit should install this extension.

For development you can use Docker, see more details on the Laravel 8 documentation.

Maske
  • 824
  • 2
  • 17
  • 35