PHPackages                             leofranca47/abstract-repository-eloquent-laravel - 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. leofranca47/abstract-repository-eloquent-laravel

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

leofranca47/abstract-repository-eloquent-laravel
================================================

Essa é uma classe php onde tem métodos que podem ser chamados igual no Eloquent. Serve para criar repositórios e facilitar os testes unitários sem perder o poder do Eloquent - This is a php class where it has methods that can be called equal in Eloquent. It serves to create responses and facilitate unit tests without losing the power of the Eloquent

v1.0.0(3y ago)1862MITPHP

Since Jan 13Pushed 3y ago2 watchersCompare

[ Source](https://github.com/leofranca47/abstract-repository-eloquent-laravel)[ Packagist](https://packagist.org/packages/leofranca47/abstract-repository-eloquent-laravel)[ RSS](/packages/leofranca47-abstract-repository-eloquent-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ABSTRACT REPOSITORY ELOQUENT LARAVEL
====================================

[](#abstract-repository-eloquent-laravel)

Essa é uma classe php onde tem métodos que podem ser chamados igual no "Eloquent". Serve para criar repositórios e facilitar os testes unitários sem perder o poder do "Eloquent"

This is a php class where it has methods that can be called equal in Eloquent. It serves to create responses and facilitate unit tests without losing the power of the Eloquent

USE
---

[](#use)

Para utilizar a classe é necessário criar uma classe concreta e estender da nossa classe. Na classe concreta é necessário criar o método que está implementado na classe abstrata, segue o exemplo abaixo:

To use the class it is necessary to create a concrete class and extend from our class. In the concrete class it is necessary to create the method that is implemented in the abstract class, follows the example below:

```
protected function resolveModel(): Model
{
    return app(Model::class);
}

```

INSTALATION
-----------

[](#instalation)

```
composer require leofranca47/abstract-repository-eloquent-laravel
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

1313d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42575330?v=4)[Leonardo Guimarães França](/maintainers/leofranca47)[@leofranca47](https://github.com/leofranca47)

### Embed Badge

![Health badge](/badges/leofranca47-abstract-repository-eloquent-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/leofranca47-abstract-repository-eloquent-laravel/health.svg)](https://phpackages.com/packages/leofranca47-abstract-repository-eloquent-laravel)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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