comment("PHP Version"); $this->line(' '.str_pad(phpversion(), 30, '.'). ' '.(version_compare(phpversion(), config('installer.core.minPhpVersion'), '>=') ? 'OK' : 'NOT FOUND'), false); $this->comment("PHP Extensions"); $this->output($php_extensions); // Functions. $functions = \Helper::checkRequiredFunctions(); $this->comment("Functions"); $this->output($functions); $this->line(''); } public function output($items) { foreach ($items as $item => $status) { $this->line(' '.str_pad($item, 30, '.'). ' '.($status ? 'OK' : 'NOT FOUND'), false); } } }