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
00 Laravel Logging
jooservices/laravel-logging
cursor
activity-log
mongodb
adapters
repositories
queue
artisan-commands
sanitization

Laravel logging package rules

Install
php artisan boost:add-skill jooservices/laravel-logging

Save this content to: .cursor/rules/00-laravel-logging.mdc

- MongoDB collection `activity_logs` is the only v1 storage target.
- Adapters are stateful and resolved fresh from `LogAdapterRegistry`.
- Do not add concrete adapter methods to `ActivityLogManagerInterface`.
- DTOs should extend `JOOservices\Dto\Core\Dto` where they carry structured log data.
- Repositories must follow `jooservices/laravel-repository` patterns.
- `queue(...)->dispatch()` is async; `sync()->dispatch()` and `save()` are sync.
- Runtime operations are command-based: `activity-log:indexes`,
  `activity-log:doctor`, `activity-log:prune`, and `activity-log:export`.
- Sanitization must run before payload limiting for persisted payload fields.
- `composer run check` is the normal local gate; `composer run ci` is the
  coverage gate.
- Keep JSON, YAML, Markdown, and PHP files readable and multi-line.
- Use `master` and `develop` as the only long-lived branches; do not use `main`.
  • MongoDB collection activity_logs is the only v1 storage target.
  • Adapters are stateful and resolved fresh from LogAdapterRegistry.
  • Do not add concrete adapter methods to ActivityLogManagerInterface.
  • DTOs should extend JOOservices\Dto\Core\Dto where they carry structured log data.
  • Repositories must follow jooservices/laravel-repository patterns.
  • queue(...)->dispatch() is async; sync()->dispatch() and save() are sync.
  • Runtime operations are command-based: activity-log:indexes, activity-log:doctor, activity-log:prune, and activity-log:export.
  • Sanitization must run before payload limiting for persisted payload fields.
  • composer run check is the normal local gate; composer run ci is the coverage gate.
  • Keep JSON, YAML, Markdown, and PHP files readable and multi-line.
  • Use master and develop as the only long-lived branches; do not use main.
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib