corneltek/phifty

Installs: 79

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 4

Forks: 3

Type:phifty-framework

4.0.0 2022-08-14 11:13 UTC

This package is not auto-updated.

Last update: 2024-11-08 16:37:02 UTC


README

Build Status Coverage Status

Latest Stable Version Total Downloads Latest Unstable Version License

Monthly Downloads Daily Downloads

Documentation

See wiki

Structure Overview

Phifty\App (is a Bundle)
  Phifty\Kernel(

    /* 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.