cline/morphism

Reusable polymorphic key mapping for Laravel packages

Maintainers

👁 faustbrian

Package info

github.com/faustbrian/morphism

pkg:composer/cline/morphism

Statistics

Installs: 15 241

Dependents: 6

Suggesters: 0

Stars: 0

Open Issues: 0

2.0.3 2026-03-18 16:45 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 2d83a10e8e2526e0f3a90385953ade71bcadc0b0

  • Brian Faust <brian.woop@cline.sh>

phpuuidlaraveleloquentpolymorphicmorphulid

This package is auto-updated.

Last update: 2026-06-04 06:55:30 UTC


README

👁 GitHub Workflow Status
👁 Latest Version on Packagist
👁 Software License
👁 Total Downloads

Reusable polymorphic key mapping for Laravel packages. Provides a central registry to manage which primary key column (id, uuid, ulid) each model uses in polymorphic relationships.

Requirements

Requires PHP 8.4+ and Laravel 12+

Installation

composer require cline/morphism

Documentation

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.