Download the PHP package ndrstmr/steg without Composer

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

🌊 Steg — The Local Inference Bridge for PHP

CI PHP Packagist

A lightweight, BC-stable PHP client for OpenAI-compatible inference servers. Built for local-first AI in production. Zero framework lock-in.

Quickstart

Why Steg?

Steg Symfony AI openai-php/client
Focus Local inference Multi-provider ecosystem OpenAI Cloud
BC-Promise ✅ from v1.0 ❌ experimental
Core dependencies 2 (psr/log, http-contracts) 15+ packages 5+ packages
vLLM / Ollama ✅ first-class ⚠️ via Generic Bridge ❌ not officially
Streaming
Tool Calling not in scope ✅ (Agent framework)
Symfony Bundle optional (steg-bundle) integrated (ai-bundle) community bundle

Steg is purpose-built for local inference deployments and provides a BC-promise that symfony/ai-platform does not (yet) offer. Ideal as a stable fallback layer in production systems.

Supported Backends

Backend DSN Format Status
vLLM vllm://host:port/v1?model=name ✅ Full support
Ollama ollama://host:port?model=name ✅ Full support
LiteLLM litellm://host:port/v1?model=name ✅ Full support
LocalAI localai://host:port/v1?model=name ✅ Full support
llama.cpp server llama://host:port/v1?model=name ✅ Full support
OpenAI (Cloud) openai://api.openai.com/v1?model=gpt-4o&api_key=sk-... ⚠️ Works, not core focus
Mock mock://default ✅ Tests & offline dev

All backends share the same OpenAiCompatibleClient — DSN prefixes are convenience aliases that resolve to the correct base_url and default port.

Usage

Client creation

Completion methods

CompletionOptions presets

Server health and model list

Exception Handling

Testing with MockClient

Symfony Integration

Install the optional bundle for automatic DI configuration and a Symfony Profiler panel:

See docs/symfony-integration.md for full details.

Requirements

Documentation

License

Licensed under the European Union Public Licence v1.2 (EUPL-1.2).

Origin

Steg was built in a public sector context to solve a real problem: a stable, local LLM client for production use — without framework lock-in.


Built by 👾 public sector dev crew

Notice

This repository was developed with the assistance of AI code agents (Claude Code, Anthropic). The code was created as part of a development sprint and is not cleared for production use without prior review. Use at your own risk.

License: European Union Public Licence v. 1.2 (EUPL-1.2) — Copyright © 2026 Andreas Teumer


All versions of steg with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
psr/log Version ^3.0
symfony/http-client-contracts Version ^3.0
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 ndrstmr/steg contains the following files

Loading the files please wait ...