If you're having the Php Server Error Class 'DOMDocument' not found, here's a fix that should work.
It simply involves installing the DOM extension for Php.
I am running this on Kali Linux but I believe the same will work for Ubuntu and Debian.
I am also trying to use this in conjunction with a Laravel project using Sail, for context.
Stack Overflow post shown:
Class 'DOMDocument' not found
https://stackoverflow.com/questions/1...
Remember - it's never too late!
Cheers,
Steve