PHPackages                             nattaylor/php-teaser - 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. nattaylor/php-teaser

ActiveLibrary

nattaylor/php-teaser
====================

231.8k5PHP

Since Jul 14Pushed 9y ago3 watchersCompare

[ Source](https://github.com/nattaylor/php-teaser)[ Packagist](https://packagist.org/packages/nattaylor/php-teaser)[ RSS](/packages/nattaylor-php-teaser/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#php-teaser#

Summarize text or articles into a few bullet points

\##Usage### Basically create an instance of `Teaser()` then pass it either a URL or a text/title pair, and it will return a summary as an array of sentences.

```
//Ultra-simple Example
$teaser = new Teaser();
$teaser->createSummary("http://www.business2community.com/cloud-computing/confused-saas-paas-iaas-0687173","url"));

```

\##Notes##

- Is there a lot more to do? Yes. Does it basically work? Yes.
- I tried to carefully document the class, but it needs more detail. This is coming soon.
- (Obviously) This relies on the source text having some good sentences that summarize it. Without that, our summary will suck.
- Based on  based on
- What would make this a lot better? Tweaking the scoring, duh!

\##TODO##

- Add synonyms to the headline list
- Try to do some NLP like: -- Stemming: -- Morphology: -- WordNet:

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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://www.gravatar.com/avatar/43a46bd5c2837675f54fea96bbb2f9ad2f9b843fdab82710740cc1bb26caa204?d=identicon)[nattaylor](/maintainers/nattaylor)

---

Top Contributors

[![nattaylor](https://avatars.githubusercontent.com/u/2789593?v=4)](https://github.com/nattaylor "nattaylor (5 commits)")[![mattcannon](https://avatars.githubusercontent.com/u/173341?v=4)](https://github.com/mattcannon "mattcannon (1 commits)")

### Embed Badge

![Health badge](/badges/nattaylor-php-teaser/health.svg)

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

PHPackages © 2026

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