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 1mo ago

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 49% of packages

Maintenance47

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

397d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/314f3009dfa2bbeec5895253f11aeba7246e3aa8b0cd1346b5015ef15cb8f773?d=identicon)[elfeffe](/maintainers/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

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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