protected function checkPackages()
    {
        if (! is_dir(base_path('vendor/twbs'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>Bootstrap</comment> package!');
            $this->line('Run: <comment>composer require twbs/bootstrap</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('vendor/almasaeed2010'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>AdminLTE</comment> package!');
            $this->line('Run: <comment>composer require almasaeed2010/adminlte</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('node_modules/jquery'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>jQuery</comment> package!');
            $this->line('Run: <comment>npm install</comment> or <comment>npm install jquery</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('node_modules/font-awesome'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>Font Awesome</comment> package!');
            $this->line('Run: <comment>npm install</comment> or <comment>npm install font-awesome</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('node_modules/ionicons'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>IonIcons</comment> package!');
            $this->line('Run: <comment>npm install</comment> or <comment>npm install ionicons</comment>'."\n");
            return false;
        }

        return true;
    }
protected function checkPackages()
    {
        if (! is_dir(base_path('vendor/twbs'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>Bootstrap</comment> package!');
            $this->line('Run: <comment>composer require twbs/bootstrap</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('vendor/almasaeed2010'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>AdminLTE</comment> package!');
            $this->line('Run: <comment>composer require almasaeed2010/adminlte</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('node_modules/jquery'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>jQuery</comment> package!');
            $this->line('Run: <comment>npm install</comment> or <comment>npm install jquery</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('node_modules/font-awesome'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>Font Awesome</comment> package!');
            $this->line('Run: <comment>npm install</comment> or <comment>npm install font-awesome</comment>'."\n");
            return false;
        }

        if (! is_dir(base_path('node_modules/ionicons'))) {
            $this->line('');
            $this->line('<error> Error </error> Missing <comment>IonIcons</comment> package!');
            $this->line('Run: <comment>npm install</comment> or <comment>npm install ionicons</comment>'."\n");
            return false;
        }

        return true;
    }
protected function checkPackages ( ) { if ( ! is_dir ( base_path ( 'vendor/twbs' ) ) ) { $ this -> line ( '' ) ; $ this -> line ( '<error> Error </error> Missing <comment>Bootstrap</comment> package!' ) ; $ this -> line ( 'Run: <comment>composer require twbs/bootstrap</comment>' . "\n" ) ; return false ; } if ( ! is_dir ( base_path ( 'vendor/almasaeed2010' ) ) ) { $ this -> line ( '' ) ; $ this -> line ( '<error> Error </error> Missing <comment>AdminLTE</comment> package!' ) ; $ this -> line ( 'Run: <comment>composer require almasaeed2010/adminlte</comment>' . "\n" ) ; return false ; } if ( ! is_dir ( base_path ( 'node_modules/jquery' ) ) ) { $ this -> line ( '' ) ; $ this -> line ( '<error> Error </error> Missing <comment>jQuery</comment> package!' ) ; $ this -> line ( 'Run: <comment>npm install</comment> or <comment>npm install jquery</comment>' . "\n" ) ; return false ; } if ( ! is_dir ( base_path ( 'node_modules/font-awesome' ) ) ) { $ this -> line ( '' ) ; $ this -> line ( '<error> Error </error> Missing <comment>Font Awesome</comment> package!' ) ; $ this -> line ( 'Run: <comment>npm install</comment> or <comment>npm install font-awesome</comment>' . "\n" ) ; return false ; } if ( ! is_dir ( base_path ( 'node_modules/ionicons' ) ) ) { $ this -> line ( '' ) ; $ this -> line ( '<error> Error </error> Missing <comment>IonIcons</comment> package!' ) ; $ this -> line ( 'Run: <comment>npm install</comment> or <comment>npm install ionicons</comment>' . "\n" ) ; return false ; } return true ; }
Check all required packages

@return bool
Check all required packages