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

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

daltcore/laravel-useful-helpers
===============================

Some useful helpers for the laravel framework

v1.2.1(2y ago)05.1kMITPHP

Since May 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/DALTCORE/laravel-useful-helpers)[ Packagist](https://packagist.org/packages/daltcore/laravel-useful-helpers)[ RSS](/packages/daltcore-laravel-useful-helpers/feed)WikiDiscussions master Synced 2mo ago

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

laravel-useful-helpers
======================

[](#laravel-useful-helpers)

Some useful helpers for Laravel

Laravel 5.3/5.4/5.5/5.6/5.7/5.8/6.0/7.0 compatible

```
composer require daltcore/laravel-useful-helpers dev-master

```

### Generate user friendly passwords

[](#generate-user-friendly-passwords)

So use's are not confused anymore with some characters. This is a know problem with people who can't see correct.

```
/**
* Generate a password without i o 0 I l L etc.
**/
echo user_friendly_password($length = 9, $add_dashes = false, $available_sets = 'lud');
```

### URL to Route name

[](#url-to-route-name)

Get the route name for the url that's given. Might be handy some times.

```
/**
* In case of named routes, you can use this function to transform the uri '/' to web.home.index
* @param null|string $uri    = '/'
* @param string      $method = 'GET'
**/
echo route_name(); // site.home.show
echo route_name(\URL::current()); // site.home.show
echo route_name('cms/user/1/delete', 'DELETE'); // cms.user.delete
```

### Check if the given route name match the current route name

[](#check-if-the-given-route-name-match-the-current-route-name)

Just give a string and a boolean will be returned if the given route name has a match for the current route name.

```
/**
 * Check if the given route name is or are the same as the current route
 *
 * @param  string $route
 * @return boolean
 */
if (active_route('cms.post.*')) { ...
```

### Check if the given URI match the current URI

[](#check-if-the-given-uri-match-the-current-uri)

You have two options:

- Check if the given URI matches only a part of the current URI
- Check if the given URI matches the current URI exactly

```
/**
 * Check if the current uri contains the given uri
 *
 * @param  string  $uri
 * @param  boolean $strict
 * @return boolean
 */
if (activeUri('posts')) { ...
if (activeUri('posts', true)) { ...
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~455 days

Recently: every ~563 days

Total

6

Last Release

1002d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1906631?v=4)[Monn](/maintainers/RamonSmit)[@RamonSmit](https://github.com/RamonSmit)

---

Top Contributors

[![RamonSmit](https://avatars.githubusercontent.com/u/1906631?v=4)](https://github.com/RamonSmit "RamonSmit (38 commits)")[![Hendriksie](https://avatars.githubusercontent.com/u/6705457?v=4)](https://github.com/Hendriksie "Hendriksie (2 commits)")

---

Tags

helperslaravellaravel-5-packageuriuri-match

### Embed Badge

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

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

###  Alternatives

[selvinortiz/doxter

Slick markdown editor and smart text parser.

248.9k](/packages/selvinortiz-doxter)

PHPackages © 2026

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