PHPackages                             jsonful/server - 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. jsonful/server

ActiveLibrary

jsonful/server
==============

JSON server

v0.1.3(9y ago)133383MITPHP

Since Apr 21Pushed 9y ago5 watchersCompare

[ Source](https://github.com/JSONful/server)[ Packagist](https://packagist.org/packages/jsonful/server)[ RSS](/packages/jsonful-server/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

JSONful
=======

[](#jsonful)

JSONful is a framework which helps creating API servers.

Features
--------

[](#features)

1. Ease of use

- It exposes regular PHP functions to the API, making it easy to integrate with any other framework and existing code.
- It is easy to make cross domain requests (`$server['public'] = true;`)
- The [javascript client](https://github.com/JSONful/client-js) works out of the box and it's optimized for performance
    - The client concatenates many requests and sending it in a single HTTP request.
    - It has no dependency, and it can be used with WebPack or directly.

Installation
------------

[](#installation)

```
composer require jsonful/server
```

Usage
-----

[](#usage)

### `api.php`

[](#apiphp)

```
require __DIR__ . '/vendor/autoload.php';

$server new JSONful\Server(__DIR__ . '/apps');
$server->run();
```

### `apps/prime.php`

[](#appsprimephp)

```
/** @API("prime") */
function is_prime($number)
{
    if ($number  time()];
}
```

### `client.js`

[](#clientjs)

```
var client = new JSONful("https://api.myapp.net/");

client.exec("ping", function(err, response) {
  console.log(response); // {"pong": xxxx}
}
client.exec("prime", 99).then(function(response) {
  console.error(response); // false
});
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

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 ~102 days

Total

3

Last Release

3472d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36463?v=4)[C](/maintainers/crodas)[@crodas](https://github.com/crodas)

---

Top Contributors

[![crodas](https://avatars.githubusercontent.com/u/36463?v=4)](https://github.com/crodas "crodas (24 commits)")

### Embed Badge

![Health badge](/badges/jsonful-server/health.svg)

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

###  Alternatives

[jaxon-php/jaxon-core

Jaxon is an open source PHP library for easily creating Ajax web applications

73142.3k25](/packages/jaxon-php-jaxon-core)[oat-sa/tao-core

TAO core extension

66136.7k74](/packages/oat-sa-tao-core)[sweatshop/sweatshop

Abstraction layer for message brokers and job servers, including process management

1112.3k](/packages/sweatshop-sweatshop)[moriony/silex-mongo-provider

Mongo service provider for the Silex framwork.

118.5k](/packages/moriony-silex-mongo-provider)[benjam1/symfttpd

PHP webserver

151.7k](/packages/benjam1-symfttpd)

PHPackages © 2026

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