Libraries tagged by traits
nette/robot-loader
42083264 Downloads
🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.
spatie/macroable
38096198 Downloads
A trait to dynamically add methods to a class
spatie/laravel-translatable
13924432 Downloads
A trait to make an Eloquent model hold translations
phpstan/phpstan-deprecation-rules
42977393 Downloads
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
mpdf/psr-log-aware-trait
14130954 Downloads
Trait to allow support of different psr/log versions.
watson/validating
2626011 Downloads
Eloquent model validating trait.
tightenco/parental
539043 Downloads
A simple eloquent trait that allows relationships to be accessed through child models.
nicolaslopezj/searchable
2075250 Downloads
Eloquent model search trait.
knplabs/doctrine-behaviors
10684284 Downloads
Doctrine Behavior Traits
calebporzio/parental
2223727 Downloads
A simple eloquent trait that allows relationships to be accessed through child models.
kkszymanowski/traitor
3855759 Downloads
Add a trait use statement to existing PHP class
cybercog/laravel-ban
489319 Downloads
Laravel Ban simplify blocking and banning Eloquent models.
yadakhov/insert-on-duplicate-key
2590906 Downloads
A trait for MySQL INSERT ON DUPLICATE KEY UPDATE.
wildside/userstamps
1097479 Downloads
Laravel Userstamps provides an Eloquent trait which automatically maintains `created_by` and `updated_by` columns on your model, populated by the currently authenticated user in your application.
spatie/php-cloneable
347316 Downloads
A trait that allows you to clone readonly properties in PHP 8.1