2017 © Pedro Peláez
 

library psc-cms-boot

Boot strapping package for Webforge

image

pscheit/psc-cms-boot

Boot strapping package for Webforge

  • Friday, November 8, 2013
  • by pscheit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,111 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Psc - CMS - Boot

PHP Bootloading Sucks - at least that helps to suck a little more less, (*1)

Build Status, (*2)

  • manages to load the autoload for composer (even if you're bootstrapping as a dependency)
  • helps in early stages bootstrapping
  • lets you bootstrap a Psc - CMS - Container for Psc - CMS - Projects

Copy the lib/package.boot.php next to your bootstrap.php, (*3)

use Psc\Boot\BootLoader;

require 'package.boot.php';
$bootLoader = new BootLoader(__DIR__, 'ACME\Container');
$bootLoader->loadComposer();
$bootLoader->registerContainer(); // this is optional

When you registered the Container $GLOBALS['env']['container'] points to the ACME\Container. When you do $bootLoader->registerRootDirectory the $GLOBALS['env']['root'] points to a \Webforge\Common\System\Dir which is the directory of your bootstrap.php (given here as DIR)., (*4)

The Versions

08/11 2013

dev-master

9999999-dev

Boot strapping package for Webforge

  Sources   Download

MIT

by Philipp Scheit

08/11 2013

2.3.0

2.3.0.0

Boot strapping package for Webforge

  Sources   Download

MIT

by Philipp Scheit

11/10 2013

2.1.1

2.1.1.0

Boot strapping package for Webforge

  Sources   Download

MIT

by Philipp Scheit

11/10 2013

2.2.0

2.2.0.0

Boot strapping package for Webforge

  Sources   Download

MIT

by Philipp Scheit

05/07 2013

2.1.0

2.1.0.0

Boot strapping package for Webforge

  Sources   Download

by Philipp Scheit

09/02 2013

2.0

2.0.0.0

Boot strapping package for Webforge

  Sources   Download

by Philipp Scheit

08/02 2013

1.0

1.0.0.0

Boot strapping package for Webforge

  Sources   Download

by Philipp Scheit