Core library of Apitte API framework
/**
* @Path("/hello")
*/
final class HelloController implements IController
{
/**
* @Path("/world")
* @Method("GET")
*/
public function index(ApiRequest $request, ApiResponse $response): ApiResponse
{
return $response->writeBody('Hello world!');
}
}
Need to start with Apitte
This knowledge could make your life easier
Playground with example applications
State | Version | Branch | Nette | PHP |
---|---|---|---|---|
dev | ^0.7 |
master |
3.0+ | ^7.2 |
stable | ^0.6 |
master |
3.0+ | ^7.2 |
stable | ^0.5 |
master |
2.4 | >=7.1 |
stable | ^0.3 |
master |
2.4 | >=5.6 |
Milan Felix Šulc |
Marek Bartoš |
The development is sponsored by Tlapnet