Your Composer dependencies require the following PHP extensions to be installed: dom, mbstring, 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:
- current date() in php
- datetime print format php
- adeleye ayodeji
- add one day to given date in php
- display date time in php
- 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
- SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
- PHP message: PHP Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Eav\Model\Attribute\Data\Text::validateLength() must be of the type string, null given
- add days to current date php
- create database seeder in laravel
- date to string php
- change native password in phpmyadmin
- display error message in php
- encryption key has not encrypted laravel
- delete cache on host laravel
- datephp
- Connect to SQL in a php PDO and print the data in it
- composer require laravel/ui for laravel 6
- cache issue laravel
- clear all cache laravel
- Str::random() example
- ajax call php
- To find out where your php.ini is located
- display errors in php