avik / ignite
Application bootstrap and assembly layer for the Avik framework
Installs: 6
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/avik/ignite
Requires
- php: >=8.1
- avik/canvas: ^1.0
- avik/crate: ^1.0
- avik/essence: ^1.0
- avik/flow: ^1.0
- avik/path: ^1.0
- avik/seed: ^1.0
README
Ignite is the application bootstrap and assembly layer of the Avik framework.
It is responsible for preparing the application environment before any HTTP request, CLI command, or job is executed.
Purpose
Ignite assembles an Avik application by:
- Loading environment variables
- Loading configuration files
- Initializing the dependency container
- Registering service providers
- Booting service providers
Ignite does NOT handle routing, controllers, or HTTP execution.
Typical Usage
use Avik\Ignite\Application; use Avik\Ignite\Bootstrap\{ LoadEnvironment, LoadConfiguration, RegisterProviders, BootProviders }; $app = new Application(__DIR__); (new LoadEnvironment())->bootstrap($app); (new LoadConfiguration())->bootstrap($app); (new RegisterProviders())->bootstrap($app, [ FlowServiceProvider::class, PathServiceProvider::class, CanvasServiceProvider::class, ]); (new BootProviders())->bootstrap($app);