phpunit/php-timer
Lightweight timing utility extracted from PHPUnit. Start/stop a timer to get a Duration with formatted time plus seconds, milliseconds, microseconds, and nanoseconds. Includes resource usage formatting (time + memory) for a measured block or since request start.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpbench/phpbench | 0.87 | PHPBench is a benchmark runner for PHP, analogous to PHPUnit but measuring performance rather than correctness. It repeats code, samples iterations in isolated processes, and offers customizable reports, baseline storage and comparison, memory tracking, and assertions to catch regressions. | 2,028 | 2,022 | 132 | 672K | 29 | 46.1 | 52.8 | MIT | 4 months ago | |
| phpunit/php-text-template | 0.84 | A tiny, dependency-free templating library used internally by PHPUnit. Render text with {placeholder} syntax using an associative array of values. Battle-tested and simple, it suits report generation, log formatting, and other human-readable output where a full template engine would be overkill. | 7,425 | 7,438 | 30 | 26M | 1 | 45.4 | 56.9 | BSD-3-Clause | 1 month ago | |
| janiaje/benchmark | 0.84 | A lightweight benchmarking toolkit for Laravel and PHP applications. Measure execution time, compare code snippets, and profile performance with a simple, expressive API. Includes helpers for timing closures, database queries, and custom benchmarks, plus formatted reports to help you spot bottleneck... | 16 | 16 | 2 | 3K | 0 | 0.1 | 30.2 | MIT | 3 years ago | |
| povils/phpmnd | 0.84 | PHPMND detects magic numbers in PHP code to improve readability and maintainability. Flags numeric literals that should be constants (0 and 1 ignored by default). Install via Composer and run vendor/bin/phpmnd locally or globally in CI and dev workflows. | 585 | 588 | 47 | 149K | 12 | 21.4 | 42.1 | MIT | 8 months ago | |
| diablomedia/phpunit-pretty-printer | 0.84 | A drop-in PHPUnit result printer that swaps the default console output for colorful, readable test results. See test progress, failures, exception diffs, and timing at a glance, with configurable verbosity for CI and local runs. | 77 | — | 14 | — | 2 | 1.5 | 1.1 | MIT | 4 years ago |
|
| johnkary/phpunit-speedtrap | 0.84 | PHPUnit SpeedTrap reports slow tests and slow test suites so you can find and fix performance bottlenecks. Set a time threshold and it flags any test exceeding it, helping keep your suite fast. | 778 | — | 61 | — | 18 | 11.9 | 9.3 | MIT | 5 years ago |
|
| phpmetrics/phpmetrics | 0.84 | PhpMetrics is a static analysis tool for PHP that computes metrics for projects and classes and generates beautiful, readable HTML reports. Install it via Composer, run the binary against any folder, and explore complexity, maintainability, and quality insights right in your browser. | 2,617 | 2,620 | 261 | 444K | 2 | 46.4 | 35.8 | MIT | 2 months ago | |
| athletic/athletic | 0.84 | Athletic is a PHP task runner and build tool that uses YAML to define repeatable commands (test, lint, deploy, release) and run them locally or in CI. Simple, framework-agnostic, and easy to add to any project to standardize workflows. | 295 | 317 | 13 | 719 | 14 | 6.2 | 12.9 | — | — | |
| php-mock/php-mock-phpunit | 0.83 | Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. | 173 | 176 | 20 | 236K | 4 | 28.3 | 51.3 | WTFPL | 1 month ago | |
| phperf/phpunit | 0.83 | phperf/phpunit is a lightweight PHPUnit extension aimed at profiling and performance measurement during test runs. Add simple hooks to capture timing and resource usage so you can spot slow tests and track performance regressions over time. | 0 | 0 | 0 | 193 | 0 | 0.9 | 31.2 | NOASSERTION | 4 years ago | |
| php-http/stopwatch-plugin | 0.83 | Symfony Stopwatch integration for HTTPlug: wraps HTTP client requests in a plugin to measure request/response timings and profiling data via Symfony’s Stopwatch component. Install with Composer and use alongside other php-http plugins. | 267 | 267 | 5 | 334K | 1 | 6.1 | 43.4 | MIT | 10 months ago | |
| robiningelbrecht/phpunit-coverage-check | 0.83 | PHPUnit Coverage Check is a lightweight PHP tool to verify code coverage meets a required minimum. It reads PHPUnit coverage reports and fails builds when thresholds aren’t reached—useful for CI pipelines to enforce coverage standards in Laravel and PHP projects. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| phpunit/php-invoker | 0.83 | phpunit/php-invoker is a small utility for safely invoking callables with time limits. Commonly used by PHPUnit to run tests and other code with a timeout, helping prevent hangs while keeping execution and error handling predictable. | 1,352 | 1,359 | 18 | 15M | 1 | 13.8 | 58.2 | BSD-3-Clause | 9 months ago | |
| volt-test/php-sdk | 0.83 | A PHP SDK for integrating Volt Test into PHP and Laravel applications, offering a clean client for API requests, authentication, typed responses, and error handling so teams can add testing workflows quickly. | 55 | — | 1 | — | 2 | 17.8 | — | MIT | 1 month ago | |
| comsolit/clock-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 4 | 1.0 | 0.8 | — | — | |
| recca0120/async-testing | 0.82 | A Laravel/PHP testing helper for asynchronous code. recca0120/async-testing offers utilities to write and run tests around async flows, making it easier to validate non-blocking behavior and keep async test suites readable and reliable. | 63 | — | 4 | — | 0 | 0.8 | — | MIT | 2 years ago | |
| php-mock/php-mock | 0.82 | Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). | 370 | 375 | 19 | 726K | 3 | 13.0 | 47.8 | WTFPL | 9 months ago | |
| desarrolla2/timer | 0.82 | Lightweight PHP timer utility for measuring execution time. Start/stop laps, track multiple timers, and get elapsed time for profiling and benchmarking small code sections. Suitable for quick performance checks during development. | 4 | 5 | 1 | 201 | 0 | 0.1 | 22.3 | MIT | — | |
| spatie/phpunit-watcher | 0.82 | Automatically rerun PHPUnit tests whenever your code changes. Run phpunit-watcher watch to execute and re-execute tests on edits in app/src/tests. Supports passing through PHPUnit arguments (e.g. --filter) and works as a global tool or dev dependency. | 875 | 883 | 75 | 344K | 0 | 19.1 | 36.9 | MIT | 10 months ago | |
| symfony/stopwatch | 0.82 | Symfony Stopwatch profiles PHP code: start and stop named events, group them into sections, and record lap times to measure where execution time goes. Install via Composer. | 2,813 | 2,828 | 15 | 13M | 0 | 36.2 | 55.7 | MIT | 5 months ago |
How can I help you explore Laravel packages today?