PHPackages                             fenzland/laravel-helpers - 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. fenzland/laravel-helpers

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

fenzland/laravel-helpers
========================

Helper functions for laravel.

1.0.0(8y ago)3951MITPHPPHP &gt;=7.0

Since Nov 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Fenzland/LaravelHelpers)[ Packagist](https://packagist.org/packages/fenzland/laravel-helpers)[ RSS](/packages/fenzland-laravel-helpers/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (8)Used By (0)

Fenzland Laravel Helper
=======================

[](#fenzland-laravel-helper)

Some useful helper functions for laravel.

Usage
=====

[](#usage)

Step 1. Install with composer.

```
composer require fenzland/laravel-helpers
```

Step 2. Enjoy.

Functions
=========

[](#functions)

z()
---

[](#z)

If you dump something with dd(), the program will be terminated. Sometimes (or usually), that's not what we want. Instead of exit, z() will dump what you give and return it back. So you can dump values in your process without side effect.

```
/*
$foo->doSomething($bar->someObject->someValue());
/*/
z($foo->doSomething(z(z($bar->someObject)->someValue())));
//*/
```

routo()
-------

[](#routo)

Similar with route(), but smarter.

```
// Case 1: In page foo.bar.projects.index , call
routo('.show',[ 'project'=>$project, ]) === route('foo.bar.projects.show',[ 'project'=>$project, ]);

// Case 2: In page foo.bar.projects.show with param [ project=>$project, ]
routo('.edit') === route('foo.bar.projects.edit',[ 'project'=>$project, ]);

// Case 3: In page Foo:foo.foo.foo
routo(':bar') === route('Foo:bar');
```

array\_transposition()
----------------------

[](#array_transposition)

Transposition a matrix, whitch is an array of some array with same structure.

```
$fromArray= [
	'foo'=> [
		'foo1',
		'foo2',
		'foo3',
		'foo4',
	],
	'bar'=> [
		'bar1',
		'bar2',
		'bar3',
		'bar4',
	],
]
array_transposition($fromArray) === [
	[ 'foo'=>'foo1', 'bar'=>'bar1', ],
	[ 'foo'=>'foo2', 'bar'=>'bar2', ],
	[ 'foo'=>'foo3', 'bar'=>'bar3', ],
	[ 'foo'=>'foo4', 'bar'=>'bar4', ],
]
```

License
=======

[](#license)

[MIT license](http://opensource.org/licenses/MIT).

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~54 days

Recently: every ~76 days

Total

7

Last Release

3198d ago

Major Versions

0.1.5 → 1.0.02017-09-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/4088943a17e5d5e92ecb0196b9b2970af09cf5b3e1b8b67443c79169878f3cbe?d=identicon)[Fenzland](/maintainers/Fenzland)

---

Top Contributors

[![Fenzland](https://avatars.githubusercontent.com/u/19697989?v=4)](https://github.com/Fenzland "Fenzland (13 commits)")[![uukoo](https://avatars.githubusercontent.com/u/9957533?v=4)](https://github.com/uukoo "uukoo (2 commits)")

---

Tags

laravellaravel-5-package

### Embed Badge

![Health badge](/badges/fenzland-laravel-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/fenzland-laravel-helpers/health.svg)](https://phpackages.com/packages/fenzland-laravel-helpers)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[webcrafts-studio/lens-for-laravel

A plug-and-play accessibility auditor for Laravel.

371.4k](/packages/webcrafts-studio-lens-for-laravel)

PHPackages © 2026

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