protected function package($name)
{
$package = $this->obtainPackage($name);
if ($package == -1) {
return;
}
list($name, $providers, $aliases, $after) = array_fill(0, 4, null);
extract($package, EXTR_IF_EXISTS);
$this->requireComposerPackage($name);
if ($this->setupLaravelConfigFile($providers, $aliases) == -1) {
return -1;
}
$this->executeScriptAfterPackageInstallation($after);
}