Download the PHP package kreuzberg-dev/tree-sitter-language-pack without Composer
On this page you can find all versions of the php package kreuzberg-dev/tree-sitter-language-pack. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kreuzberg-dev/tree-sitter-language-pack
More information about kreuzberg-dev/tree-sitter-language-pack
Files in kreuzberg-dev/tree-sitter-language-pack
Package tree-sitter-language-pack
Short Description Pre-compiled tree-sitter grammars for 306 programming languages
License MIT
Informations about the package tree-sitter-language-pack
tree-sitter-language-pack
A comprehensive collection of tree-sitter language parsers with polyglot bindings
Overview
tree-sitter-language-pack bundles 300+ tree-sitter language parsers into a single package with native bindings for multiple programming languages. Ship syntax analysis in your application without managing individual parser dependencies.
Architecture
Quick Start
Rust
See Rust README for full documentation.
Python
See Python README for full documentation.
Node.js
See Node.js README for full documentation.
Go
See Go README for full documentation.
Java
See Java README for full documentation.
Elixir
See Elixir README for full documentation.
Ruby
See Ruby README for full documentation.
WebAssembly
See WebAssembly README for full documentation.
PHP
See PHP README for full documentation.
.NET (C#)
See .NET (C#) README for full documentation.
C/C++ (FFI)
Build from source as part of this workspace.
See C/C++ (FFI) README for full documentation.
CLI
See CLI README for full documentation.
Core API
All bindings expose a unified process() function for extracting structured intelligence from source code:
| Language | Function |
|---|---|
| Rust | ts_pack_core::process(source, &config) |
| Python | process(source, ProcessConfig(...)) |
| Node.js | process(source, { language: '...' }) |
| Go | registry.Process(source, config) |
| Java | registry.process(source, configJson) |
| Ruby | TreeSitterLanguagePack.process(source, configJson) |
| Elixir | TreeSitterLanguagePack.process(source, configJson) |
| WASM | process(source, { language: '...' }) |
| C FFI | ts_pack_process(registry, source, len, configJson) |
The process() function returns structured analysis including functions, classes, imports, comments, and optionally chunked source segments.
Features
| Feature | Description |
|---|---|
| 306 Languages | Pre-compiled parsers for 306 programming languages |
| On-Demand Downloads | Parsers are downloaded on-demand and cached locally for fast reuse |
| Selective Installation | Download only the languages you need; unused parsers never downloaded |
| Polyglot Bindings | Native bindings for Rust, Python, Node.js, Go, Java, Elixir, and C/C++ |
| Automatic Caching | Downloaded parsers cached in platform-specific directories for offline use |
| CLI Tool | ts-pack download to pre-download parsers for offline/CI/Docker use |
Supported Languages
This pack includes 300+ languages. See the full language list for all supported grammars with extensions and repository links.
Package READMEs
- Rust -- Rust core library providing access to 300+ tree-sitter parsers with on-demand download and caching support.
- Python -- Python bindings for tree-sitter-language-pack, providing access to 306 pre-compiled tree-sitter parsers with on-demand downloads.
- Node.js -- Node.js NAPI bindings for tree-sitter-language-pack with on-demand parser downloads.
- Go -- Go bindings for tree-sitter-language-pack with on-demand parser caching.
- Java -- Java bindings for tree-sitter-language-pack with on-demand parser downloads (JDK 22+).
- Elixir -- Elixir bindings for tree-sitter-language-pack with on-demand parser downloads.
- Ruby -- Ruby bindings for tree-sitter-language-pack with on-demand parser downloads.
- WebAssembly -- WebAssembly bindings for tree-sitter-language-pack. Includes a curated subset of 30 languages optimized for browser and edge runtimes. For all 300+ languages, use native bindings (Python, Node.js, etc.).
- PHP -- PHP extension via ext-php-rs with on-demand parser downloads.
- .NET (C#) -- .NET P/Invoke bindings with on-demand parser downloads.
- C/C++ (FFI) -- C-compatible FFI bindings for tree-sitter-language-pack. Use from any language with C interop.
- CLI -- Command-line tool for managing tree-sitter language parsers with download utilities.
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Join our Discord community for questions and discussion.
Part of Kreuzberg.dev
- Kreuzberg — document intelligence: text, tables, metadata from 90+ formats with optional OCR.
- Kreuzberg Cloud — managed extraction API with SDKs, dashboards, and observability.
- kreuzcrawl — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
- html-to-markdown — fast, lossless HTML→Markdown engine.
- liter-llm — universal LLM API client with native bindings for 14 languages and 143 providers.
- alef — the polyglot binding generator that produces all per-language bindings.
- Discord — community, roadmap, announcements.
License
MIT -- see LICENSE for details.
All included tree-sitter grammars are permissively licensed (MIT, Apache-2.0, BSD, ISC, or similar). Copyleft licenses (GPL, AGPL, LGPL, MPL) are not accepted. See CONTRIBUTING.md for grammar inclusion criteria.