public static function checkRequirements()
    {
        $extensions = array('curl', 'json');

        foreach ($extensions as $extension) {
            if (!extension_loaded($extension)) {
                throw new Exception\RuntimeException(
                    'You need the PHP ' . $extension
                    . ' extension in order to use EveryPay PHP Library'
                );
            }
        }
    }