PHPackages                             brokeyourbike/base-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. [Database &amp; ORM](/categories/database)
4. /
5. brokeyourbike/base-models

ActiveLibrary[Database &amp; ORM](/categories/database)

brokeyourbike/base-models
=========================

Base models to extend in the app.

0.3.1(3y ago)01.6k[1 PRs](https://github.com/brokeyourbike/base-models-laravel/pulls)2MPL-2.0PHPPHP ^8.1CI failing

Since Jan 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/brokeyourbike/base-models-laravel)[ Packagist](https://packagist.org/packages/brokeyourbike/base-models)[ RSS](/packages/brokeyourbike-base-models/feed)WikiDiscussions main Synced today

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

base-models
===========

[](#base-models)

[![Latest Stable Version](https://camo.githubusercontent.com/68083ce166b43dac8b7f6a9ce16ce87680bfd708b0964b603eb0907e9bcbacd1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f62726f6b65796f757262696b652f626173652d6d6f64656c732d6c61726176656c)](https://github.com/brokeyourbike/base-models-laravel/releases)[![Total Downloads](https://camo.githubusercontent.com/c8165605c47b228d75d7889274f86363411e317c02fbb7bbac970f7c5fd2a743/68747470733a2f2f706f7365722e707567782e6f72672f62726f6b65796f757262696b652f626173652d6d6f64656c732f646f776e6c6f616473)](https://packagist.org/packages/brokeyourbike/base-models)[![Maintainability](https://camo.githubusercontent.com/48a496f773135ff25b2d3e49ce27ed588687fbf0e35076712eab23d88adacce2/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37386438336535336664336638396564363065392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/brokeyourbike/base-models-laravel/maintainability)

Base models to extend in the app.

Why?
----

[](#why)

I am using this abstract class in most of my apps, and I always have to cover it with tests etc. I don't want to copy the code anymore.

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

[](#installation)

```
composer require brokeyourbike/base-models
```

Usage
-----

[](#usage)

```
use BrokeYourBike\BaseModels\BaseUuid;

class ExampleModels extends BaseUuid {}
```

Authors
-------

[](#authors)

- [Ivan Stasiuk](https://github.com/brokeyourbike) | [Twitter](https://twitter.com/brokeyourbike) | [LinkedIn](https://www.linkedin.com/in/brokeyourbike) | [stasi.uk](https://stasi.uk)

License
-------

[](#license)

[Mozilla Public License v2.0](https://github.com/brokeyourbike/base-models-laravel/blob/main/LICENSE)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81% 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 ~159 days

Total

4

Last Release

1147d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/114f3c6e8506e0bba763451e8e4bcc3e94d662c2dce982a910b5d7b3444593cf?d=identicon)[brokeyourbike](/maintainers/brokeyourbike)

---

Top Contributors

[![brokeyourbike](https://avatars.githubusercontent.com/u/1554371?v=4)](https://github.com/brokeyourbike "brokeyourbike (17 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

eloquenthacktoberfestlaravellaravel-packagelaravel-packagesphplaravelmodeleloquentBrokeYourBike

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/brokeyourbike-base-models/health.svg)

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

###  Alternatives

[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4843.1M9](/packages/dyrynda-laravel-model-uuid)[lacodix/laravel-model-filter

A Laravel package to filter, search and sort models with ease while fetching from database.

17558.6k](/packages/lacodix-laravel-model-filter)[esensi/model

The base model traits of Esensi

20167.0k1](/packages/esensi-model)[elipzis/laravel-cacheable-model

Automatic query-based model cache for your Laravel app

15853.1k](/packages/elipzis-laravel-cacheable-model)[giacomomasseron/laravel-models-generator

Generate Laravel models from an existing database

557.6k](/packages/giacomomasseron-laravel-models-generator)

PHPackages © 2026

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