Your Composer dependencies require the following PHP extensions to be installed: dom, xml, xmlwriter
//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:
- can we execute core php project code in laravel
- __construct
- count of string in laravel
- can we generate alphanumeric 6 digit primary key in phpmyadmin
- date in php in dats
- date formate with pc time in php
- cache clear laravel
- check if key present in array php
- add variable days to datsphp
- add shortcode in short description
- DESC laravel
- count string length in php
- created at time to number php
- end session variable php
- array in array key values unique
- det day in php
- CONVERT STRING TO DECIMAL php
- check string in php
- Allowed memory size of 134217728 bytes exhausted laravel
- check if substr exist php
- 500 error in laravell
- Api to add condition for newrelic
- array function in php
- : 1071 Specified key was too long; max key length is 767 bytes (SQL: alter tabl e `users` add unique `users_email_unique`(`email`))