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 2w 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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

2849d ago

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

v0.1.2PHP ^7.1.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14379303?v=4)[Pavel Leschev](/maintainers/iSize1ce)[@iSize1ce](https://github.com/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.8M372](/packages/php-curl-class-php-curl-class)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7223.7M2.7k](/packages/silverstripe-framework)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)

PHPackages © 2026

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