- phpunit/phpunit[8.5.0, ..., 8.5.x-dev] require ext-dom *
//First of all, read the warning! It says do not run composer as root! Secondly, you're probably using Xammp on your local which has the required php libraries as default.
// But in your server you're missing ext-dom. php-xml has all the related packages you need. So, you can simply install it by running:
sudo apt-get update
sudo apt install php-xml
//Most likely you are missing mbstring too. If you get the error, install this package as well with:
sudo apt-get install php-mbstring
//Then run:
composer update
composer require cviebrock/eloquent-sluggable
Also in PHP:
- error log all php
- difference between GET, POST and REQUEST methods?
- clear command in laravel
- - phpunit/phpunit[8.5.0, ..., 8.5.x-dev] require ext-dom *
- array reverse sequence pp
- check array key php
- date and time in php
- Auth::routes();
- date('d') in php
- count array php
- create symfony project
- array if key exist php
- create laravel application with composer
- array_key_exists() WORDPRESS
- check if word belongs in string
- alphabet generator php
- convert to int php
- cache in laravel
- What is database seeding in laravel?
- cast to boolean php
- display errors off php
- catch (exception $e) php
- catch new exception php
- check gettype is string php