Update package dependencies.

Remove dom dependency. This extension is provided by default with PHP.
Add Swat dependency.