PHPackages                             zeydkazanci03/laragetmodel - 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. zeydkazanci03/laragetmodel

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

zeydkazanci03/laragetmodel
==========================

Laravel helper to load models via GetModel::run('ModelName')-&gt;method()

v2.0(6mo ago)011MITPHPPHP &gt;=8.0

Since Oct 26Pushed 6mo agoCompare

[ Source](https://github.com/zeydkazanci03/laragetmodel)[ Packagist](https://packagist.org/packages/zeydkazanci03/laragetmodel)[ RSS](/packages/zeydkazanci03-laragetmodel/feed)WikiDiscussions main Synced 1mo ago

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

laragetmodel/laragetmodel
=========================

[](#laragetmodellaragetmodel)

Laravel package to call model methods via a facade:

```
use GetModel;

$user = GetModel::run('User')->find(1);
$user = GetModel::run(\App\Models\User::class)->someMethod();
```

Features
--------

[](#features)

- `GetModel::run('ModelName')` resolves `App\Models\ModelName` by default.
- You can pass a full class name (`\App\Models\User`) if needed.
- Configurable `base_model_namespace`.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0 (compatible with PHP 8+)
- Laravel ^10.0

Installation (dev / local)
--------------------------

[](#installation-dev--local)

Add repository to your project's `composer.json`:

```
"repositories": [
  {
    "type": "vcs",
    "url": "https://github.com/YOUR_USER/laragetmodel"
  }
]
```

Then in your project:

```
composer require laragetmodel/laragetmodel:dev-main
```

Or use `path` repository during local testing.

Usage
-----

[](#usage)

After installation the package registers automatically (Laravel package discovery). You can also add provider/alias manually in `config/app.php`:

```
'providers' => [
    Laragetmodel\GetModel\Providers\GetModelServiceProvider::class,
],

'aliases' => [
    'GetModel' => Laragetmodel\GetModel\Facades\GetModel::class,
],
```

Config publish (optional):

```
php artisan vendor:publish --provider="Laragetmodel\GetModel\Providers\GetModelServiceProvider" --tag="config"
```

Configuration
-------------

[](#configuration)

`config/getmodel.php` contains `base_model_namespace` (default `App\\Models\\`).

License
-------

[](#license)

MIT

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance67

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Every ~6 days

Total

2

Last Release

192d ago

Major Versions

v1.0 → v2.02025-11-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/95f426569d5737f78ab1dcb5c41dfa33afdd899eeda7508922c8d4efa6e6d3aa?d=identicon)[zeydkazanci03](/maintainers/zeydkazanci03)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zeydkazanci03-laragetmodel/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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