droath/laravel-text-chunker
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cebe/markdown | 0.84 | 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 | |
| flarum/markdown | 0.83 | Adds Markdown formatting to Flarum posts, letting users write bold, italic, links, lists, quotes, and code with familiar syntax. Integrates with the composer to render clean, consistent formatted content across discussions. | 17 | 17 | 15 | 20K | 0 | 19.7 | 49.2 | MIT | 3 weeks ago | |
| iamgerwin/php-pdf-to-markdown-parser | 0.83 | A PHP package that converts PDF files into clean Markdown, extracting text and structure for documentation, notes, and LLM workflows. Works with Laravel and standalone PHP projects. | 9 | 9 | 2 | 5K | 0 | 0.1 | 37.0 | MIT | — | |
| beeflow/markdown-editor | 0.83 | Lightweight GitHub-Flavored Markdown editor you can embed or reuse in your project. Install via Composer (dev-master with Git repo) or clone from GitHub. Intended as copy/modify-friendly code for a live Markdown editing experience. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| andchir/markdown-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | MIT | 6 years ago | |
| ecourty/text-chunker | 0.83 | 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. | 9 | 10 | 0 | 4K | 0 | 19.8 | 43.0 | MIT | 1 week ago | |
| bfg/text | 0.83 | bfg/text is a lightweight Laravel/PHP text utility package offering convenient helpers for cleaning, formatting, and manipulating strings. It provides a simple API for common text operations, making it easy to handle content consistently across your application. | 1 | 1 | 1 | 39 | 0 | 0.0 | 18.1 | MIT | — | |
| raphy/markdown-bundle | 0.83 | A Symfony bundle for working with Markdown in your applications, making it easy to parse and render Markdown content through the framework's service and template layers with minimal configuration. | 4 | 4 | 2 | 0 | 1 | 0.2 | — | MIT | 8 years ago | |
| donatello-za/rake-php-plus | 0.83 | 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 |
|
| mehrab-wj/tiktoken-php | 0.83 | A PHP port of OpenAI's tiktoken tokenizer for fast, accurate BPE token counting. Supports GPT-4, GPT-3.5, and other model encodings, so you can count tokens and estimate API costs directly in Laravel or plain PHP without extra services. | 17 | — | 3 | — | 0 | 0.2 | — | MIT | 3 years ago |
|
| markup-carve/carve-php | 0.82 | Carve PHP is a fast, extensible parser for the Carve lightweight markup language. It converts Carve documents to clean HTML through a simple API, making it easy to add Markdown-style content rendering to Laravel and other PHP applications. | 7 | 7 | 1 | 5K | 16 | 24.5 | 50.7 | MIT | 1 week ago | |
| yosymfony/parser-utils | 0.82 | A small PHP toolkit for building parsers, providing tokens, token streams, AST nodes, source locations, and syntax errors. It offers reusable utilities for lexers and recursive-descent parsers, and underpins libraries such as yosymfony/toml. | 21 | 21 | 3 | 48K | 0 | 0.2 | 46.1 | MIT | 8 years ago | |
| knplabs/knp-markdown-bundle | 0.82 | — | 412 | 432 | 46 | 17K | 0 | 3.8 | 15.8 | MIT | 4 years ago | |
| gettext/languages | 0.82 | Auto-generated language and plural-rule data from CLDR for gettext. Includes a CLI (export-plural-rules) to export rules for selected locales, with options like ASCII-only and deduping, and output formats such as JSON, PHP, Ruby, HTML, and XML. | 76 | 78 | 11 | 754K | 0 | 17.4 | 60.3 | MIT | 8 months ago | |
| erusev/parsedown | 0.82 | Parsedown is a fast, lightweight PHP Markdown parser with CommonMark-style syntax support. It converts Markdown to HTML with sensible defaults, minimal dependencies, and easy integration—ideal for blogs, docs, and templating in PHP and Laravel apps. | 15,047 | 15,144 | 1,132 | 2M | 127 | 73.7 | 54.1 | MIT | 8 months ago | |
| alfredo-ramos/parsedown-extra-laravel | 0.82 | Laravel integration for Parsedown Extra, bringing Markdown parsing with support for tables, footnotes, and other extended syntax to your Blade views and PHP code through a simple facade and service provider. | 27 | 30 | 1 | 166 | 0 | 0.2 | 11.6 | GPL-3.0 | — | |
| erusev/parsedown-extra | 0.82 | Parsedown Extra is a fast, lightweight PHP Markdown parser with built-in support for Markdown Extra features like tables, footnotes, definition lists, and fenced code blocks. Ideal for rendering user content safely and quickly in PHP apps. | 843 | 864 | 131 | 179K | 75 | 37.4 | 60.0 | MIT | 8 months ago | |
| phpdocumentor/guides-restructured-text | 0.82 | phpDocumentor guides reStructuredText parser. Converts reST documents into structured guide nodes for phpDocumentor’s Guides system, enabling documentation builds from .rst sources with directives, roles, includes, and cross-references. | 0 | 0 | 1 | 15K | 0 | 0.6 | 55.3 | MIT | 2 years ago | |
| davidbadura/markdown-builder | 0.82 | A fluent PHP library for building Markdown documents programmatically. Compose headings, paragraphs, lists, links, code blocks, and tables via a clean, chainable API, ideal for READMEs, reports, and dynamic docs in any PHP or Laravel project. | 23 | 23 | 3 | 46K | 2 | 1.3 | 47.9 | MIT | 5 years ago | |
| rodenastyle/stream-parser | 0.81 | 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 |
How can I help you explore Laravel packages today?