PHPackages                             dayrev/smmry-sdk-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. dayrev/smmry-sdk-php

ActiveLibrary[API Development](/categories/api)

dayrev/smmry-sdk-php
====================

PHP SDK for Smmry Text Summarization API.

v1.2.1(9y ago)11502[1 PRs](https://github.com/dayrev/smmry-sdk-php/pulls)MITPHPPHP ^7.0CI failing

Since Jan 27Pushed 3y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Smmry PHP SDK
=============

[](#smmry-php-sdk)

[![Build Status](https://camo.githubusercontent.com/6e94a726dfc3657543629c412b3a64329f330d2d4f1027ff9cbd293e8921b87d/68747470733a2f2f7472617669732d63692e6f72672f6461797265762f736d6d72792d73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dayrev/smmry-sdk-php)[![Coverage Status](https://camo.githubusercontent.com/92c40c9585775acc71a9c58b9bf89ca6fe87377648e52a0189f1bf001b2c5154/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6461797265762f736d6d72792d73646b2d7068702f62616467652e737667)](https://coveralls.io/github/dayrev/smmry-sdk-php)[![Latest Stable Version](https://camo.githubusercontent.com/fd4a29bab13944316562613b9d754ce8bc3a0ce5f0d1e7ecc830dc86eb4ebc95/68747470733a2f2f706f7365722e707567782e6f72672f6461797265762f736d6d72792d73646b2d7068702f762f737461626c652e706e67)](https://packagist.org/packages/dayrev/smmry-sdk-php)

Overview
--------

[](#overview)

A simple SDK interface for interacting with the [Smmry](http://smmry.com) text summarization API.

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

[](#installation)

Run the following [composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) command to add the package to your project:

```
composer require dayrev/smmry-sdk-php

```

Alternatively, add `"dayrev/smmry-sdk-php": "^1.0"` to your composer.json file.

Usage
-----

[](#usage)

```
$sdk = new DayRev\Smmry\SDK(['api_key' => 'YOURKEYHERE', 'summary_length' => 5]);
$summary = $sdk->summarizeText($long_text_string_here);
```

**OR**

```
$sdk = new DayRev\Smmry\SDK(['api_key' => 'YOURKEYHERE', 'summary_length' => 5]);
$summary = $sdk->summarizeUrl('http://collegefootball.ap.org/article/mayfield-leads-oklahoma-35-19-sugar-bowl-win-over-auburn');
```

Tests
-----

[](#tests)

To run the test suite, run the following commands from the root directory:

```
composer install
vendor/bin/phpunit -d api_key=YOUR_SMMRY_API_KEY

```

> **Note:** A valid Smmry API key is required when running the integration tests.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

3348d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45855ca47dca22521841f5356ed50f8d9e2158ceb89d7e85fba660f55fb99525?d=identicon)[dsposito](/maintainers/dsposito)

---

Top Contributors

[![dsposito](https://avatars.githubusercontent.com/u/1553251?v=4)](https://github.com/dsposito "dsposito (46 commits)")

---

Tags

phpsdksmmrytext-summarizationphpsummarysummarizersmmry

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dayrev-smmry-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/dayrev-smmry-sdk-php/health.svg)](https://phpackages.com/packages/dayrev-smmry-sdk-php)
```

###  Alternatives

[saleh7/proxmox-ve_php_api

ProxmoxVE PHP API

11718.7k](/packages/saleh7-proxmox-ve-php-api)[liamcottle/instagram-sdk-php

This is an unofficial SDK for the Instagram Private API in PHP

1308.4k](/packages/liamcottle-instagram-sdk-php)[manamine/php-eos-rpc-sdk

PHP SDK for the EOS RPC API

207.5k](/packages/manamine-php-eos-rpc-sdk)

PHPackages © 2026

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