PHPackages                             isize1ce/apiate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. isize1ce/apiate

ActiveProject[Framework](/categories/framework)

isize1ce/apiate
===============

Lightweight HTTP microframework

v0.1.4(7y ago)010MITPHPPHP ^7.1.3

Since Sep 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/iSize1ce/apiate)[ Packagist](https://packagist.org/packages/isize1ce/apiate)[ Docs](https://github.com/iSize1ce/apiate)[ RSS](/packages/isize1ce-apiate/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (2)Versions (7)Used By (0)

Apiate
======

[](#apiate)

#### [Example](/example/index.php)

[](#example)

Request Handlers
----------------

[](#request-handlers)

- `ClosureHandler`

```
new ClosureHandler(function(Request $request) {
    return new Response();
}));
```

- `ControllerHandler`

```
class Controller {
    public function methodName(Request $request) {
        return new Response('Hello World!');
    }
}

new ClosureHandler(Controller::class, 'methodName');
```

- `RouteHandler`

```
class MyRequestHandler implements RouteRequestHandler {
    public function __construct(Request $request) {
        $this->text = $request->request->get('text', 'empty');
    }

    public function handle() {
        return new Response('Hello World!');
    }
}

new ClosureHandler(RouteController::class);
```

Namespaces
----------

[](#namespaces)

```
$routeProvider->namespace('/path', function(RequestProvider $pathRoutes) {
    $pathRoutes->get('/', SomeHandler);
    $pathRoutes->post('/', SomeHandler);

    $routeProvider->namespace('/anotherPath', function(RequestProvider $pathRoutes) {
        $pathRoutes->put('/', SomeHandler);
        $pathRoutes->delete('/', SomeHandler);
    }
}));
```

Path regex
----------

[](#path-regex)

```
$routeProvider->get('/api/{uriParameterNameWithRegex=\d+}/{randomUriParameterWithoutRegex}', SomeHandler);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

2799d ago

PHP version history (2 changes)v0.1.0PHP ^7.1

v0.1.2PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4356216a231d9a24b98ae3cecc314dfe9744d64135dcae445c7e010e073cbf35?d=identicon)[iSize1ce](/maintainers/iSize1ce)

---

Top Contributors

[![iSize1ce](https://avatars.githubusercontent.com/u/14379303?v=4)](https://github.com/iSize1ce "iSize1ce (57 commits)")

---

Tags

httpapiframeworkmicroframeworkrestful

### Embed Badge

![Health badge](/badges/isize1ce-apiate/health.svg)

```
[![Health](https://phpackages.com/badges/isize1ce-apiate/health.svg)](https://phpackages.com/packages/isize1ce-apiate)
```

###  Alternatives

[php-curl-class/php-curl-class

PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.

3.3k9.5M351](/packages/php-curl-class-php-curl-class)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1121.2k](/packages/abydahana-aksara)[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
