Installs: 77

Dependents: 0

Suggesters: 0

Stars: 10

Watchers: 3

Forks: 3


3.1.0 2016-06-17 06:53 UTC


Build Status Coverage Status

Latest Stable Version Total Downloads Latest Unstable Version License

Monthly Downloads Daily Downloads


See wiki

Structure Overview

Phifty\App (is a Bundle)

    /* Core service providers */
    "event" => EventServiceProvider,
    "config" => ConfigServiceProvider,

    /* Extra service providers */
    [services] => Array Phifty\ServiceProvider[string]

    "bundles" => BundleServiceProvider(
      Array Phifty\Bundle[string]

Bootstrap Flow

  1. Create the generated App\ConfigLoader object.
  2. Create the generated App\Kernel object
    1. Load the service providers into $kernel
    2. Load the bundles into $kernel
  3. Create App\App instance with App($kernel)
  4. Call App::boot() method to boot the app.
    1. Call Kernel::boot to boot the service providers and the bundles.
      1. Run ::boot on all the service providers
      2. Run ::boot on all the bundles
    2. Run the App boot code.