PHPackages                             sfneal/mock-models - 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. sfneal/mock-models

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

sfneal/mock-models
==================

Boilerplate for PHP package repo's

0.12.0(2y ago)033.5k↑1500%[3 PRs](https://github.com/sfneal/mock-models/pulls)11MITPHPPHP ^8.1CI passing

Since Apr 13Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/sfneal/mock-models)[ Packagist](https://packagist.org/packages/sfneal/mock-models)[ Docs](https://github.com/sfneal/mock-models)[ RSS](/packages/sfneal-mock-models/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (26)Used By (11)

Mock Models
===========

[](#mock-models)

[![Packagist PHP support](https://camo.githubusercontent.com/64059c125e948f23460232beaadb566b2b7ed91ff723f0c906eed669686c6e92/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73666e65616c2f6d6f636b2d6d6f64656c73)](https://packagist.org/packages/sfneal/mock-models)[![Latest Version on Packagist](https://camo.githubusercontent.com/ad598e49501904c631e9cec688ddc665f84d65a856e91c602a46e68cd769a260/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73666e65616c2f6d6f636b2d6d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sfneal/mock-models)[![Build Status](https://camo.githubusercontent.com/2608b17549ecd4415d8b2623152e66b5587c212ef7b3f76f95d54552f9aacf78/68747470733a2f2f7472617669732d63692e636f6d2f73666e65616c2f6d6f636b2d6d6f64656c732e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.com/sfneal/mock-models)[![Quality Score](https://camo.githubusercontent.com/bd832a02801745fc89ab9dbe50aa768d543dfcee159b7e74830c1226f6398fd2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73666e65616c2f6d6f636b2d6d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sfneal/mock-models)[![Total Downloads](https://camo.githubusercontent.com/12ab6e5b661f8769ff33716dc2a77a041eadb05f5bd2780bd3dd18af4f7f20d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73666e65616c2f6d6f636b2d6d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sfneal/mock-models)

Mock Eloquent Models that can be used in test suites without having to muddle up your test directory with mocks.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require sfneal/mock-models
```

Usage
-----

[](#usage)

```
// Usage description here
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Stephen Neal](https://github.com/sfneal)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

PHP Package Boilerplate
-----------------------

[](#php-package-boilerplate)

This package was generated using the [PHP Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance62

Regular maintenance activity

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 97.9% 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 ~56 days

Recently: every ~206 days

Total

21

Last Release

733d ago

PHP version history (3 changes)0.1.0PHP &gt;=7.3

0.11.1PHP ^8.0

0.12.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec5fdf3b9d2183ae9c777e4aed46fd5cfd9aa4789cd05c669e5907de0b8c865c?d=identicon)[sfneal](/maintainers/sfneal)

---

Top Contributors

[![sfneal](https://avatars.githubusercontent.com/u/23200215?v=4)](https://github.com/sfneal "sfneal (94 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

sfnealmock-models

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sfneal-mock-models/health.svg)

```
[![Health](https://phpackages.com/badges/sfneal-mock-models/health.svg)](https://phpackages.com/packages/sfneal-mock-models)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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