The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

Clockwork

itsgoingd/clockwork image

Clockwork stats

Downloads
12.7M
Stars
5,198
Open Issues
60
Forks
305

View on GitHub →

php dev tools in your browser

Clockwork: Laravel Development Tool

Clockwork is a comprehensive browser-based development tool for PHP, designed to provide detailed insights into your Laravel application's runtime. It captures a wide range of data including request details, performance metrics, log entries, database and cache queries, and much more across HTTP requests, commands, queue jobs, and tests.

Key Features

  • Data Collection: Automatically captures and stores crucial data when the application is in debug mode. Configurable settings allow for selective data collection based on request type, response time, and more.
  • Viewing Data:
    • Web Interface: Accessible via the /clockwork route, offering a detailed view of all requests.
    • Browser Extensions: Available for Chrome and Firefox, integrating directly into the developer tools.
    • Toolbar: Displays basic request information directly in your application, with minimal setup required.
  • Advanced Logging: Utilize the clock() helper function for in-depth logging of variables, supporting various data types and log levels.
  • Timeline: Visualize application processes and performance with start, end, and duration markers, enhancing the debugging and profiling process.

Installation

Install Clockwork with Composer:

$ composer require itsgoingd/clockwork

Post-installation, you may publish the configuration file using:

$ php artisan vendor:publish

Note: Refresh the Laravel route cache if it's in use by running php artisan route:cache.

Usage

Upon installation, Clockwork is ready to collect data for debugging and performance monitoring. Enable specific features like command or queue job profiling by adjusting the settings in the published configuration file.

For more detailed installation and configuration instructions, visit the Clockwork website.

Clockwork is a powerful ally for developers aiming to optimize and debug their applications efficiently, providing a robust suite of tools right in the browser.

itsgoingd photo

webdev underground


Itsgoingd Clockwork Related Articles

Eloquent Performance: 4 Examples of N+1 Query Problems image

Eloquent Performance: 4 Examples of N+1 Query Problems

Read article
Output Eloquent Builder SQL to Your Favorite Debugging Tool image

Output Eloquent Builder SQL to Your Favorite Debugging Tool

Read article
Some Laravel Podcasts for your holiday break image

Some Laravel Podcasts for your holiday break

Read article
Clockwork v5.0 is released image

Clockwork v5.0 is released

Read article
Query Tracer Package image

Query Tracer Package

Read article
PHP Developer Chrome Extensions image

PHP Developer Chrome Extensions

Read article
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review