PHPackages                             glhd/laravel-faux-generics - 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. glhd/laravel-faux-generics

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

glhd/laravel-faux-generics
==========================

Faux generics for better type hinting and refactoring in Laravel projects.

0.4.0(6y ago)0790MITPHPPHP &gt;=7.3CI failing

Since Aug 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/glhd/laravel-faux-generics)[ Packagist](https://packagist.org/packages/glhd/laravel-faux-generics)[ RSS](/packages/glhd-laravel-faux-generics/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

Faux Generics
=============

[](#faux-generics)

This package lets you generate Laravel-specific helper files to simulate generics in PHP. This provides better type hinting and refactoring for many of Laravel's fluent and proxy features:

- Models (return types and static methods)
- Query Builder (return types, pass-thru, and forward calls)
- Collections (return types)
- Higher Order Collection Proxies (type-hint on property and method chains)
- Model Scopes (type-hint on builder, relations, etc)
- Factories (type-hint on `factory()` calls)
- Paginator
- Macros

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.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 ~66 days

Total

5

Last Release

2260d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21592?v=4)[Chris Morrell](/maintainers/inxilpro)[@inxilpro](https://github.com/inxilpro)

---

Top Contributors

[![inxilpro](https://avatars.githubusercontent.com/u/21592?v=4)](https://github.com/inxilpro "inxilpro (12 commits)")[![bogdankharchenko](https://avatars.githubusercontent.com/u/32746389?v=4)](https://github.com/bogdankharchenko "bogdankharchenko (2 commits)")

---

Tags

laravelide-helpergenerics

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/glhd-laravel-faux-generics/health.svg)

```
[![Health](https://phpackages.com/badges/glhd-laravel-faux-generics/health.svg)](https://phpackages.com/packages/glhd-laravel-faux-generics)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[webwizo/laravel-shortcodes

Wordpress like shortcodes for Laravel 11, 12 and 13

217700.9k8](/packages/webwizo-laravel-shortcodes)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[erag/laravel-pwa

A simple and easy-to-use PWA (Progressive Web App) package for Laravel applications.

180124.1k](/packages/erag-laravel-pwa)

PHPackages © 2026

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