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

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


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
PhpStorm logo

PhpStorm

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

PhpStorm
Blastup logo

Blastup

Blastup provides social media enhancement services including buying Instagram likes, followers, and views, with features like instant delivery and a variety of packages to suit different needs.

Blastup
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Laravel Cloud logo

Laravel Cloud

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

Laravel Cloud
LoadForge logo

LoadForge

Scalable load testing for web apps & APIs. Simulate real-world traffic and identify breaking points and performance limits with powerful, scalable load tests designed for Laravel.

LoadForge
Shift logo

Shift

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

Shift