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

AbandonedArchivedLibrary[API Development](/categories/api)

thcolin/senscritique-api
========================

11391PHP

Since Feb 8Pushed 9y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

SensCritique API
================

[](#senscritique-api)

[![Build Status](https://camo.githubusercontent.com/eb6a97531035c76e7d5be8235da8332935a95382eb418aa9089cb04779f9d1ed/68747470733a2f2f7472617669732d63692e6f72672f7468636f6c696e2f73656e7363726974697175652d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/thcolin/senscritique-api)[![Code Climate](https://camo.githubusercontent.com/a41790bce999f3f3332b8e7064ba6d1eea9085e6f3832859df44efbce6f15c34/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7468636f6c696e2f73656e7363726974697175652d6170692f6261646765732f6770612e737667)](https://codeclimate.com/github/thcolin/senscritique-api)[![Test Coverage](https://camo.githubusercontent.com/f9f4ff37eaa3b08740e3fb91ebd92b6e41c0c9aa4f8ce06630d93ae5ea0c4e82/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7468636f6c696e2f73656e7363726974697175652d6170692f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/thcolin/senscritique-api/coverage)

PHP Library to call basics usage of SensCritique website by curl and dom parsing

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

[](#installation)

Install with composer :

```
composer require thcolin/senscritique-api

```

Example :
---------

[](#example-)

Create a new `Client` object :

```
use thcolin\SensCritiqueAPI\Client;

$client = new Client();

$user = $client -> getUser('Plug_In_Papa');
$collection = $user -> getCollection();

$movie = $collection[0];
echo $movie -> getTitle();
print_r($movie -> serialize());

$tvshow = $client -> getArtwork(438579);
echo $tvshow -> getStoryline();
print_r($tvshow -> serialize());

$lists = $user -> getLists();
$bestMovies = $lists['bestMovies'];
$movie = $bestMovies[0];

$list = $client -> getList(455329);
$best2016Movie = $list[0];
```

Check `tests/ClientTests` for more

Cool
----

[](#cool)

- Beautiful `DynamicArray` class which load page dynamically
- Gorgeous `Selection` class which get all the pages asynchronously (much faster ❤️ )

TODO
----

[](#todo)

- Implement `Client` method `searchArtwork`, but only "next page" available, not latest
- Add log (and levels) on `API` and other `Core` or `src` class
- Add stress tests (how much `Artwork` can the API handle ?)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9131757?v=4)[Thomas Colin](/maintainers/thcolin)[@thcolin](https://github.com/thcolin)

---

Top Contributors

[![thcolin](https://avatars.githubusercontent.com/u/9131757?v=4)](https://github.com/thcolin "thcolin (17 commits)")

### Embed Badge

![Health badge](/badges/thcolin-senscritique-api/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)[emartech/emarsys-magento2-extension

Magento2 integration for the Emarsys Marketing Platform

14273.9k](/packages/emartech-emarsys-magento2-extension)

PHPackages © 2026

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