PHPackages                             gonzalo123/restfull - 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. gonzalo123/restfull

ActiveLibrary

gonzalo123/restfull
===================

restfull silex server

4221PHP

Since Feb 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/gonzalo123/RESTfull)[ Packagist](https://packagist.org/packages/gonzalo123/restfull)[ RSS](/packages/gonzalo123-restfull/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple RESTfull server with Silex

We define the resources within a yml file:

```
example: \Example\Data

```

We also define the auto dependencies:

```
Symfony\Component\HttpFoundation\Request: request
Doctrine\DBAL\Connection: db

```

And we create the resource extending G\\RestFull\\Resource\\RestFullResource We can define parameters in constructor or in request funcions (getOne, getAll, deleteOne, addOne, editOne) parameters to be taken from DIC

```
namespace Example;

use Symfony\Component\HttpFoundation\Request;

class Data
{
    private $request;

    public function __construct(Request $request)
    {
        $this->request = $request;
    }

    public function getAll()
    {
        return [
            ['id' => 0, 'name' => 'Peter Parker'],
            ['id' => 1, 'name' => 'Clark Kent'],
        ];
    }

    public function getOne($id)
    {
        return ['id' => $id, 'name' => 'Clark Kent ' . $this->request->get('a')];
    }

    public function deleteOne($id)
    {
        return [];
    }

    public function addOne()
    {
        return [];
    }

    public function editOne($id)
    {
        return [];
    }
}
```

The server is based on silex

```
use G\RestFull\Silex\RestFullApplication;

$app = new RestFullApplication([
    'debug' => true,
    'class.map.path' => __DIR__ . '/config/resourceClassMap.yml',
    'auto.injection.map.path' => __DIR__ . '/config/autoDependenciesClassMap.yml',
    'base.path' => 'rest' // default value
]);

$app->run();
```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5bcdeee0f7e214945e0d27310df0ad487e7d1ec10a8d4341dbdcabfac58f2f7?d=identicon)[gonzalo123](/maintainers/gonzalo123)

---

Top Contributors

[![gonzalo123](https://avatars.githubusercontent.com/u/39072?v=4)](https://github.com/gonzalo123 "gonzalo123 (8 commits)")

### Embed Badge

![Health badge](/badges/gonzalo123-restfull/health.svg)

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

PHPackages © 2026

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