Build PHP apps through packages.

AWT provides the core services for a PHP application. Build features in packages with their own code and dependencies, then install them on compatible AWT instances.

See how a package handles a route.

The official package template registers a route and connects it to a controller. Install the package and AWT loads it as part of the application.

Read the template source
Template Package · Route registration
$this->router = new Router(
    "/",
    "index",
    $this->PackageNameControllerAPI
        ->getController("PackageNameController")
);

$this->addRouter($this->router);

Build on the framework.

Routing & controllers
Define requests, attach middleware, and render pages on the server.
Database & ORM
Work with relational data through models, a query builder, and migrations.
Events & CLI
Connect packages through events and manage installations from the command line.

Deploy one package at a time.

Bundle your code in a ZIP and install it on a compatible AWT instance with its dependencies. Reuse the same package across projects.

Get the package template