Skip to content

Instantly share code, notes, and snippets.

@tisuchi
Created January 9, 2018 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tisuchi/7053160b3adf91fbe38058780e6bd0e9 to your computer and use it in GitHub Desktop.
Save tisuchi/7053160b3adf91fbe38058780e6bd0e9 to your computer and use it in GitHub Desktop.
Laravel DOMDocument() class not found
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class TestController extends Controller
{
public function showExample()
{
$list1 = new \DOMDocument();
//etc...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment