PHPackages                             elfeffe/textstat - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. elfeffe/textstat

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

elfeffe/textstat
================

This is a package to use Python's TextStat inside Laravel

v0.1.1(1y ago)010MITPHPPHP ^8.2

Since Aug 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/elfeffe/TextStat)[ Packagist](https://packagist.org/packages/elfeffe/textstat)[ Docs](https://github.com/elfeffe/textstat)[ RSS](/packages/elfeffe-textstat/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

This is a package to use Python's TextStat inside Laravel
=========================================================

[](#this-is-a-package-to-use-pythons-textstat-inside-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/691d44023815f48d316750e44c6265777594992dc91207773d95fd8c84e9bc7c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c66656666652f74657874737461742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elfeffe/textstat)[![GitHub Tests Action Status](https://camo.githubusercontent.com/562645eb65cb5e8b3aaa5e91ba5a079d94a68427fb5c01c4e93a1b0186af56cc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c66656666652f74657874737461742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/elfeffe/textstat/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/510901de226f841a75430922723e83f7c633456ea8ce2c195cfc890b937ceb92/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c66656666652f74657874737461742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/elfeffe/textstat/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/edffb6ff2c9d246043de1d603f0cb55aa89768e9f973f55fb1b49599449ec3ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c66656666652f74657874737461742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elfeffe/textstat)

This is a wrapper for Python's texstat in Laravel. You can use all its functions

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

[](#installation)

You can install the package via composer:

```
pip install textstat
```

```
composer require elfeffe/textstat
```

You can publish the config file with:

```
php artisan vendor:publish --tag="textstat-config"
```

Usage
-----

[](#usage)

```
$text = "Your sample text goes here";
$results = TextStat::syllable_count($text);
dump($results);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Federico](https://github.com/elfeffe)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance44

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Every ~255 days

Total

2

Last Release

445d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4717507?v=4)[federeggiani](/maintainers/elfeffe)[@elfeffe](https://github.com/elfeffe)

---

Top Contributors

[![elfeffe](https://avatars.githubusercontent.com/u/4717507?v=4)](https://github.com/elfeffe "elfeffe (3 commits)")

---

Tags

laravelElfeffetextstat

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/elfeffe-textstat/health.svg)

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

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

94135.4k5](/packages/marcelweidum-filament-expiration-notice)[awcodes/richer-editor

A collection of extensions and tools to enhance the Filament Rich Editor field.

3912.8k9](/packages/awcodes-richer-editor)

PHPackages © 2026

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