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-atom
anourvalar/laravel-atom
claude-code
atom-facade
pessimistic-locking
database-transactions
transaction-hooks
race-conditions

Use this skill whenever you encounter the static \Atom class (facade) in the codebase.

Install
php artisan boost:add-skill anourvalar/laravel-atom

Save this content to: .claude/skills/atom-facade/SKILL.md

# Laravel Atom: Atom class

## When to use this skill

Use this skill whenever you encounter the static \Atom class (facade) in the codebase.

## Features

- Atom::lock() and Atom::lock<pattern>() implement a pessimistic lock by key to prevent race conditions.

- Atom::beforeCommit() registers a hook executed before a DB transaction commit.

- Atom::onCommit() registers a hook executed after a DB transaction is successfully committed.

- Atom::onRollBack() registers a hook executed after a DB transaction rollback.

Laravel Atom: Atom class

When to use this skill

Use this skill whenever you encounter the static \Atom class (facade) in the codebase.

Features

  • Atom::lock() and Atom::lock() implement a pessimistic lock by key to prevent race conditions.

  • Atom::beforeCommit() registers a hook executed before a DB transaction commit.

  • Atom::onCommit() registers a hook executed after a DB transaction is successfully committed.

  • Atom::onRollBack() registers a hook executed after a DB transaction rollback.

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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log