PHPackages                             netflex/toolbox - 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. netflex/toolbox

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

netflex/toolbox
===============

v1.2.0(1y ago)0205PHP

Since Nov 13Pushed 1y agoCompare

[ Source](https://github.com/apility/netflex-toolbox)[ Packagist](https://packagist.org/packages/netflex/toolbox)[ RSS](/packages/netflex-toolbox/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (7)Used By (0)

Netflex Toolbox
===============

[](#netflex-toolbox)

[Documentation](https://apility.github.io/netflex-toolbox)

This toolbox is just collection of nice to haves that have been created during development of sites. Quickly share or reuse your helpers.

Enforcing Trailing slashes
--------------------------

[](#enforcing-trailing-slashes)

We have two components that helps us deal with the old netflex issue of all URLs enforcing slashes at the end of the url. If you need to ensure this is the case, we can fake this quite easy.

- We have a middleware that redirects all urls that does not end with a slash, to the same url with the trailing slash. It is called `add-slash` and takes an optional parameter for redirect status code. For example `add-slash:307`. This middleware only supports GET routes. Default status code is 302.
- We have a new URLGenerator that can wrap your existing url generator but will ensure that urls returned by laravel will have slashes.

Removing trailing slashes
-------------------------

[](#removing-trailing-slashes)

We also have a middleware that will redirect to routes without a trailing slash, should one be supplied. This middleware is called `remove-slash`

Commands
--------

[](#commands)

We've added a fair few functions of often repeated tasks when working with Netflex sites. All functions are prefixed with `tb:`

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.4% 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 ~61 days

Recently: every ~70 days

Total

6

Last Release

645d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14291825?v=4)[Thomas Alrek](/maintainers/thomas-alrek)[@thomas-alrek](https://github.com/thomas-alrek)

![](https://avatars.githubusercontent.com/u/1438488?v=4)[Tommy Stigen Olsen](/maintainers/tommysolsen)[@tommysolsen](https://github.com/tommysolsen)

---

Top Contributors

[![tommysolsen](https://avatars.githubusercontent.com/u/1438488?v=4)](https://github.com/tommysolsen "tommysolsen (27 commits)")[![thomas-alrek](https://avatars.githubusercontent.com/u/14291825?v=4)](https://github.com/thomas-alrek "thomas-alrek (1 commits)")

### Embed Badge

![Health badge](/badges/netflex-toolbox/health.svg)

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

###  Alternatives

[rackbeat/php-throttler

Throttle PHP function calls and iteration runs by X executions per second.

1136.3k](/packages/rackbeat-php-throttler)

PHPackages © 2026

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