corneltek / phifty-core
Installs: 185
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 4
Forks: 3
Type:phifty-framework
Requires
- php: >=7.0
- c9s/webaction: 4.0.x-dev
- composer/installers: ^1
- corneltek/assetkit: 4.0.x-dev
- corneltek/cliframework: 4.1.x-dev
- corneltek/codegen: @dev
- corneltek/configkit: ^1.6
- corneltek/fileutil: ^1
- corneltek/genphp: ^1
- corneltek/kendo: 4.0.x-dev
- corneltek/pux: 2.0.x-dev
- corneltek/sessionkit: ~1
- corneltek/twig-react-directive: ^1.0
- corneltek/webui: @dev
- cypresslab/gitelephant: ^1.0
- doctrine/inflector: ^1.0
- maghead/maghead: 4.0.x-dev
- maghead/magsql: @dev
- phifty/locale: ^3.1.0
- phpsgi/funk: 1.0.x-dev
- phpsgi/phpsgi: 1.0.x-dev
- pimple/pimple: ^3.0
- swiftmailer/swiftmailer: ^5.4
- symfony/finder: ^2.8|^3.0|^3.2
- symfony/process: ^2.8|^3.0|^3.2
- twig/extensions: ^1.4
- twig/twig: ^2.3
- universal/universal: @dev
- vlucas/phpdotenv: ^2.4
Requires (Dev)
- jakoch/phantomjs-installer: ^3
- phifty/adminui: 4.0.x-dev
- phifty/commonbundle: 4.0.x-dev
- phifty/corebundle: 4.0.x-dev
- phifty/crud: 4.0.x-dev
- phifty/userbundle: 4.0.x-dev
Suggests
- browscap/browscap-php: ^3.1
- corneltek/twig-markdown: ^1
- predis/predis: ^1.1
- symfony/css-selector: ^2.8|^3.0|^3.2
This package is not auto-updated.
Last update: 2024-11-03 21:38:15 UTC
README
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
- Create the generated App\ConfigLoader object.
- Create the generated App\Kernel object
- Load the service providers into
$kernel
- Load the bundles into
$kernel
- Load the service providers into
- Create
App\App
instance withApp($kernel)
- Call App::boot() method to boot the app.
- Call Kernel::boot to boot the service providers and the bundles.
- Run ::boot on all the service providers
- Run ::boot on all the bundles
- Run the App boot code.
- Call Kernel::boot to boot the service providers and the bundles.