Weave Code
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

Clockwork Laravel Package

itsgoingd/clockwork

Clockwork is a browser-based dev tool for PHP/Laravel that profiles your app in real time. Inspect request data, performance, logs, database/cache/Redis queries, events, views, commands, queue jobs and tests—all from a clean timeline UI.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Excellent fit for Laravel and other PHP frameworks (Slim, Vanilla). Middleware-based integration into request lifecycle with minimal code changes. Supports modern PHP stacks including Laravel Octane and Redis storage. Designed for development environments, not production.
  • Integration feasibility: High. Simple Composer install, optional config publishing via Artisan. Browser extension and toolbar require trivial setup. Laravel-specific steps are well-documented with minimal friction.
  • Technical risk: Critical security risk if enabled in production (v5.2.0 added domain restrictions but requires explicit configuration). Performance impact possible if collecting excessive data (e.g., full stack traces for all requests). SQL storage has known edge cases (e.g., backup table issues), though recent fixes mitigate most.
  • Key questions: How will environment-specific configurations be enforced (e.g., automatic disable in prod)? What storage backend is optimal for team scale? How to integrate with existing observability tools (e.g., Datadog)? What guardrails prevent accidental production exposure?

Integration Approach

  • Stack fit: Native compatibility with Laravel 5.5+ (including Octane), PHP 7.4+, and modern testing frameworks (PHPUnit 10, Pest 2). Works seamlessly with common tooling like Redis, PostgreSQL, and Twig. Browser extension integrates directly with Chrome/Firefox DevTools.
  • Migration path: Zero-code migration. Add package via Composer, publish config, set CLOCKWORK_ENABLE=false in production. For existing projects, enable only in dev environments via .env configuration. No code refactoring needed for core features.
  • Compatibility: Fully supports PHP 8.1+ (with deprecation fixes), Laravel 9, and recent database drivers. Known compatibility issues resolved in v5.1.10+ (e.g., Eloquent strict mode, Doctrine 3.x). Avoids PSR/log conflicts since v5.1.5.
  • Sequencing: 1) Install via Composer, 2) Configure environment-specific settings (e.g., CLOCKWORK_ENABLE), 3) Enable only desired data sources (e.g., DB queries, logs), 4) Deploy browser extension to team, 5) Validate in staging before developer rollout.

Operational Impact

  • Maintenance: Low effort. Actively maintained with frequent releases (12+ in 2024). MIT license removes licensing overhead. Minimal config maintenance required; most updates are backward-compatible. Storage cleanup issues (e.g., Octane) are quickly patched.
  • Support: Strong community support via GitHub (5932 stars). Documentation is comprehensive on underground.works/clockwork. Critical bugs resolved within days (e.g., security fixes in v5.2.0). No commercial support but proven issue resolution track record.
  • Scaling:
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation