PHPackages                             mwsimple/admin-crud-orm-silex - 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. mwsimple/admin-crud-orm-silex

ActiveLibrary

mwsimple/admin-crud-orm-silex
=============================

Admin Crud ORM Silex

2312PHP

Since May 30Pushed 12y ago2 watchersCompare

[ Source](https://github.com/MWSimple/admin-crud-orm-silex)[ Packagist](https://packagist.org/packages/mwsimple/admin-crud-orm-silex)[ RSS](/packages/mwsimple-admin-crud-orm-silex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

admin-crud-silex
================

[](#admin-crud-silex)

### currently in development.

[](#currently-in-development)

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

[](#installation)

### Using composer

[](#using-composer)

Add following lines to your `composer.json` file:

### Silex 2.2

[](#silex-22)

Using [fabpot/Silex-Skeleton](https://github.com/fabpot/Silex-Skeleton)

```
"require": {
  ...
  "mwsimple/admin-crud-orm-silex": "2.2.*@dev"
}

```

Execute:

```
php composer.phar update "mwsimple/admin-crud-orm-silex"

```

Dependencies
------------

[](#dependencies)

Using [dflydev/doctrine-orm-service-provider](https://github.com/dflydev/dflydev-doctrine-orm-service-provider)

Usage
-----

[](#usage)

Add it to the `src/app.php` class:

```
use Silex\Application;
...
use MWSimple\Silex\AdminCrudORMSilex\CrudController;
...
//CONTROLLER POST
$app['post.controller'] = $app->share(function() use ($app) {
    $options = array(
        'dirTemplate' => 'Post/',
        'entityRepo'  => '\Post',
        'entityName'  => 'Post',
        'entityRoute' => 'post'
    );
    return new PostController($app,$options);
});

```

Add it to the `src/controllers.php` class:

```
//CONTROLLER POST
$app->get('/post', "post.controller:indexAction")->bind('post');
$app->post('/post/', "post.controller:createAction")->bind('post_create');
$app->get('/post/new', "post.controller:newAction")->bind('post_new');
$app->get('/post/{id}', "post.controller:showAction")->bind('post_show');
$app->get('/post/{id}/edit', "post.controller:editAction")->bind('post_edit');
$app->post('/post/{id}', "post.controller:updateAction")->bind('post_update')
  ->method('PUT|POST')
;
$app->match('/post/{id}', "post.controller:deleteAction")->bind('post_delete')
  ->method('DELETE')
;

```

Author
------

[](#author)

Gonzalo Alonso -

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

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/8ab7da460db4f61d98fb4c414cfbd87ca6134fe03dd4bcc764ac19a8164918f6?d=identicon)[gonzaloalonsod](/maintainers/gonzaloalonsod)

---

Top Contributors

[![gonzaloalonsod](https://avatars.githubusercontent.com/u/1031176?v=4)](https://github.com/gonzaloalonsod "gonzaloalonsod (9 commits)")

### Embed Badge

![Health badge](/badges/mwsimple-admin-crud-orm-silex/health.svg)

```
[![Health](https://phpackages.com/badges/mwsimple-admin-crud-orm-silex/health.svg)](https://phpackages.com/packages/mwsimple-admin-crud-orm-silex)
```

PHPackages © 2026

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