PHPackages                             p-marco/laravel\_utils.entitiesmanager - 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. p-marco/laravel\_utils.entitiesmanager

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

p-marco/laravel\_utils.entitiesmanager
======================================

Opinionated package for laravel that organizes the entities by responsabilities.

1.0.0(2y ago)06GPL-3.0-or-laterPHPPHP ^8.1

Since Nov 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/p-marco/laravel_utils-EntitiesManager)[ Packagist](https://packagist.org/packages/p-marco/laravel_utils.entitiesmanager)[ Docs](https://github.com/p-marco/laravel_utils-EntitiesManager)[ RSS](/packages/p-marco-laravel-utilsentitiesmanager/feed)WikiDiscussions main Synced 1mo ago

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

laravel\_utils-EntitiesManager
==============================

[](#laravel_utils-entitiesmanager)

Simple opinionated utility to manage laravel entities.

What it does
------------

[](#what-it-does)

`laravel_utils-EntitiesManager` is a Laravel package that simplifies the management of core data entities in your web application. It provides an opinionated and structured approach to efficiently handle entities, which are fundamental data objects such as users, products, or posts, and so on.

**Key Features:**

- Streamlined Entity Management: This package streamlines the creation, organization, and management of entities in your Laravel application. It simplifies the process of setting up the essential components associated with each entity.
- Clear Folder Structure: When generating an entity, laravel\_utils-EntitiesManager creates a clear and consistent folder structure. For example, if you're working with a "Post" entity, it generates folders for controllers, models, providers, repositories, and views specific to that entity.

```
Post
    Controllers
        PostController.php
    Models
        PostModel.php
    Providers
        PostProvider.php
    Repositories
        PostRepository.php
    Views
        PostView.blade.php

```

- This structured approach helps maintain a well-organized codebase.
- Effortless Entity Generation: You can easily generate different components for an entity using simple artisan commands. For example, you can generate a model, controller, or repository for your entity with a single command, saving you time and effort.

```
    // Example: Generate a model for the "Post" entity
    artisan entity:generate Post --layer=model

```

- Consistency Across Entities: By following a consistent naming and organization convention, this package helps to ensure that all entities in your application share a uniform structure. This consistency makes it easier to understand and maintain your codebase.
- Improved Code Maintainability: With a well-structured codebase, developers can more effectively collaborate and maintain the application over time. This package promotes best practices for code organization.

In summary, `laravel_utils-EntitiesManager` simplifies entity management in Laravel by providing a structured approach and tools to generate and organize entity-related components. It enhances code maintainability, encourages best practices, and saves developers valuable time when working with entities in their Laravel applications.

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

[](#installation)

Add the package in `composer.json`:

```
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/p-marco/laravel_utils/EntitiesManager"
        }
    ],
    "require": {
        "p-marco/laravel_utils.entitiesManager": "dev-main"
    }

```

Usage
-----

[](#usage)

```
// Basic usage:
artisan entity:generate {entity} {--layer}

// Create a model or other types (either if the Entity is already present or not):
artisan entity:generate Author --layer=model
artisan entity:generate Comment --layer=view
artisan entity:generate Post --layer=controller

```

The root folder is hardcoded as `App\Entities`. Future plans to make it configurable.

Changelog
---------

[](#changelog)

### v.1.1.0

[](#v110)

- Root folder for entities generation is coded into config file, that can be published (!BREAKING FEATURES)
- Created default fallback when no --layer option is specified

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

897d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a79969de4f139427f7cdfe34d2c9ab639595a6d6b2e548ff1c1018879e2e51d6?d=identicon)[p-marco](/maintainers/p-marco)

---

Top Contributors

[![p-marco](https://avatars.githubusercontent.com/u/15143083?v=4)](https://github.com/p-marco "p-marco (31 commits)")

---

Tags

composer-packagelaravellaravel-packagecomposerlaravel

### Embed Badge

![Health badge](/badges/p-marco-laravel-utilsentitiesmanager/health.svg)

```
[![Health](https://phpackages.com/badges/p-marco-laravel-utilsentitiesmanager/health.svg)](https://phpackages.com/packages/p-marco-laravel-utilsentitiesmanager)
```

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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