PHPackages                             laramore/types - 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. laramore/types

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

laramore/types
==============

All based instances and interfaces used by Laramore

v0.9.0(5y ago)01.7k1MITPHPPHP &gt;=7.0.8

Since Dec 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/laramore/types)[ Packagist](https://packagist.org/packages/laramore/types)[ RSS](/packages/laramore-types/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (29)Used By (1)

Laramore Types
==============

[](#laramore-types)

Define all basic types, options and operators used by Laramore and its fields

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

[](#installation)

Via composer
------------

[](#via-composer)

In your PHP project, run `composer require laramore/types`.

Usage
=====

[](#usage)

This package is not meant to be used alone. It bundles all used types in different Laramore packages.

Elements
--------

[](#elements)

Elements are a sort of enumeration. They are managed with no specific order and can have different defined values.

### Operator

[](#operator)

An operator represent an SQL operator in a simple way. They are callable by `Operator::equal()` for example which represents an `=` operator.

Some operators can have constraints as a `nullable` value, a `collection` as value and so on.

### OperatorManager

[](#operatormanager)

Manage all operators. Alias `Operator` is usefull to require a specific operator.

### Type

[](#type)

Define a specific type. It is usefull to have the same one definition for a specific type used by fields, migrations, validations, factories.

### TypeManager

[](#typemanager)

Manager all types. Alias `Type` is usefull to get a specific type.

### Option

[](#option)

Define a all option applied on fields. It is usefull to define a specific behavior for a field.

### OptionManager

[](#optionmanager)

Manager all options. Alias `Option` is usefull to get a specific option.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Recently: every ~23 days

Total

28

Last Release

2105d ago

### Community

Maintainers

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

---

Top Contributors

[![NastuzziSamy](https://avatars.githubusercontent.com/u/24639904?v=4)](https://github.com/NastuzziSamy "NastuzziSamy (78 commits)")

---

Tags

laravelmodelfieldfieldsautometaautomatictypesLaramore

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laramore-types/health.svg)

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

###  Alternatives

[kodeine/laravel-meta

Fluent Meta Data for Eloquent Models, as if it is a property on your model.

426756.0k9](/packages/kodeine-laravel-meta)[mmanos/laravel-metable

A meta package for Laravel 4 models.

142.3k](/packages/mmanos-laravel-metable)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

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