2017 © Pedro Peláez
 

phifty-framework phifty

image

phifty/phifty

  • Monday, July 24, 2017
  • by c9s
  • Repository
  • 3 Watchers
  • 10 Stars
  • 502 Installations
  • PHP
  • 12 Dependents
  • 0 Suggesters
  • 3 Forks
  • 28 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Phifty Web Framework

Build Status Coverage Status, (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Monthly Downloads Daily Downloads, (*3)

Documentation

See wiki, (*4)

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.

The Versions