PHPackages                             oaugustus/direct-silex-provider - 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. [API Development](/categories/api)
4. /
5. oaugustus/direct-silex-provider

ActiveLibrary[API Development](/categories/api)

oaugustus/direct-silex-provider
===============================

An ExtJS Direct service provider for Silex.

0.1.x-dev(13y ago)1183[2 issues](https://github.com/oaugustus/direct-silex-provider/issues)MITPHPPHP &gt;=5.3.3

Since Jun 8Pushed 11y ago3 watchersCompare

[ Source](https://github.com/oaugustus/direct-silex-provider)[ Packagist](https://packagist.org/packages/oaugustus/direct-silex-provider)[ Docs](http://github.com/oaugustus/silex-direct)[ RSS](/packages/oaugustus-direct-silex-provider/feed)WikiDiscussions master Synced 4w ago

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

Silex-Direct
============

[](#silex-direct)

An ExtDirect service provider for Silex.

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

[](#installation)

Through [Composer](http://getcomposer.org):

```
{
   require: {
       "oaugustus/direct-silex-provider": "dev-master"
   }
}
```

Usage
-----

[](#usage)

To get up and running, register `DirectExtension` and manually specify the bundles directories that will be the controllers exposed to ExtDirect.

Register the DirectServiceProvider;

```
// app.php
...

$app->register(new Direct\DirectServiceProvider(), array());
```

Expose the controllers.

```
// app.php
...

// method call without formHandler
$app->post('/controller/method', function() use($app){
    return $app["request"]->get("name");
})->direct();

// method call with formHandler
$app->post('/controller/secondMethod', function(){

})->direct(true);
```

Add the api call into your page templates:

```

```

Ready, now call the remote method from ExtJS code:

```
Actions.Controller.method({name: 'Otavio'}, function(result, ev){
    if (ev.type != 'exception')
        console.log(result);
});
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

4771d ago

### Community

Maintainers

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

---

Top Contributors

[![oaugustus](https://avatars.githubusercontent.com/u/424960?v=4)](https://github.com/oaugustus "oaugustus (3 commits)")

---

Tags

extjsextdirect

### Embed Badge

![Health badge](/badges/oaugustus-direct-silex-provider/health.svg)

```
[![Health](https://phpackages.com/badges/oaugustus-direct-silex-provider/health.svg)](https://phpackages.com/packages/oaugustus-direct-silex-provider)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M719](/packages/sylius-sylius)[illuminate/session

The Illuminate Session package.

9939.3M829](/packages/illuminate-session)[api-platform/symfony

Symfony API Platform integration

384.5M114](/packages/api-platform-symfony)[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

807.1M188](/packages/saloonphp-laravel-plugin)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k45](/packages/friendsoftypo3-content-blocks)[mjaschen/collmex

Collmex PHP SDK

2088.6k](/packages/mjaschen-collmex)

PHPackages © 2026

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