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 today

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 52% 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

3402d 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

[nickurt/laravel-akismet

Akismet for Laravel 11.x &amp; 12.x

98135.0k2](/packages/nickurt-laravel-akismet)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.2k](/packages/imanghafoori-laravel-anypass)[binshops/laravel-ticket

A simple ticketing system for Laravel 5.1 – 5.8 and 6.\* - 7.\* - 8.\* - 9.\* - 10.\* -which integrates smoothly with Laravel default users and auth system

261.0k](/packages/binshops-laravel-ticket)[mozhuilungdsuo/livewire-bootstrap-modal

Dynamic Laravel Livewire 3 Bootstrap modals.

104.5k](/packages/mozhuilungdsuo-livewire-bootstrap-modal)

PHPackages © 2026

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