ecourty/text-chunker
ecourty/text-chunker is a PHP library for splitting long text into smaller, configurable chunks. It helps prepare content for LLM prompts, embeddings, pagination, SMS, and APIs while keeping chunks readable and within limits.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nlp-tools/nlp-tools | 0.84 | NLP Tools is a PHP library for natural language processing, with tokenizers, stemmers, part-of-speech tagging, and classification tools. Its simple, extensible API makes it easy to add text analysis features to PHP and Laravel applications. | 762 | 773 | 153 | 9K | 6 | 10.9 | 19.9 | WTFPL | — | |
| marquine/php-etl | 0.83 | Marquine PHP ETL is a flexible Extract, Transform, Load library for PHP and Laravel. Build clean, chainable pipelines from reusable extractors, transformers, and loaders to move and reshape data between sources and destinations, with an extensible API for maintainable data workflows. | 181 | 180 | 85 | 228 | 9 | 6.4 | 9.0 | MIT | — | |
| claudiodekker/word-generator | 0.83 | A lightweight PHP package for generating random words on demand. Handy for seeding databases, building test fixtures, and creating placeholder content in Laravel apps, with a simple API that drops easily into any project. | 40 | — | 4 | — | 0 | 19.0 | — | MIT | 3 weeks ago |
|
| edulazaro/laratext | 0.82 | Laratext lets Laravel apps define translations with both a key and readable text, keeping language files clear and stable. It auto-translates missing keys via OpenAI or Google Translate, plus offers a @text Blade directive, text() helper, and scan/update commands. | 77 | 77 | 8 | 1K | 0 | 26.4 | 21.0 | MIT | 3 weeks ago | |
| keyvanakbary/slugifier | 0.82 | keyvanakbary/slugifier is a lightweight PHP library for turning text into clean, URL-friendly slugs. It supports UTF-8 transliteration, customizable separators and transformations, and works standalone or in Laravel via Composer. | 68 | 69 | 7 | 2K | 0 | 0.6 | 19.4 | MIT | 11 years ago | |
| benbjurstrom/markdown-object | 0.82 | Intelligent Markdown chunking for LLM/RAG workflows. Preserves headings, lists, tables, and semantic relationships while splitting into token-aware chunks sized for embedding model context windows. Built on League CommonMark with TikToken support. | 22 | 23 | 1 | 3K | 1 | 3.2 | 28.7 | MIT | 11 months ago | |
| lolli42/finediff | 0.82 | Create HTML diffs between two strings with fine-grained character or word comparison. Outputs / markup, escapes HTML entities, supports multibyte strings, and exposes internal opcodes for diff processing. PHP 8.2+ in v1.1. | 13 | 13 | 3 | 489K | 0 | 3.3 | 55.6 | MIT | 1 year ago | |
| droath/laravel-text-chunker | 0.82 | Flexible Laravel text chunking for AI/LLM apps. Split content into smaller chunks by characters, tokens, sentences, or markdown-aware rules. Fluent, strategy-based API ideal for fitting token limits, RAG pipelines, and custom domain splitting. | 3 | 3 | 1 | 106 | 0 | 0.0 | 19.9 | MIT | — | |
| yooper/php-text-analysis | 0.82 | 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. | 534 | 542 | 91 | 13K | 8 | 16.6 | 21.6 | MIT | 1 year ago | |
| cachethq/twitter | 0.82 | Twitter integration for Cachet status pages. Connect a Twitter account and automatically share incident and maintenance updates with followers, keeping them informed while preserving your existing Cachet workflow and simple Laravel-based configuration. | 2 | 3 | 4 | 572 | 0 | 0.2 | 31.5 | MIT | — | |
| duzun/hquery | 0.82 | hQuery is a fast, lightweight PHP HTML/XML parser with a jQuery-like API. It supports CSS selectors and DOM traversal, has no external dependencies, and handles broken or incomplete HTML gracefully, making web scraping, content extraction, and HTML manipulation simple and memory-efficient. | 359 | 361 | 69 | 19K | 15 | 8.8 | 30.6 | MIT | — | |
| funstaff/tika-bundle | 0.82 | A Symfony bundle that integrates Apache Tika to extract text and metadata from documents such as PDFs, Office files, and images. It provides service configuration and a simple way to add content extraction to PHP applications, useful for search indexing and document processing workflows. | 1 | 1 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| vipnytt/robotstxtparser | 0.82 | A PHP library for parsing robots.txt files, with support for user-agent groups, Allow/Disallow rules, wildcards, crawl-delay, and sitemap directives. Lightweight and framework-agnostic, it helps determine whether a crawler may access a given URL. | 25 | 26 | 6 | 12K | 1 | 0.4 | 36.9 | MIT | 5 years ago | |
| mindplay/readable | 0.82 | mindplay/readable renders any PHP value—arrays, objects, and scalars—as clean, human-readable, valid PHP-like code that's easy to read and diff, with optional parsing back into values. Handy for debugging, logging, snapshots, and config files. | 10 | 8 | 2 | 20K | 0 | 0.1 | 45.0 | — | 1 year ago | |
| donatello-za/rake-php-plus | 0.82 | A dependency-free PHP implementation of RAKE (Rapid Automatic Keyword Extraction) for extracting keywords and key phrases from text. Includes stopword lists, multi-language support, customizable scoring, and straightforward integration into existing projects. | 268 | — | 48 | — | 2 | 3.3 | 0.4 | MIT | 1 year ago |
|
| apie/count-words | 0.82 | 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 | 7 | 0 | 0.0 | 12.5 | MIT | — | |
| rodenastyle/stream-parser | 0.82 | Parse large CSV and other data files in PHP without exhausting memory. rodenastyle/stream-parser offers a simple, memory-efficient streaming API to read and process files chunk by chunk—ideal for Laravel imports, exports, and ETL jobs on big datasets. | 440 | — | 47 | — | 6 | 5.7 | 2.3 | MIT | 1 year ago | |
| r0073rr0r/skritphp | 0.81 | SkritPHP is a lightweight PHP package for writing, organizing, and running reusable scripts with a clean, expressive API. It integrates smoothly with Laravel and standalone PHP projects with minimal setup, helping you automate tasks, simplify workflows, and keep script logic maintainable. | 1 | — | 0 | — | 0 | 9.8 | — | GPL-3.0 | 6 months ago | |
| vedmant/laravel-feed-reader | 0.81 | A Laravel package for fetching and parsing RSS and Atom feeds with a simple, expressive API. Read feed items, access titles, links, descriptions, and metadata, and cache results to keep your application fast and reliable. | 92 | — | 15 | — | 0 | 0.9 | — | MIT | 1 year ago |
|
| cebe/markdown | 0.81 | Fast, extensible PHP Markdown parser with classes for multiple flavors (Traditional, GitHub Flavored, and partial Markdown Extra) plus a CLI to convert .md to HTML. Designed for speed, easy customization, and AST-based hooks for extensions. | 1,011 | 1,035 | 137 | 763K | 39 | 25.4 | 53.9 | MIT | 8 years ago |
How can I help you explore Laravel packages today?