PHPackages                             devjs/eloquent-resources - 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. devjs/eloquent-resources

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

devjs/eloquent-resources
========================

Package for generic resource classes. Interfaces, Controllers, Validations, Entities, Repositories, Criterias etc

v0.2.3(8y ago)0631MITPHP

Since Apr 27Pushed 7y agoCompare

[ Source](https://github.com/xdefrag/eloquent-resources)[ Packagist](https://packagist.org/packages/devjs/eloquent-resources)[ RSS](/packages/devjs-eloquent-resources/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (10)Versions (10)Used By (0)

Attention!
==========

[](#attention)

This package was used on my past work projects as easy code generating tool: it has minimum possibilities, unfortunately no tests inside package (we experienced troubles to make laravel essentials like container or routes to work and have no idea about great tools like orchestral's [testbench](https://github.com/orchestral/testbench) yet) and some bugs. For now I have no interests to maintain this package, if you would like to continue work with that code = do yourself a favor, fork it and then use it. Thanks.

Eloquent Resources
==================

[](#eloquent-resources)

Common tools for quick resources creation including Repository with Interface, Validation and Controller with Interface.

Installation
============

[](#installation)

Package in deep development, for now only "dev-master" available.

```
composer require devjs/eloquent-resources:dev-master
```

If Laravel/lumen version lower 5.5, register package service provider manualy.

```
Devjs\EloquentResources\EloquentResourcesServiceProvider
```

Usage
=====

[](#usage)

You can create bunch of useful things by typing

```
php artisan eloquent-resources:generate
```

where entityName is Eloquent Model under App\\Entity namespace. Make sure you're created bindings for interfaces (Http and Repository) and routes mapping (all, get, create, update, destroy).

For more info checkout command help.

```
php artisan help eloquent-resources:generate
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

9

Last Release

2982d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19549814?v=4)[Stas Karkavin](/maintainers/xdefrag)[@xdefrag](https://github.com/xdefrag)

![](https://avatars.githubusercontent.com/u/32923717?v=4)[Aleksandr Kirsanov](/maintainers/nagohak)[@nagohak](https://github.com/nagohak)

---

Top Contributors

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

---

Tags

eloquentgeneratorslaravellumen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/devjs-eloquent-resources/health.svg)

```
[![Health](https://phpackages.com/badges/devjs-eloquent-resources/health.svg)](https://phpackages.com/packages/devjs-eloquent-resources)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M123](/packages/roots-acorn)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M131](/packages/laravel-mcp)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M7.8k](/packages/larastan-larastan)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M125](/packages/laravel-pulse)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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