Contributte Microapi
Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte
# Disclaimer
⚠️ | This project is no longer being maintained. Please use contributte/apitte (opens new window). |
---|
Composer | minetro/api (opens new window) |
---|---|
Version | |
PHP | |
License |
# Usage
<?php
use Minetro\Api\ApiRequest;
use Minetro\Api\ApiResponse;
use Minetro\Api\Controller\Controller;
class DummyController implements Controller
{
/**
* @Route('/')
* @Method('GET')
*
* @param ApiRequest $request
* @param ApiResponse $response
*
* @return void
*/
public function actionDefault(ApiRequest $request, ApiResponse $response)
{
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Development
This package was maintain by these authors.
Consider to support (opens new window) contributte development team. Also thank you for being used this package.