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

Spatie Laravel Model States Actions Laravel Package

abather/spatie-laravel-model-states-actions

Add state-based actions to Laravel views with this extension for spatie/laravel-model-states. Define per-state authorization abilities, skip checks when needed, and customize action icons and colors. Includes transition checks via canTransitionTo.

View on GitHub
Deep Wiki
Context7
v1.0.8
  • add formSelectWithAuth.
v1.0.7:
  • add icons to TextEntry and TextColumn.
  • add the ability to display the state without icon by passing true with functions textEntry(without_icon: true), textColumn(without_icon: true), and display(without_icon: true)
  • add action group so you can group the actions and display current state as label.

v1.0.6:

  • include table filters StateFilterService::make(static::getModel())->tableFilter().
  • prevent State from shown in actions even if the authorization disabled based on canTransitionTo() method.
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.
teamzac/geocoder
ideatica/config-writer
keaton-php/pipe-dream
jacksonwebservices/laravel-user-suite
maksimru/conditional-laravel-debugbar
gismatul/nova-support-chat
gismatul/laravel-support-chat
networkrailbusinesssystems/oracle-api
alphabalex/messaging-made-easy
rawphp/warp
shootkiran/merobug
narakode/fineauth
numencode/wn-syncops-plugin
ibnnajjaar/mib-global-pay
ably/pubsub-server
mstfkhazaal/defender
mfonte/base62x
karnoweb/metapilot
tobya/bcsapiwrapper
swalker2/cpanel