spatie/laravel-model-flags

Add flags to Eloquent models

PHPlaraveleloquentmodelflags
This is stars and forks stats for /spatie/laravel-model-flags repository. As of 09 May, 2024 this repository has 377 stars and 17 forks.

Add flags to Eloquent models This package offers a trait that allows you to add flags to an Eloquent model. These can be used to quickly save the state of a process, update, migration, etc... to a model, without having to add an additional column using migrations. $user->hasFlag('receivedMail'); // returns false $user->flag('receivedMail'); // flag the user as having received the mail $user->hasFlag('receivedMail'); // returns true It also provides scopes to quickly query all models with...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
ClickCyber/cve-2022-42889PHP380140
FriendsOfPHP/well-known-implementationsPHP72010
splitbrain/dokuwikiPHPJavaScriptCSS3.8k08310
ahkarami/Deep-Learning-in-Production4.1k06780
beerandcodeteam/olw-iacHCLShellDockerfile4080
alexjustesen/speedtest-trackerPHPOther1.3k0490
surgiie/transformerPHP121080
drud/ddevGoPHPShell2k05020
MadhushaPrasad/Diagon-AlleyHackCSSPHP12+321+3
appmode/nagiosplugins-phpRacketPHPShell0010