PHPackages                             coderjerk/scoro-php - 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. [API Development](/categories/api)
4. /
5. coderjerk/scoro-php

ActiveLibrary[API Development](/categories/api)

coderjerk/scoro-php
===================

Scoro API Client

v0.1.1(3y ago)092↓100%MITPHP

Since Feb 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/danieldevine/scoro-php)[ Packagist](https://packagist.org/packages/coderjerk/scoro-php)[ RSS](/packages/coderjerk-scoro-php/feed)WikiDiscussions main Synced 1mo ago

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

Scoro PHP
=========

[](#scoro-php)

This an unofficial library for interacting with the Scoro Rest API.

### Install

[](#install)

Install with composer.

```
composer require coderjerk/scoro-php
```

### Examples

[](#examples)

Instantiate the class

```
use Coderjerk\ScoroPhp\ScoroPhp;

//add your company account id and api key, which you've stored safely in your env, for example.
$scoro = new ScoroPhp(
    $_ENV['SCORO_COMPANY_ACCOUNT_ID'],
    $_ENV['SCORO_API_KEY'],
);
```

The library provides a fluent interface, allowing you to build your query with method chaining

```
$contacts = $scoro->module('contacts')->action('list')->call();

foreach ($contacts->data as $contact) {
   echo "{$contact->name}";
}
```

Add filters to your query

```
$scoro->module('contacts')
    ->action('list')
    ->filter(['contact_type' => 'company'])
    ->call();

// you can dig in deep by nesting arrays depending on your data/module:

$filters = [
    'contact_type' => 'company',
    'means_of_contact' => [
        'website' => 'www.exampleclienta.co.uk'
    ]
];

$scoro->module('contacts')
    ->action('list')
    ->filter($filters)->call();
```

Use the `id()` method to target a single entity

```
$scoro->module('contacts')
    ->action('view')
    ->id(36)
    ->call();
```

Use the `paginate()` method to set page and per page values

```
$scoro->module('contacts')
    ->action('list')
    ->paginate(10, 2)
    ->call();
```

### Method Reference

[](#method-reference)

All methods are optional bar module which must always be specified. In practice, this applies to action too in the vast majority of cases. End with `call()` to make the request.

MethodAcceptsType`module($module)`The targeted module nameString`action($action)`One of: list, view, modify, deleteString`id($id)`The id of the object you want to target, if available based on the module and actionInt`filter($filters)`[Filters](https://api.scoro.com/api/v2#filters) you wish to applyArray`request($requests)`Items to specify in the request, varies from module to moduleArray`paginate($per_page, $page)`Number of records per page (default 10, capped at 100) and page of results to retrieveInt, Int`lang($lang)`Defaults to 'eng'String`call()`Makes the request.### Reference

[](#reference)

Obviously you'll need a Scoro account to use the API. Read their API Reference for information about restrictions and rate limiting, and details of available endpoints.

[Scoro API Reference](https://api.scoro.com/api/v2)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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 ~0 days

Total

2

Last Release

1190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57a1b0f82fadf970d1068cd30fd72f6e85ea2abe3fc9e3ff082b32381e42db8f?d=identicon)[Coderjerk](/maintainers/Coderjerk)

---

Top Contributors

[![danieldevine](https://avatars.githubusercontent.com/u/5939939?v=4)](https://github.com/danieldevine "danieldevine (5 commits)")

---

Tags

apiphpscoro

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/coderjerk-scoro-php/health.svg)

```
[![Health](https://phpackages.com/badges/coderjerk-scoro-php/health.svg)](https://phpackages.com/packages/coderjerk-scoro-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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