Jump24 - Laravel Developers that Click into Place. Never outsourced. Never offshored. Always exceptional.

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

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
DreamzTech logo

DreamzTech

Hire 6-10+ Yrs. experienced skilled Laravel Developers from DreamzTech. We ensure NDA protected, 100% quality delivery. Contact Us & Discuss Your Need.

DreamzTech
Honeybadger logo

Honeybadger

Simple developer-focused application monitoring for Laravel. Error tracking, log management, uptime monitoring, status pages, and more!

Honeybadger
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
Laravel Cloud logo

Laravel Cloud

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

Laravel Cloud
CodeKudu logo

CodeKudu

Stand-ups, Retrospectives, and 360° Feedback for the entire team. 50% off with code LARAVELNEWS.

CodeKudu