src/Genesis/Utils/Requirements.php
public static function verify()
    {
        // PHP interpreter version
        self::checkSystemVersion();

        // BCMath
        self::isFunctionExists('bcmul', self::getErrorMessage('bcmath'));
        self::isFunctionExists('bcdiv', self::getErrorMessage('bcmath'));

        // Filter
        self::isFunctionExists('filter_var', self::getErrorMessage('filter'));

        // Hash
        self::isFunctionExists('hash', self::getErrorMessage('hash'));

        // XMLReader
        self::isClassExists('XMLReader', self::getErrorMessage('xmlreader'));

        // XMLWriter
        if (\Genesis\Config::getInterface('builder') == 'xml') {
            self::isClassExists('XMLWriter', self::getErrorMessage('xmlwriter'));
        }

        // cURL
        if (\Genesis\Config::getInterface('network') == 'curl') {
            self::isFunctionExists('curl_init', self::getErrorMessage('curl'));
        }
    }
public static function verify()
    {
        // PHP interpreter version
        self::checkSystemVersion();

        // BCMath
        self::isFunctionExists('bcmul', self::getErrorMessage('bcmath'));
        self::isFunctionExists('bcdiv', self::getErrorMessage('bcmath'));

        // Filter
        self::isFunctionExists('filter_var', self::getErrorMessage('filter'));

        // Hash
        self::isFunctionExists('hash', self::getErrorMessage('hash'));

        // XMLReader
        self::isClassExists('XMLReader', self::getErrorMessage('xmlreader'));

        // XMLWriter
        if (\Genesis\Config::getInterface('builder') == 'xml') {
            self::isClassExists('XMLWriter', self::getErrorMessage('xmlwriter'));
        }

        // cURL
        if (\Genesis\Config::getInterface('network') == 'curl') {
            self::isFunctionExists('curl_init', self::getErrorMessage('curl'));
        }
    }
public static function verify ( ) { // PHP interpreter version self :: checkSystemVersion ( ) ; // BCMath self :: isFunctionExists ( 'bcmul' , self :: getErrorMessage ( 'bcmath' ) ) ; self :: isFunctionExists ( 'bcdiv' , self :: getErrorMessage ( 'bcmath' ) ) ; // Filter self :: isFunctionExists ( 'filter_var' , self :: getErrorMessage ( 'filter' ) ) ; // Hash self :: isFunctionExists ( 'hash' , self :: getErrorMessage ( 'hash' ) ) ; // XMLReader self :: isClassExists ( 'XMLReader' , self :: getErrorMessage ( 'xmlreader' ) ) ; // XMLWriter if ( \ Genesis \ Config :: getInterface ( 'builder' ) == 'xml' ) { self :: isClassExists ( 'XMLWriter' , self :: getErrorMessage ( 'xmlwriter' ) ) ; } // cURL if ( \ Genesis \ Config :: getInterface ( 'network' ) == 'curl' ) { self :: isFunctionExists ( 'curl_init' , self :: getErrorMessage ( 'curl' ) ) ; } }
Check if the current system fulfils the project's dependencies

@throws \Exception
Check if the current system fulfils the project s dependencies