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
Laravel Bitflags

Laravel Bitflags Laravel Package

aw-studio/laravel-bitflags

Laravel Bitflags stores multiple boolean flags in a single integer column. It provides an Eloquent cast for toggling, checking, and querying bitwise options without extra database columns.

View on GitHub
Deep Wiki
Context7

Laravel Bitflags stores multiple boolean flags in a single integer column on Eloquent models, keeping database schemas lean and flag checks fast. Define named flags once and interact with them through a clean API backed by native bitwise operations—no extra pivot tables or JSON columns required.

  • Define named flags with integer bit values.
  • Attach bitflags to Eloquent models via a reusable trait.
  • Check, set, unset, and toggle flags with expressive methods.
  • Persist all flags in one integer database column.
  • Keep flag logic centralized and easy to read.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core