How lara-igniter/framework works
Laraigniter is a PHP framework layered over CodeIgniter 3, providing web routing and response handling alongside framework services for persistence, rendering, authentication, and integrations. The central web flow registers routes, resolves a request to a route, and runs middleware or an action. The tree also shows ORM/schema, queue, filesystem, mail, validation, and console capabilities. Wiring is detailed only where sampled source supports it; other modules are represented as capabilities without speculative call edges.
Main entry points: RouteServiceProvider.php Route registration and dispatch · CompilerEngine.php Compiled view engine · FilesystemManager.php Filesystem disks · QueueManager.php Queue dispatch and workers
Components 23
Framework foundation
- Application runtime
src/Elegant/Foundation/Application.php - Configuration
src/Elegant/Config/Repository.php - Collections and support
src/Elegant/Collections/Collection.php
Web request
- Route registration and dispatch
src/Elegant/Routing/RouteServiceProvider.php - Router and routes
src/Elegant/Routing/Router.php - HTTP middleware
src/Elegant/Routing/Middleware/Middleware.php - HTTP kernel
src/Elegant/Foundation/Http/Kernel.php - Request and response
src/Elegant/Foundation/Http/Request.php - View rendering
src/Elegant/View/Factory.php - Blade compiler
src/Elegant/View/Compilers/BladeCompiler.php - Compiled view engine
src/Elegant/View/Engines/CompilerEngine.php
Data and state
- Models and queries
src/Elegant/Database/Model/Model.php - Schema and migrations
src/Elegant/Database/Schema/Schema.php - Session state
src/Elegant/Session/Store.php
Application services
- Filesystem disks
src/Elegant/Filesystem/FilesystemManager.php - Authentication and access
src/Elegant/Auth/AuthServiceProvider.php - Request validation
src/Elegant/Validation/Validator.php - Mail delivery
src/Elegant/Mail/MailManager.php - Queue dispatch and workers
src/Elegant/Queue/QueueManager.php - HTTP client
src/Elegant/Http/Client/Factory.php
Console
- Console commands
src/Elegant/Console/Kernel.php
Other components
- HTTP caller
- CodeIgniter 3
Connections 12
- HTTP caller → CodeIgniter 3: sends request
- CodeIgniter 3 → Route registration and dispatch: runs hooks
- Route registration and dispatch → Router and routes: resolves route
- Route registration and dispatch → HTTP middleware: runs middleware
- Route registration and dispatch → Request and response: registers response
- HTTP kernel → Request and response: handles HTTP
- Compiled view engine → Blade compiler: compiles templates
- Compiled view engine → View rendering: renders view
- Application runtime → Configuration: provides configuration
- Filesystem disks → Filesystem disks: resolves disks
- Queue dispatch and workers → Queue dispatch and workers: resolves connection
- Mail delivery → View rendering: resolves view factory