PHPackages                             sinevia/php-library-fastest - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sinevia/php-library-fastest

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sinevia/php-library-fastest
===========================

PHP Library Fastest

v3.2.0(7y ago)181proprietaryPHP

Since Jan 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Sinevia/php-library-fastest)[ Packagist](https://packagist.org/packages/sinevia/php-library-fastest)[ Docs](http://github.com/sinevia/php-library-fastest)[ RSS](/packages/sinevia-php-library-fastest/feed)WikiDiscussions master Synced today

READMEChangelog (5)DependenciesVersions (6)Used By (0)

PHP Library Fastest
===================

[](#php-library-fastest)

Fastest router

How it works
------------

[](#how-it-works)

Simple and unassuming router.

1. The router checks for an action parameter in the URL. If not found assumes "home".

```
index.php?a=home (this is default)
index.php?a=register

```

2. Executes a PHP function for the requested action.
3. The action function has the same name as the requested action with the "\_action" postfix.

```
(action: home => function: home_action)
(action: register => function: register_action)

```

4. Dashes, spaces, and forward slashes are replaced with underscores

```
(action: auth/login => function: auth_login_action)
(action: auth-login => function: auth_login_action)

```

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

[](#installation)

1. Using composer (recommended)

```
composer require sinevia/php-library-fastest
```

2. Manually. Copy the fastest.php file and use the include\_once function to include

Usage
-----

[](#usage)

1. Add the following line to where the router will be working. It can be the main router of the app, or a standalone PHP webpage.

```
// Add the actions
require_once('../actions/home_action.php');
require_once('../actions/login_action.php');

// Execute the router
\Sinevia::fastest();
```

- Optionally the action can be set manually, for instance to have nice URLs

```
// Manually set the action and execute
$uri = strtok($_SERVER["REQUEST_URI"],'?');
$result = \Sinevia::fastest(['action' => $uri]);
```

- Optionally the result can be output as string to be processed manually further

```
// Get the result as string and output
$result = \Sinevia::fastest(['output_as_string' => true]);
die($result);
```

2. Example functions

```
/**
 * The home function
 * route: ?a= or /
 */
function home_action {
    return 'Home';
}

/**
 * The login function
 * route: ?a=login or /login
 */
function login_action {
    return 'Login';
}
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

5

Last Release

2674d ago

Major Versions

v1.0.0 → v2.0.02018-07-29

v2.0.0 → v3.0.02019-01-13

### Community

Maintainers

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

---

Top Contributors

[![Sinevia](https://avatars.githubusercontent.com/u/3450815?v=4)](https://github.com/Sinevia "Sinevia (22 commits)")

---

Tags

phplibraryfastestsinevia

### Embed Badge

![Health badge](/badges/sinevia-php-library-fastest/health.svg)

```
[![Health](https://phpackages.com/badges/sinevia-php-library-fastest/health.svg)](https://phpackages.com/packages/sinevia-php-library-fastest)
```

PHPackages © 2026

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