Composer: require 'ext-simplexml' and set type