Download the PHP package glugox/actions without Composer
On this page you can find all versions of the php package glugox/actions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download glugox/actions
More information about glugox/actions
Files in glugox/actions
Package actions
Short Description Glugox Actions: Actions for Laravel with progress tracking and broadcasting.
License MIT
Informations about the package actions
Glugox/Actions
Nova-like Actions for Laravel apps with progress tracking and broadcasted live updates (works great with Reverb/Echo).
- Define actions as simple classes.
- Run sync or queued.
- Track progress in
action_runstable. - Broadcast
ActionProgressUpdatedso your UI shows live progress.
Installation
Configure Broadcasting (optional but recommended)
Enable a broadcast driver (e.g., Reverb, Pusher) in your app's .env. Example (Reverb):
Defining an Action
Triggering via HTTP
POST actions/run with:
Response includes the run_id. Subscribe to the broadcast channel to get progress events:
Triggering programmatically
Security
By default, any fully-qualified class implementing Contracts\Action can be invoked.
You can restrict allowed actions by configuring actions.allowed in config/actions.php.
Events & Channels
Event: Glugox\Actions\Events\ActionProgressUpdated
Channel: private-action-run.{id} (configurable).
Make sure you define the channel authorization callback in your app's routes/channels.php:
Testing
All versions of actions with dependencies
illuminate/support Version ^12.0
illuminate/bus Version ^12.0
illuminate/queue Version ^12.0
illuminate/events Version ^12.0
illuminate/database Version ^12.0
illuminate/broadcasting Version ^12.0
illuminate/routing Version ^12.0