Laravel – composer update asking about – phpunit/phpunit[7.5.0, …, 7.5.20] require ext-dom *

When ever you find above issue then do one thing that your ubuntu server is missing with some packages like ext-dom & php-xml. you have to do simply below things to solve these issue in your machine. Let’s get started:

Step 1 : Run Below Commands to install php-xml

sudo apt install php-xml

Step 2 : then install one more package mbstring

sudo apt-get install php-mbstring

Step 3: Then run Below command

composer update

References :

Chandan Kumar
Follow Me: