PHPackages                             alksily/entity - 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. alksily/entity

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

alksily/entity
==============

Model and Collection classes

1.1(6y ago)0331MITPHPPHP &gt;=7.0

Since Mar 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/alksily/entity)[ Packagist](https://packagist.org/packages/alksily/entity)[ Docs](https://github.com/alksily/entity)[ RSS](/packages/alksily-entity/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Entity
======

[](#entity)

Some parts of the project were influenced by: Laravel, Symfony Framework's. Thank you!

#### Requirements

[](#requirements)

- PHP &gt;= 7.0

#### Installation

[](#installation)

Run the following command in the root directory of your web project:

> `composer require alksily/entity`

#### Usage

[](#usage)

Example use Model and Collection (docs for [collection by laravel](https://laravel.com/docs/5.6/collections))

```
class Car extends Model {
    public $brand = '';
    public $mark = '';
    public $color = '';
}

$cars = collect([
    new Car(['brand' => 'BMW', 'mark' => 'M4', 'color' => 'red']),
    new Car(['brand' => 'BMW', 'mark' => 'X5', 'color' => 'yellow']),
    new Car(['brand' => 'Peel', 'mark' => 'P50', 'color' => 'blue']), // Peel Engineering Company
]);

var_dump($cars);
```

#### Contributing

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

#### License

[](#license)

The Alksily Entity is licensed under the MIT license. See [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

3

Last Release

2410d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5148853?v=4)[Aleksey Ilyin](/maintainers/alksily)[@alksily](https://github.com/alksily)

---

Top Contributors

[![alksily](https://avatars.githubusercontent.com/u/5148853?v=4)](https://github.com/alksily "alksily (5 commits)")

---

Tags

phpmodelcollection

### Embed Badge

![Health badge](/badges/alksily-entity/health.svg)

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

###  Alternatives

[werxe/laravel-collection-macros

Custom Laravel Collection macros.

2625.8k](/packages/werxe-laravel-collection-macros)[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)

PHPackages © 2026

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