Quando eu rodo o composer create-project aparece esse erro no meu terminal:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpunit/phpunit 7.5.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.9 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.8 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.7 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.6 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.5 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.4 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.13 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.12 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.11 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.10 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 7.5.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- Installation request for phpunit/phpunit ^7.5 -> satisfiable by phpunit/phpunit[7.5.0, 7.5.1, 7.5.10, 7.5.11, 7.5.12, 7.5.13, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.5.7, 7.5.8, 7.5.9, 7.5.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-mbstring.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Estou usando linux.