- 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:
- "Illuminate\Database\Eloquent\MassAssignmentException"
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/Users/Public/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
- fget length of string php
- Create image data URIs (base64) using PHP Raw
- create model in laravel command line
- basd64 decrtpy php
- contain string php
- check like in string php
- display php errorrs
- Allowed memory size of 2147483648 bytes exhausted composer install
- database interaction in codeigniter
- file in array
- exception handling class php
- echo errors of php
- PHP make an image from a random alphanumerric string
- DateTime and Timestamps
- compress video file size php
- ALTER table migrations
- can we find like directorries in php
- check if a string is url or not php
- convert stdclass object to array php
- -5 php change timezone
- create new directory php
- connect an if statement to an input php