PHPackages                             m1guelpf/sqreen-api - 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. m1guelpf/sqreen-api

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

m1guelpf/sqreen-api
===================

PHP Client for the Sqreen API

v1.0(8y ago)1161[1 PRs](https://github.com/m1guelpf/php-sqreen-api/pulls)MPL-2.0PHPPHP ^5.5|^7.0

Since May 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/m1guelpf/php-sqreen-api)[ Packagist](https://packagist.org/packages/m1guelpf/sqreen-api)[ Docs](https://github.com/m1guelpf/php-sqreen-api)[ RSS](/packages/m1guelpf-sqreen-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

PHP Sqreen API Client
=====================

[](#php-sqreen-api-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f349701daa4c1894df8281be37a24fbb9aaf2b14c846333ffb92ffd6a898d06a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d316775656c70662f73717265656e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/sqreen-api)[![Software License](https://camo.githubusercontent.com/53b5a2fbbd0debf4932bc6007f215145c5a40ecc11fe60bf076311da7e1597b0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d316775656c70662f7068702d73717265656e2d6170692e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/87fc2c0906684be5cff4128c0042e49c70a1e6c6968a8e3910dfbeced7c5edb5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d316775656c70662f7068702d73717265656e2d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/m1guelpf/php-sqreen-api)[![Total Downloads](https://camo.githubusercontent.com/1bba163257dcf61fd08c7497fcf0875e4829bbc43e9a9bc8932ee2687eb10710/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d316775656c70662f73717265656e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/sqreen-api)

This package makes it easy to interact with [the Sqreen API](https://doc.sqreen.io/reference).

Requirements
------------

[](#requirements)

This package requires PHP &gt;= 5.5.

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

[](#installation)

You can install the package via composer:

```
composer require m1guelpf/sqreen-api
```

Usage
-----

[](#usage)

You must pass a Guzzle client and the API token to the constructor of `M1guelpf\SqreenAPI\Sqreen`.

```
$sqreen = new \M1guelpf\SqreenAPI\Sqreen('YOUR_SQREEN_API_TOKEN');
```

or you can skip the token and use the `connect()` method later

```
$sqreen = new \M1guelpf\SqreenAPI\Sqreen();

$sqreen->connect('YOUR_SQREEN_API_TOKEN');
```

### Get Email info

[](#get-email-info)

```
$sqreen->emails($email);
```

### Get IP info

[](#get-ip-info)

```
$sqreen->ips($ip);
```

### Get the Guzzle Client

[](#get-the-guzzle-client)

```
$sqreen->getClient();
```

### Set the Guzzle Client

[](#set-the-guzzle-client)

```
$client = new \GuzzleHttp\Client(); // Example Guzzle client
$sqreen->setClient($client);
```

where $client is an instance of `\GuzzleHttp\Client`.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Miguel Piedrafita](https://github.com/m1guelpf)
- [All Contributors](../../contributors)

License
-------

[](#license)

The Mozilla Public License 2.0 (MPL-2.0). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

Unknown

Total

1

Last Release

3277d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23558090?v=4)[Miguel Piedrafita](/maintainers/m1guelpf)[@m1guelpf](https://github.com/m1guelpf)

---

Top Contributors

[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (2 commits)")[![arnaudbreton](https://avatars.githubusercontent.com/u/1361191?v=4)](https://github.com/arnaudbreton "arnaudbreton (1 commits)")

---

Tags

apiclientguzzlephpsqreenm1guelpfsqreensqreen-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/m1guelpf-sqreen-api/health.svg)

```
[![Health](https://phpackages.com/badges/m1guelpf-sqreen-api/health.svg)](https://phpackages.com/packages/m1guelpf-sqreen-api)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[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)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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