touta / toutaphp
Thin integration framework for the Touta PHP ecosystem
v0.1.0
2026-03-21 03:40 UTC
Requires
- php: ^8.3
- touta/aria-runtime-php: ^0.1
- touta/cosan-router: ^0.1
- touta/eolas-config: ^0.1
- touta/freagair-response: ^0.1
- touta/nasc-di: ^0.1
- touta/scela-bus: ^0.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- pestphp/pest: ^3.0
- phpstan/phpstan: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
README
Thin integration framework for the Touta PHP ecosystem. Boots a tiny app using ARIA-based packages.
Install
composer require touta/toutaphp
Usage
use Touta\Framework\App; use Touta\Eolas\ArrayLoader; $app = App::create(new ArrayLoader(['app' => ['name' => 'MyApp']])); $app->routes()->get('/hello/{name}', function (string $name): array { return ['message' => "Hello, {$name}!"]; }); $response = $app->handle('GET', '/hello/world');
License
MIT