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
Agents
artemyurov/moonshine-db-joblog
claude-code
cursor
job-logging
moonshine
queues
horizon
eloquent
testing
artisan-commands

Laravel package for job queue logging with MoonShine admin panel integration. Tracks job lifecycle, steps, progress, and errors.

Install
php artisan boost:add-skill artemyurov/moonshine-db-joblog

Save this content to: AGENTS.md

# AGENTS.md

> Project map for AI agents. Keep this file up-to-date as the project evolves.

## Project Overview
Laravel package for job queue logging with MoonShine admin panel integration. Tracks job lifecycle, steps, progress, and errors.

## Tech Stack
- **Language:** PHP 8.2+
- **Framework:** Laravel 11.x / 12.x (package)
- **Admin Panel:** MoonShine 4.x
- **Testing:** PHPUnit 10.5+ / 11.0+

## Project Structure
```
src/
├── Commands/               # Artisan commands (cleanup, truncate)
├── Enums/                  # JobLogStatus enum
├── Horizon/                # Horizon integration (tag resolver, Redis repository)
├── Logger/                 # Core logging (JobLogger, DatabaseHandler, JobLoggerStep)
├── Middleware/              # Job middleware (LoggableExceptionAttempts)
├── Models/                 # Eloquent models (JobLog, JobLogStep, JobLogRecord)
├── MoonShine/
│   ├── Pages/              # Custom MoonShine pages
│   ├── Resources/          # MoonShine CRUD resources
│   └── Traits/             # MoonShine helper traits
├── Support/                # Utility classes (JobClassDiscovery, SimpleCliDumper)
├── Traits/                 # Integration traits (Loggable, JobLoggerMethods)
└── JobLogServiceProvider.php  # Service provider (auto-discovered)

config/
└── joblog.php              # Package configuration

database/
└── migrations/             # Three migration files (job_logs, job_log_steps, job_log_records)

lang/
├── en/joblog.php           # English translations
└── ru/joblog.php           # Russian translations

tests/
├── Fixtures/               # Test fixtures (fake jobs, models)
└── *Test.php               # PHPUnit test files
```

## Key Entry Points
| File | Purpose |
|------|---------|
| `src/JobLogServiceProvider.php` | Service provider — registers bindings, migrations, config, commands |
| `src/Traits/Loggable.php` | Main trait users add to their job classes |
| `src/Logger/JobLogger.php` | Core logger that manages job log lifecycle |
| `config/joblog.php` | Package configuration (cleanup, console output, Horizon) |
| `composer.json` | Package definition and dependencies |

## Documentation
| Document | Path | Description |
|----------|------|-------------|
| README (EN) | README.md | English documentation |
| README (RU) | README.ru.md | Russian documentation |

## AI Context Files
| File | Purpose |
|------|---------|
| AGENTS.md | This file — project structure map |
| .ai-factory/DESCRIPTION.md | Project specification and tech stack |
| .ai-factory/ARCHITECTURE.md | Architecture decisions and guidelines |
| CLAUDE.md | Agent instructions and preferences |

AGENTS.md

Project map for AI agents. Keep this file up-to-date as the project evolves.

Project Overview

Laravel package for job queue logging with MoonShine admin panel integration. Tracks job lifecycle, steps, progress, and errors.

Tech Stack

  • Language: PHP 8.2+
  • Framework: Laravel 11.x / 12.x (package)
  • Admin Panel: MoonShine 4.x
  • Testing: PHPUnit 10.5+ / 11.0+

Project Structure

src/
├── Commands/               # Artisan commands (cleanup, truncate)
├── Enums/                  # JobLogStatus enum
├── Horizon/                # Horizon integration (tag resolver, Redis repository)
├── Logger/                 # Core logging (JobLogger, DatabaseHandler, JobLoggerStep)
├── Middleware/              # Job middleware (LoggableExceptionAttempts)
├── Models/                 # Eloquent models (JobLog, JobLogStep, JobLogRecord)
├── MoonShine/
│   ├── Pages/              # Custom MoonShine pages
│   ├── Resources/          # MoonShine CRUD resources
│   └── Traits/             # MoonShine helper traits
├── Support/                # Utility classes (JobClassDiscovery, SimpleCliDumper)
├── Traits/                 # Integration traits (Loggable, JobLoggerMethods)
└── JobLogServiceProvider.php  # Service provider (auto-discovered)

config/
└── joblog.php              # Package configuration

database/
└── migrations/             # Three migration files (job_logs, job_log_steps, job_log_records)

lang/
├── en/joblog.php           # English translations
└── ru/joblog.php           # Russian translations

tests/
├── Fixtures/               # Test fixtures (fake jobs, models)
└── *Test.php               # PHPUnit test files

Key Entry Points

File Purpose
src/JobLogServiceProvider.php Service provider — registers bindings, migrations, config, commands
src/Traits/Loggable.php Main trait users add to their job classes
src/Logger/JobLogger.php Core logger that manages job log lifecycle
config/joblog.php Package configuration (cleanup, console output, Horizon)
composer.json Package definition and dependencies

Documentation

Document Path Description
README (EN) README.md English documentation
README (RU) README.ru.md Russian documentation

AI Context Files

File Purpose
AGENTS.md This file — project structure map
.ai-factory/DESCRIPTION.md Project specification and tech stack
.ai-factory/ARCHITECTURE.md Architecture decisions and guidelines
CLAUDE.md Agent instructions and preferences
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.
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
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console