elfeffe/textstat

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

v0.1.0 2024-08-01 17:13 UTC

This package is auto-updated.

Last update: 2024-10-31 17:53:49 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is a wrapper for Python's texstat in Laravel. You can use all its functions https://github.com/textstat/textstat

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

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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.