PHPackages                             00f100/fcphp-dispach - 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. 00f100/fcphp-dispach

ActivePackage[API Development](/categories/api)

00f100/fcphp-dispach
====================

Library to dispach request to controller

0.1.0(7y ago)037PHPPHP &gt;=7.2

Since Aug 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/00F100/fcphp-dispach)[ Packagist](https://packagist.org/packages/00f100/fcphp-dispach)[ Docs](https://github.com/00f100/fcphp-dispach)[ RSS](/packages/00f100-fcphp-dispach/feed)WikiDiscussions master Synced today

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

FcPhp Dispach
=============

[](#fcphp-dispach)

Package to dispach request to controller. Uses [FcPhp Di](https://github.com/00f100/fcphp-di) to find Controller instance.

[![Build Status](https://camo.githubusercontent.com/28e43665ab02f2fb9337f960d13c562165ca9d387b44106cfdf2eeb297546a01/68747470733a2f2f7472617669732d63692e6f72672f3030463130302f66637068702d646973706163682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/00F100/fcphp-dispach) [![codecov](https://camo.githubusercontent.com/596ffe6bc1eda17f1c020897014ed385b451e077b80aefc1727209c9ee1dae3c/68747470733a2f2f636f6465636f762e696f2f67682f3030463130302f66637068702d646973706163682f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/00F100/fcphp-dispach)

[![PHP Version](https://camo.githubusercontent.com/e89c09516b8f69845bf0cf83602f169cd810ca1eebcacf018c8d659adb35339d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f3030663130302f66637068702d646973706163682e737667)](https://packagist.org/packages/00F100/fcphp-dispach) [![Packagist Version](https://camo.githubusercontent.com/bbca9d2db87d267ad316749c52f501c8e21c4cf825955bdd84a81c84208555f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f3030663130302f66637068702d646973706163682e737667)](https://packagist.org/packages/00F100/fcphp-dispach) [![Total Downloads](https://camo.githubusercontent.com/5df4c6ad6138f86ad96d70c42f25901f357c3fa1063777b12788c861bb8eeb3e/68747470733a2f2f706f7365722e707567782e6f72672f3030463130302f66637068702d646973706163682f646f776e6c6f616473)](https://packagist.org/packages/00F100/fcphp-dispach)

How to install
--------------

[](#how-to-install)

Composer:

```
$ composer require 00f100/fcphp-dispach
```

or add in composer.json

```
{
    "require": {
        "00f100/fcphp-dispach": "*"
    }
}
```

How to use
----------

[](#how-to-use)

### Configure Dependency Injection with [FcPhp Di](https://github.com/00f100/fcphp-di)

[](#configure-dependency-injection-with-fcphp-di)

```
use FcPhp\Di\Facades\DiFacade;
use FcPhp\Controller\Controller;

// Class example ...
class ExampleController extends Controller
{
    public function findAll($foo, $bar)
    {
        return compact('foo', 'bar');
    }
}
// Configure class into FcPhp Di
$di = DiFacade::getInstance();
$di->set('ExampleController', 'ExampleController');
```

### Get instance and run Dispach

[](#get-instance-and-run-dispach)

```
use FcPhp\Dispach\Facades\DispachFacade;
// Init Dispach
$instance = DispachFacade::getInstance();

/*
    Return ExampleController->findAll('foo_value', 'bar_value'):
    Array (
        'foo' => 'foo_value',
        'bar' => 'bar_value'
    )
*/
print_r($instance->dispach('ExampleController@findAll', ['foo_value', 'bar_value']));
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

2829d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ff406566b9371ed5b48e1e62a5dcafd6f1de2e3066fa0922afdfe418d100b8c?d=identicon)[00F100](/maintainers/00F100)

---

Top Contributors

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

---

Tags

dispachfcphpfcphp-controllerfcphp-difcphp-dispachphp7php72requestpackagecontrollerPHP7fcphpdispach

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/00f100-fcphp-dispach/health.svg)

```
[![Health](https://phpackages.com/badges/00f100-fcphp-dispach/health.svg)](https://phpackages.com/packages/00f100-fcphp-dispach)
```

###  Alternatives

[pear2/net_routeros

This package allows you to read and write information from a RouterOS host using MikroTik's RouterOS API.

248111.7k4](/packages/pear2-net-routeros)[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[mtownsend/request-xml

The missing XML support for Laravel's Request class.

43432.5k](/packages/mtownsend-request-xml)[hitrov/oci-api-php-request-sign

This package generates proper HTTP headers to sign Oracle Cloud Infrastructure API requests

231.4M4](/packages/hitrov-oci-api-php-request-sign)[phplicengine/bitly

Bitly API v4

22277.3k](/packages/phplicengine-bitly)[phpsa/laravel-api-controller

A laravel api base controller with basic CRUD mapped to the model

4860.6k5](/packages/phpsa-laravel-api-controller)

PHPackages © 2026

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