yooper/php-text-analysis
PHP Text Analysis provides Information Retrieval and NLP tools in PHP: tokenization, normalization, stemming, frequency and n-gram analysis, document comparison, sentiment and classification, collocations (PMI), lexical diversity, corpus analysis, and summarization.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nikic/php-parser | 0.84 | Parse PHP code into an Abstract Syntax Tree (AST) for static analysis, manipulation, and code generation. Supports PHP 5.x to 8.4, handles errors gracefully, and preserves formatting during AST-to-code conversion. Easily traverse, modify, and convert ASTs back to PHP, with JSON serialization support... | 17,439 | 17,509 | 1,121 | 16M | 47 | 75.1 | 67.8 | BSD-3-Clause | 5 months ago | |
| laragraph/utils | 0.82 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 21 | 21 | 8 | 555K | 0 | 20.2 | 62.6 | MIT | 3 months ago | |
| michelf/php-smartypants | 0.81 | PHP port of John Gruber’s SmartyPants: converts plain ASCII punctuation into typographically correct “smart” quotes, dashes, and ellipses. Useful for cleaning up HTML output from Markdown or other text sources, with configurable transformation options. | 111 | 116 | 23 | 168K | 2 | 2.0 | 45.3 | NOASSERTION | — | |
| deepslam/content-parser | 0.80 | Laravel 5 package to extract a web page’s main content and title using automatic algorithms. Supports Graby (default) and Mercury API parsers, with an extensible architecture and optional HTML cleanup (remove CSS/style attrs, strip tags) for clean output. | 3 | 3 | 1 | 0 | 1 | 2.2 | — | — | 8 years ago | |
| phpcq/repository-definition | 0.80 | Repository definition package for the PHPCQ (PHP Code Quality) project, used to automate and configure code quality checks in CI pipelines. Part of the phpcq.org ecosystem built around tools like PHP_CodeSniffer and PHPMD. | 0 | 0 | 0 | 36 | 0 | 0.0 | 21.7 | MIT | — | |
| bitandblack/word-extract | 0.80 | Extract and process words from text by minimum length. Get matching words as an array or apply a callback to transform each extracted word within the original string. Simple PHP library installable via Composer. | 1 | 1 | 0 | 99 | 0 | 0.0 | 23.5 | MIT | — | |
| microsoft/tolerant-php-parser | 0.79 | Tolerant PHP parser from Microsoft that builds an AST even from incomplete or syntactically invalid code. Ideal for IDEs, refactoring tools, and static analysis, with error recovery and precise source positions for tokens and nodes. | 895 | 896 | 83 | 195K | 54 | 23.3 | 52.1 | MIT | — | |
| apie/count-words | 0.79 | Count word frequencies in strings or streams/files with Apie\CountWords\WordCounter. Returns an array of lowercase words mapped to their occurrence count. Supports processing large files via resources (as long as the index fits in memory). | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| imanghafoori/php-token-analyzer | 0.78 | Analyzes PHP code tokens without execution—like reflection but pure PHP. Framework-agnostic, lightweight dependency extracted from Laravel-Microscope. Supports PHP 7.4+ with automated tests for accuracy. Extract class/method details, token types, and structure effortlessly. Ideal for static analysis... | 16 | 16 | 3 | 7K | 0 | 0.5 | 36.4 | — | 4 years ago | |
| wamania/php-stemmer | 0.78 | PHP library for stemming words in multiple languages (Snowball-based). Reduce words to their root form for search, indexing, and text analysis. Lightweight and easy to integrate into PHP apps, with ready-to-use stemmers for common languages. | 143 | 146 | 36 | 153K | 3 | 5.9 | 42.4 | MIT | 1 year ago | |
| khaled.alshamaa/ar-php | 0.77 | Ar-PHP is a PHP library for Arabic language processing: text shaping and normalization, transliteration, date/hijri handling, numbers-to-words, and other Arabic-specific utilities. Useful for Arabic web apps, reports, and localization. | 333 | 334 | 58 | 119K | 9 | 9.8 | 38.7 | NOASSERTION | 1 year ago | |
| j0k3r/php-readability | 0.74 | Extracts the main article content and title from messy web pages in PHP. Improved fork of php-readability with tests, namespacing, and optional HTML cleanup via Tidy (or libxml). Supports PSR-3 logging for debugging. | 184 | 190 | 38 | 27K | 6 | 20.9 | 37.8 | Apache-2.0 | 2 months ago | |
| phpdocumentor/reflection | 0.69 | Static PHP code reflection library that parses files without executing them. Builds an object graph of your project’s structure, including DocBlocks. Can analyze code from PHP 5.2 up to your installed version; suitable for reflecting whole files or projects. | 125 | 126 | 61 | 2M | 8 | 34.6 | 67.2 | MIT | 1 week ago |
How can I help you explore Laravel packages today?