PHPackages                             acacha/names - 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. acacha/names

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

acacha/names
============

Provides alternative names to Laravel models.

0.2.1(9y ago)01.8kPHP

Since Nov 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/acacha/names)[ Packagist](https://packagist.org/packages/acacha/names)[ RSS](/packages/acacha-names/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Provides alternatives names to Laravel 5 models.

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

[](#installation)

```
composer require acacha/names
```

### Migrations

[](#migrations)

Run:

```
php artisan migrate
```

To add **names** table to you Laravel project. Is not necessary to modify existent Model tables to add alternatives names to an existing model.

Use
---

[](#use)

Basically this package uses Laravel polymorphic-relations ([1](https://laravel.com/docs/5.3/eloquent-relationships#polymorphic-relations)) to add alternative names to models.

You only have to add trait **Acacha\\Names\\Nameable** to you model:

```
class MyModel extends Model {
    use Nameable;
    ...
}
```

This will add polimorphic relation **names()** that gives access to alternative model names:

```
mymodel->names();
```

Specifications
--------------

[](#specifications)

Table **names**

Columns:

- id
- shortname: Model/resource short name.
- fullname: resource fullname.
- nickname: resource nickname.
- code: resource code.
- description: resource description.
- notes: resource notes.
- nameable\_type : nameable object class
- nameable\_id: nameable object id

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

3451d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2d6b3764878ff9fcb0b42e2f6e3a6680b8ea9f7ea4f73028559df7d60f1be78?d=identicon)[acacha](/maintainers/acacha)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/acacha-names/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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