PHPackages                             clarkeash/laravel-http-stats - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. clarkeash/laravel-http-stats

ActiveLibrary[HTTP &amp; Networking](/categories/http)

clarkeash/laravel-http-stats
============================

Get access to stats for your http requests

v2.0.0(1y ago)76[4 PRs](https://github.com/clarkeash/laravel-http-stats/pulls)MITPHPPHP ^8.2CI passing

Since Apr 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/clarkeash/laravel-http-stats)[ Packagist](https://packagist.org/packages/clarkeash/laravel-http-stats)[ RSS](/packages/clarkeash-laravel-http-stats/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (7)Used By (0)

Laravel Http Stats
==================

[](#laravel-http-stats)

 [ ![GitHub Workflow Status](https://camo.githubusercontent.com/ab6bee876cdd0486f4f7a4afa9a18f61e7e92e95434e8bc83405dc182a1908b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636c61726b656173682f6c61726176656c2d687474702d73746174732f74657374732e796d6c3f6c6f676f3d676974687562267374796c653d666f722d7468652d6261646765) ](https://github.com/clarkeash/laravel-http-stats/actions?query=workflow%3ACI) [ ![](https://camo.githubusercontent.com/651d3218da2b3d17bfb4b735267816d869a0f651ddddca94bf853ea058dbdbe1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636c61726b656173682f6c61726176656c2d687474702d73746174732e7376673f7374796c653d666f722d7468652d6261646765) ](https://github.com/clarkeash/laravel-http-stats/blob/master/LICENSE) [ ![](https://camo.githubusercontent.com/6580610926d73cf577f4a13bd0e7f857c565213e7686eeb2760741254c12a100/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40636c61726b656173682d626c75652e7376673f7374796c653d666f722d7468652d6261646765) ](https://twitter.com/clarkeash)

Laravel Http Stats gives you access to the transfer stats of HTTP stats performed through Laravels [HTTP Client](https://laravel.com/docs/http-client).

Installation
------------

[](#installation)

You can pull in the package using [composer](https://getcomposer.org):

```
$ composer require clarkeash/laravel-http-stats
```

Usage
-----

[](#usage)

Once you have made a request like so:

```
use Illuminate\Support\Facades\Http;

$response = Http::get('http://test.com');
```

You will now have access to a `stats` method on the `$response` object.

```
$response->stats()->lookup(); // dns time in ms
$response->stats()->connect(); // tcp connection time in ms
$response->stats()->ssl(); // ssl handshake time in ms
$response->stats()->pretransfer(); // Protocol negotiation time in ms
$response->stats()->redirect(); // redirect time in ms
$response->stats()->ttfb(); // time to first byte in ms
$response->stats()->total(); // total time in ms
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance63

Regular maintenance activity

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1708 days

Total

2

Last Release

519d ago

Major Versions

v1.0.0 → v2.0.02024-12-08

PHP version history (2 changes)v1.0.0PHP ^7.3

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/4aa56557de1c571ed78fb23fda585f3fd461425339df673fb293c609a6719c81?d=identicon)[clarkeash](/maintainers/clarkeash)

---

Top Contributors

[![clarkeash](https://avatars.githubusercontent.com/u/1612186?v=4)](https://github.com/clarkeash "clarkeash (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clarkeash-laravel-http-stats/health.svg)

```
[![Health](https://phpackages.com/badges/clarkeash-laravel-http-stats/health.svg)](https://phpackages.com/packages/clarkeash-laravel-http-stats)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[georgeboot/laravel-echo-api-gateway

Use Laravel Echo with API Gateway Websockets

10435.5k](/packages/georgeboot-laravel-echo-api-gateway)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
