Download the PHP package semitexa/llm without Composer

On this page you can find all versions of the php package semitexa/llm. 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 llm

Semitexa LLM

LLM assistant for Semitexa with console-based skill discovery and execution. Talks to a local Ollama, a remote Ollama, or Google Gemini.

Install

Included in every project created by the installer (https://semitexa.com/install.sh).

Purpose

Integrates LLM capabilities into the Semitexa CLI. Console commands marked with #[AsAiSkill] are discoverable by AI agents with structured metadata including risk assessment and execution policies.

Role in Semitexa

Depends on semitexa/core for attribute discovery and the console command system. Skills are registered via ClassDiscovery and exposed to LLM agents as a structured manifest with execution constraints.

Key Features

Configuration

LLM_BACKEND selects the provider: local (default), remote_ollama or gemini. An unset or unknown value falls back to local.

Backend Keys (defaults)
local LLM_BASE_URL (http://127.0.0.1:11434), LLM_MODEL (gemma3:4b), LLM_TIMEOUT (60), LLM_RETRIES (1), LLM_CONNECT_TIMEOUT (5)
remote_ollama LLM_REMOTE_OLLAMA_URL (required), LLM_REMOTE_OLLAMA_MODEL (gemma4:e2b), LLM_REMOTE_OLLAMA_TIMEOUT (120), LLM_REMOTE_OLLAMA_RETRIES (2), LLM_REMOTE_OLLAMA_CONNECT_TIMEOUT (5)
gemini GEMINI_API_KEY (a Gemini API key from Google AI Studio), GEMINI_MODEL (gemini-2.5-flash), GEMINI_BASE_URL, GEMINI_TIMEOUT (120), GEMINI_RETRIES (2), GEMINI_CONNECT_TIMEOUT (5), GEMINI_CONTEXT_CACHE (off)

LLM_DECIDER_MODEL (optional) routes silent classification and tool-picking to a cheaper model on the same provider. Only providers that can switch model honour it (Gemini today); on the Ollama backends it is ignored.

LLM_PROVIDER=ollama is not read by this package: it tells bin/semitexa server:start to add the docker-compose.ollama.yml overlay, which runs an Ollama container in the project stack and points LLM_BASE_URL at it (http://ollama:11434).

Docs: https://semitexa.com/docs/llm/providers

Notes

Skills are only useful once a provider is reachable. Execution policies ensure destructive operations require explicit confirmation.


All versions of llm with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
semitexa/cache Version *
semitexa/core Version *
semitexa/prompt Version *
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 semitexa/llm contains the following files

Loading the files please wait ...