public function on_start() { $fs = new \Illuminate\Filesystem\Filesystem; try { $fs->getRequire(__DIR__ . '/vendor/autoload.php'); } catch(\Illuminate\Filesystem\FileNotFoundException $e){ throw new \Exception(t('You forgot to run composer :/')); } }