dompdf/dompdf v1.0.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
//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:
- checking php version
- alpha numeric to upper case in php
- composer takes older version of php
- developer polyglots
- Which are valid PHP error handling keywords? try throw catch finally
- fales values for timestapms laravel
- april 6 2010 date format php
- artisan clear
- create controller in laravel command line
- compress video file size php
- config cache clear with code laravel
- array key exist in phgp
- create foreign key laravel migration
- check if substr in string php
- Too few arguments to function Illuminate\Routing\PendingResourceRegistration::name(), 1 passed in D:\xampp\htdocs\routes\web.php on line 30 and exactly 2 expected
- catching errors in php
- create folder in php
- composer with specific php version
- composer global require laravel/installer version 5.61
- check if word exist in string
- composer get php version
- arr::plunk laravel
- age date de naissance php
- current datetime php function