Latest release: v0.4

Apitte Core

Core library of Apitte API framework

Build Status Code coverage Licence Downloads this Month Downloads total Latest stable PHPStan

/**
 * @ControllerPath("/hello")
 */
final class HelloController implements IController
{

    /**
     * @Path("/world")
     * @Method("GET")
     */
    public function index(ApiRequest $request, ApiResponse $response): ApiResponse
    {
        return $response->writeBody('Hello world!');
    }

}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Discussion / Help

Join the chat

Version

State Version Branch PHP Composer
development ^0.5.0 master >= 7.1 minimum-stability: dev, prefer-stable: true
stable ^0.4.0 master >= 7.1
stable ^0.3.0 master >= 5.6

Documentation

Need to start with Apitte

This knowledge could make your life easier

Playground with example applications

Maintainers


Milan Felix Šulc

Marek Bartoš

Sponsoring

The development is sponsored by Tlapnet