Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Eloquent Mutators Laravel Package

awobaz/eloquent-mutators

Add get and set mutators to Eloquent attributes without boilerplate accessor methods. Define reusable mutator classes and attach them to model attributes at runtime, keeping models clean and mutator logic reusable across your Laravel projects.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
calhoun/eloquent-otf 0.86 Eloquent OTF lets Laravel developers define Eloquent relationships on the fly, adding hasOne, hasMany, belongsTo, and similar relations without editing model classes. Useful for packages, dynamic dashboards, and flexible apps. It keeps models clean while enabling runtime relationship configuration. 72 72 3 0 0 0.5 — MIT —
View on GitHub
adrolli/eloquent-mutators 0.85 Define reusable Eloquent accessors and mutators outside your models. Apply the same transformation logic across multiple models or multiple attributes on one model using a base model class or a trait, with config and extensible registration via a service provider. 5 5 0 563 0 0.0 27.3 MIT —
View on GitHub
soyhuce/laravel-eloquent-extended 0.85 Soyhuce's Laravel Eloquent Extended adds practical helpers on top of Laravel's ORM, streamlining model definitions, attribute handling and query building so you can write cleaner, more expressive Eloquent code with less boilerplate. 1 1 0 178 0 0.7 27.8 MIT 1 year ago
View on GitHub
imanghafoori/eloquent-relativity 0.85 Laravel package that lets you declare Eloquent relationships without importing related model classes. Relativity infers the target model from the method name, so hasMany, hasOne, belongsTo and belongsToMany calls stay concise and your models keep fewer use statements. 148 148 13 27 1 1.2 1.0 MIT 2 years ago
View on GitHub
n7olkachev/laravel-computed-properties 0.85 Add computed properties to your Laravel Eloquent models, calculated on the fly like accessors but excluded from the database. Keep models lean, reuse derived values across queries and serialization, and write less boilerplate. 187 — 8 — 0 1.2 — — 8 years ago
View on GitHub
pepijnolivier/eloquent-model-generator 0.84 Generate Eloquent model classes directly from your database tables. This Laravel package inspects your schema and scaffolds models with fillable fields, relationships, casts, and docblocks, cutting boilerplate and speeding up development. 91 92 14 0 6 3.4 2.3 MIT 11 months ago
View on GitHub
theriddleofenigma/laravel-model-validation 0.84 Declare validation rules directly on your Eloquent models and have them run automatically on the events you choose, such as saving, creating, or updating. Invalid saves throw Laravel's ValidationException, so no form requests or repeated validator calls are needed. 33 34 5 2K 0 17.0 26.6 MIT 3 months ago
View on GitHub
ac/model-traits 0.84 — 6 6 2 14 0 0.1 6.6 — —
View on GitHub
quarks/laravel-locking 0.84 quarks/laravel-locking brings simple, expressive pessimistic locking to Laravel's Eloquent models, with helpers for exclusive and shared locks so you can safely coordinate concurrent writes and prevent race conditions inside database transactions. 3 3 0 125 1 0.1 20.8 MIT 4 years ago
View on GitHub
codenco-dev/eloquent-model-tester 0.84 Test Eloquent models in Laravel with codenco-dev/eloquent-model-tester. It verifies database table structures, relationships, fillable and guarded fields, and more using factories and the simple HasModelTester trait, helping you catch model issues early with less boilerplate in your test suite. 20 20 1 306 2 16.0 17.9 MIT 5 months ago
View on GitHub
modularavel/favoritable 0.84 A Laravel package that adds polymorphic favoriting to Eloquent models. Attach the trait to let users favorite and unfavorite records, then query favorites through a simple, reusable API for common app features. 1 — 0 — 0 0.3 — MIT 1 year ago
View on GitHub
watheqalshowaiter/model-fields 0.84 Easily add custom fields to Laravel Eloquent models with watheqalshowaiter/model-fields. A simple trait stores dynamic, validated attributes as JSON, letting you extend models without extra migrations or schema changes. 40 39 3 9 0 13.2 1.3 MIT 4 months ago
View on GitHub
likesistemas/eloquent-external 0.84 Eloquent External bridges Laravel's Eloquent ORM with external data sources, letting you define models and relationships against remote APIs or legacy databases using familiar query syntax. It handles the integration layer so external records behave like local Eloquent models. 0 — 0 — 0 0.3 — GPL-3.0 1 year ago
View on GitHub
genealabs/laravel-casts 0.84 GeneaLabs Laravel Casts adds flexible custom attribute casting to Eloquent models, making it easy to map database columns to value objects, DTOs, and other PHP classes. Keeps model code clean and cast logic reusable, testable, and simple to configure. 109 95 11 9K 0 0.8 19.2 MIT 2 years ago
View on GitHub
orkhanahmadov/eloquent-repository 0.84 — 27 27 11 226 2 2.3 14.0 MIT 4 years ago
View on GitHub
milwad/laravel-attributes 0.84 Laravel Attributes lets you configure Eloquent models using native PHP 8 attributes, replacing boilerplate properties and methods for fillable, hidden, casts, accessors, and more. Keep model classes clean, declarative, and easier to scan. 232 230 10 384 0 10.4 6.3 MIT 6 months ago
View on GitHub
brokeyourbike/base-models 0.84 brokeyourbike/base-models provides reusable base Eloquent model classes for Laravel, giving your models sensible defaults for casting, timestamps, and common query behavior. Extend these foundations to keep model code consistent and cut boilerplate across your app. 0 0 0 38 0 0.1 22.0 MPL-2.0 3 years ago
View on GitHub
weebly/laravel-mutate 0.84 — 13 13 10 975 0 29.1 30.0 BSD-2-Clause 1 week ago
View on GitHub
supportpal/eloquent-model 0.84 Eloquent-style base Model for PHP/Laravel to build custom, non-database models. Supports accessors/mutators, attribute casting, guarded/fillable and hidden fields, appended attributes, and easy array/JSON conversion. 0 0 0 911 0 11.8 44.9 — 5 months ago
View on GitHub
pindab0ter/constrained-morph-to-for-laravel 0.83 Type-constrained polymorphic relationships for Laravel Eloquent. Extend morphTo to accept only specified model types, ensuring type safety and data integrity while keeping the flexibility of a polymorphic database structure. 3 3 1 3K 0 17.5 45.9 MIT 2 months ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib