2024 update. For whatever reason other ways of loading files are not working, but this works:
$request->file('invoice')->storePubliclyAs('xml/', 'invoice.xml'); $xml = simplexml_load_file('../storage/app/public/xml/invoice.xml');