Extension DOM is required.
//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:
- create new laravel project using composer
- base code 64 a image in php
- create migration laravel
- check if array is empty php
- cache data in codeigniter
- 500 (internal server error) laravel
- command to create seed file in laravel
- edit function php exec time
- does include reload the page php
- date time to date php
- PHP STRING LENGT
- What is the format of date function in PHP *
- check if string contains substring php 8
- current date in phph
- check if substring matches another string php
- add custom helper laravel
- echo console.log
- Expression #1 of ORDER BY contains aggregate function and applies to the result of a non-aggregated query laravel
- Custom Order By in CakePHP
- eloquent limit vs take
- DateTime get current day php
- current timestamp in php
- does $post work with date php
- date("G"); timezone