PHPackages                             nuewire/support - 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. nuewire/support

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

nuewire/support
===============

Shared Laravel utilities for Nuewire packages.

1.0.0(today)00MITPHPPHP ^8.2

Since Jul 28Pushed todayCompare

[ Source](https://github.com/nuewire/support)[ Packagist](https://packagist.org/packages/nuewire/support)[ RSS](/packages/nuewire-support/feed)WikiDiscussions main Synced today

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

Nuewire Support
===============

[](#nuewire-support)

Shared utilities for Nuewire Laravel packages.

Random integer IDs
------------------

[](#random-integer-ids)

```
use Illuminate\Database\Eloquent\Model;
use Nuewire\Support\Concerns\HasRandomIntegerId;

class Customer extends Model
{
    use HasRandomIntegerId;
}
```

New records receive a unique integer ID between `100000000` and `999999999`. The trait sets the Eloquent model to non-incrementing integer keys.

Use a non-incrementing primary key in new migrations:

```
$table->unsignedBigInteger('id')->primary();
```

Override the range for one model when needed:

```
protected function nuewireRandomIntegerIdMinimum(): int
{
    return 200000000;
}
```

Global defaults can be published with:

```
php artisan vendor:publish --tag=nuewire-support-config
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/712577?v=4)[Novianto Rahmadi](/maintainers/novay)[@novay](https://github.com/novay)

---

Top Contributors

[![novay](https://avatars.githubusercontent.com/u/712577?v=4)](https://github.com/novay "novay (1 commits)")

---

Tags

laravelsupportrandom idnuewire

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nuewire-support/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M348](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M250](/packages/laravel-ai)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M221](/packages/illuminate-broadcasting)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)

PHPackages © 2026

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