PHPackages                             mellaoui/excerpt - 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. mellaoui/excerpt

ActiveLibrary

mellaoui/excerpt
================

A simple package to create an excerpt out of Long text

1622PHP

Since Oct 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Mellaoui/excerpt)[ Packagist](https://packagist.org/packages/mellaoui/excerpt)[ RSS](/packages/mellaoui-excerpt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Excerpt Generator PHP package
=============================

[](#excerpt-generator-php-package)

A simple package to generate an excerpt from a given text, *this package is for learning purposes*

Badges
------

[](#badges)

[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://choosealicense.com/licenses/mit/)

Documentation
-------------

[](#documentation)

In order to start working ton the porject check the requirements 👇

**php 8.1**

**composer 2.3**

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

[](#installation)

First clone the repo

```
  git clone https://github.com/Mellaoui/excerpt.git
```

Install composer dependencies

```
 cd excerpt
 composer install
```

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

[](#contributing)

Contributions are always welcome, and are accepted via pull requests. Please review these guidelines before submitting any pull requests.

**Process**

1. Fork the project.
2. Create a new branch.
3. Code, test, commit and push.
4. Open a pull request detailing your changes.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.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/06649f9a6e26da29961f3032f46ae943fa51a960d86cd45974486691465b741d?d=identicon)[Mellaoui](/maintainers/Mellaoui)

---

Top Contributors

[![Mellaoui](https://avatars.githubusercontent.com/u/15837759?v=4)](https://github.com/Mellaoui "Mellaoui (21 commits)")[![Hong-Hui](https://avatars.githubusercontent.com/u/30391833?v=4)](https://github.com/Hong-Hui "Hong-Hui (2 commits)")

### Embed Badge

![Health badge](/badges/mellaoui-excerpt/health.svg)

```
[![Health](https://phpackages.com/badges/mellaoui-excerpt/health.svg)](https://phpackages.com/packages/mellaoui-excerpt)
```

PHPackages © 2026

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