spatie/laravel-model-flags
Add lightweight flags to Eloquent models without extra columns. Set and check flags, then query with handy flagged/notFlagged scopes. Ideal for idempotent, restartable jobs and commands (e.g., send a mail only once per user).
spatie/laravel-feature-flags may be better for production-grade toggles).User::notFlagged('processed')->update(...)).spatie/laravel-activitylog or JSON columns).spatie/laravel-permission).spatie/laravel-feature-flags or tightenco/ziggy).flags column; consider indexed columns for high-scale apps).For Executives: "This package lets us add ‘tags’ or ‘states’ to user records (e.g., ‘email_sent’, ‘verified’) without writing migrations or complex code. It’s perfect for making our background jobs and workflows reliable and restartable—like pausing a bulk email send and resuming later without duplicates. Think of it as ‘sticky notes’ for our database records, but automated. It’s lightweight, maintained by a trusted Laravel vendor, and saves dev time on boilerplate."
For Engineers:
*"Spatie’s laravel-model-flags gives us a zero-migration way to add flags to Eloquent models using a flags column (stored as a JSON array). Key benefits:
User::notFlagged('processed')->each(...)).User::flagged('active')).How can I help you explore Laravel packages today?