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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tree-sitter-language-pack

tree-sitter-language-pack

Bindings Rust Python Node.js WASM Java Go C# PHP Ruby Elixir Dart Kotlin Swift Zig C FFI License Documentation
tree-sitter-language-pack
Join Discord

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

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Join our Discord community for questions and discussion.

Part of Kreuzberg.dev

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.


All versions of tree-sitter-language-pack with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kreuzberg-dev/tree-sitter-language-pack contains the following files

Loading the files please wait ...