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 Traits

Eloquent Traits Laravel Package

ponich/eloquent-traits

A collection of reusable traits for Laravel Eloquent models that helps cut boilerplate by adding common model behaviors through simple trait imports, keeping your codebase cleaner and more consistent.

View on GitHub
Deep Wiki
Context7

ponich/eloquent-traits bundles a set of reusable Eloquent traits that strip repetitive boilerplate out of your Laravel models. Add a single trait to a model and immediately gain common behavior — unique identifiers, generated slugs, sortable records, publish states — with sensible defaults and minimal configuration.

  • UUID support — drop-in trait for unique, non-sequential primary keys
  • Slug generation — SEO-friendly URLs created automatically from a source attribute
  • Sortable records — ordering with simple move up/down helpers
  • Publishing states — ready-made scopes for published/unpublished queries
  • Composable — traits are independent and combine cleanly on one model
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource