Repository navigation
Home
AWT is a modular PHP framework for applications that execute on the server. Packages supply application behavior; the core coordinates their startup, routes requests, renders views, and delivers responses.
The guiding idea is simple: build a feature, connect its components, and let the framework execute it. You should be able to choose a useful organization for your application without modifying framework internals to create a controller or route.
- Philosophy: why AWT exists and what its design tries to achieve.
- Architecture: the components and the path from entry point to response.
- Core reference: every framework class, interface, trait, enum, method, property, constant, and standalone function.
- Development: application development, extension points, and framework contribution.
- Documentation maintenance: update the persistent reference when implementation changes.
Start with getting started, then follow routing and controllers. Core pages explain declarations and local behavior; development guides show how those pieces work together.
The reference describes the checked-in implementation. Native and legacy APIs are distinguished. Private and protected members are included for contributors, but are not promises of stable application APIs. Application packages, test fixtures, generated caches, and external vendor dependencies are outside the Core inventory. The integrated and customized BladeOne class is included.
Code examples state their bootstrap/dependency assumptions. Database settings and credentials are not reproduced. Features mentioned as future work in the repository README are not presented as implemented behavior.
Inside a registered controller action, return a response and let the bootstrap send it:
public function hello(array $params): \response\Response
{
return \response\Response::make(200)
->data(['greeting' => 'Hello ' . ($params['name'] ?? 'world')])
->asJson();
}A route /hello/{name} supplies $params['name']. The browser receives a JSON response; the controller and application runtime remain on the server.
- Administration
- Bootstrap controllers
- CLI
- Context
- Controllers
- Legacy media data
- Database and schema
- Events
- Exceptions
- Installation
- Middleware
- Models
- Object creation
- Package metadata
- Legacy packages
- Navigation
- Rendering
- HTTP responses
- Routing
- Package execution
- Sessions
- Settings
- Virtual filesystem
- Views
- Standalone functions
AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes