Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Text Chunker Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables rapid implementation of RAG systems with context-aware chunks that preserve markdown structure (headers, code blocks, lists) without manual handling
  • Eliminates need for custom chunking logic, saving 2-4 weeks of engineering effort per project
  • Optimizes LLM API costs by accurately splitting text to fit token limits using OpenAI-compatible token counting
  • Supports configurable overlap between chunks to maintain context for retrieval accuracy
  • Allows domain-specific customization via strategy interface for unique business requirements (e.g., legal document chunking)

When to Consider This Package

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport