This is a wrapper for Python's texstat in Laravel. You can use all its functions https://github.com/textstat/textstat
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"
$text = "Your sample text goes here";
$results = TextStat::syllable_count($text);
dump($results);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.