PHPackages                             rokde/laravel-utilities - 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. rokde/laravel-utilities

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

rokde/laravel-utilities
=======================

Some laravel or php related utilities.

1.0.1(2y ago)074[3 PRs](https://github.com/rokde/laravel-utilities/pulls)1MITPHPPHP ^8.2CI passing

Since Feb 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/rokde/laravel-utilities)[ Packagist](https://packagist.org/packages/rokde/laravel-utilities)[ Fund](https://paypal.me/rok)[ GitHub Sponsors](https://github.com/rokde)[ RSS](/packages/rokde-laravel-utilities/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (6)Used By (1)

Utilities
=========

[](#utilities)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cf0562611df94dde0f552936380fd3e6750c6861455754dd985477c751e200ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6b64652f6c61726176656c2d7574696c69746965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rokde/laravel-utilities)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4f84f98c44f9141fb9fce00e5b0b594ee8728aacae1a2464115c96255c73c21a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f6b64652f6c61726176656c2d7574696c69746965732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/rokde/laravel-utilities/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/27cf998c014cbdd8a29d3e9116cdbda6b46d0c1539d78a836f31c16725b9c0d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f6b64652f6c61726176656c2d7574696c69746965732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/rokde/laravel-utilities/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4dc5d5254062bdb14589f2e42c18178aa7a0b4f791d7f6b5a443050052bebf1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6b64652f6c61726176656c2d7574696c69746965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rokde/laravel-utilities)

Some laravel or php related utilities.

```
composer require rokde/laravel-utilities

```

Stopwatch
---------

[](#stopwatch)

A simple stopwatch to measure the time between operations.

```
use Rokde\LaravelUtilities\Utilities\Stopwatch;

$stopwatch = Stopwatch::make();

echo $stopwatch->measure();
// do a long running task
echo $stopwatch->measure();

// displays
// 00:00:00.034240
// 00:00:03.078050
```

Memory
------

[](#memory)

Simple memory service to get peak and usage formatted.

```
echo '[' . Memory::usage() . ' / ' . Memory::peak() . ']';

// displays
// [8.31 MB / 8.96 MB]
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance60

Regular maintenance activity

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

826d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4946056?v=4)[Robert Kummer](/maintainers/rokde)[@rokde](https://github.com/rokde)

---

Top Contributors

[![rokde](https://avatars.githubusercontent.com/u/4946056?v=4)](https://github.com/rokde "rokde (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/rokde-laravel-utilities/health.svg)

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

###  Alternatives

[z3d0x/filament-fabricator

Block-Based Page Builder Skeleton for your Filament Apps

373158.4k3](/packages/z3d0x-filament-fabricator)[matthiasmullie/geo

Geography helper

6377.6k1](/packages/matthiasmullie-geo)[nasyrov/laravel-enums

Laravel package for Enum implementation.

3272.5k](/packages/nasyrov-laravel-enums)[mnapoli/pretty

Run all code formatting tools with one command: pretty

1085.1k9](/packages/mnapoli-pretty)[mestrona/magento-module-categoryredirect

Magento 2 Module to simply customize the menu with additional URLs: Create a category, enter the redirect, done.

2343.0k](/packages/mestrona-magento-module-categoryredirect)[kphoen/rulerz-spec-builder

Specification builder for RulerZ

1149.5k](/packages/kphoen-rulerz-spec-builder)

PHPackages © 2026

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