Download the PHP package melaya/sdk without Composer

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

### Governed AI agents that actually do the work Melaya is a governed platform for AI agents that do real work — in the cloud or on your own machine — across your business systems, your browser, and real mobile apps. [**Website**](https://melaya.org) · [**Documentation**](https://melaya.org/documentation) · [**MCP Server**](https://melaya.org/en/product/mcp) · [**Agent Skill**](#agent-skill-teach-any-ai-to-run-melaya) · [**Discord**](https://discord.gg/2BBMUUdnkj) [![SDKs](https://img.shields.io/badge/SDKs-9_languages-6E56CF)](#official-sdks) [![Tools](https://img.shields.io/badge/scoped_tools-8,200%2B-22D3EE)](#the-catalog) [![Subagents](https://img.shields.io/badge/subagents-103-8B5CF6)](#the-catalog) [![AI providers](https://img.shields.io/badge/AI_providers-48-F59E0B)](#bring-your-own-model) [![MCP](https://img.shields.io/badge/MCP-88_tools-10B981)](https://github.com/melaya-labs/melaya-mcp) [![Agent Skill](https://img.shields.io/badge/Agent_Skill-11_modules-EC4899)](https://github.com/melaya-labs/melaya-mcp/tree/main/skills/melaya) [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](./LICENSE)

This public repository contains the official SDKs and public developer documentation. The hosted platform, agent runtime, Device Control service and Browser Control service are proprietary and are not included here.

Looking for the remote MCP server? It lives at melaya-labs/melaya-mcp — one endpoint, https://api.melaya.org/mcp.


The products

Melaya Agents — available now
A visual builder for high-trust AI workflows: tools, models, memory, subagents, knowledge, evaluations, schedules, cost limits and human approvals, composed as a pipeline.
Melaya Agents product page · Docs
Melaya Assistant — available now
Work across your approved business systems in natural language, with permissions, execution and approvals still under your control.
Melaya Assistant product page
Device Control — flagship, available now
Let an AI operate real Android apps the way a person does: tapping, typing, swiping and navigating through the visible interface. No vendor API, no integration. Per-app permissions and approval before sensitive actions.
Device Control product page · Docs
Browser Control — available now
The same governed execution in real browser tabs, with live visibility and a human stop control. Ships as a browser extension for Chrome, Edge, Brave, Opera and Firefox.
Browser Control product page · Firefox add-on
MCP Server — available now
Give Claude, Codex, Cursor, ChatGPT or any compatible client access to Melaya's execution layer through one remote endpoint. 88 scoped tools across 9 permission domains, OAuth 2.1 + PKCE, no API key to paste.
MCP Server product page · Repo · Agent Skill
Melaya Marketing — available now
One AI-native marketing cockpit. Connects your ads, search consoles, analytics, DNS and site, reads your real numbers server-side, and runs actions that do the work — SEO and page-speed audits, DNS hardening, wasted-spend cleanup — pausing for your approval before anything touches real money or your live site.
Melaya Marketing product page

The catalog

| | | | |:--:|:--:|:--:| | **8,222** | **103** | **48** | | scoped tools | specialized subagents | AI providers | | **88** | **9** | **9** | | MCP tools | official SDKs | MCP permission domains |

Runtime catalog endpoints remain the source of truth; the numbers above move as the catalog grows.

Bring your own model

48 providers, chosen per agent. Credentials stay in encrypted Connectors, never in prompts or pipeline JSON.

Local and self-hosted

Models on your own machine or your own server, reached through the Melaya runner. The data never leaves your network.


LiteLLM Proxy

CLIs on your runner

Use the AI subscription you already pay for: the runner drives the official command-line tool on your machine.


GitHub Copilot

Cloud

Frontier labs, open-model hosts and gateways. Bring your key, or use Melaya AI with no key at all.


Baseten

DeepSeek

Grok (xAI)

Moonshot

Portkey

SiliconFlow

Zhipu AI

Why teams use Melaya

Quick start: pair a phone

import { Melaya } from "@melaya/sdk";

const melaya = new Melaya({
  apiKey: process.env.MELAYA_API_KEY!
});

const { code, expiresInSeconds } =
  await melaya.agents.phone.pair();

console.log({ code, expiresInSeconds });

const devices = await melaya.agents.phone.listDevices();
const apps = await melaya.agents.phone.listApps();

await melaya.agents.phone.setAllowedApps([
  "com.android.chrome"
]);

A Melaya platform key is required. "No app API required" means Device Control operates the target app through its user interface; it does not mean the Melaya SDK is unauthenticated.

Quick start: connect over MCP

No SDK, no key to paste. Add the endpoint to any compatible client and approve the scopes you want:

claude mcp add --transport http melaya https://api.melaya.org/mcp
# or
codex mcp add melaya --url https://api.melaya.org/mcp

Setup for Claude, ChatGPT, Cursor, VS Code, Le Chat, Gemini CLI, Zed, Cline, Goose and more: melaya-labs/melaya-mcp.

Agent Skill: teach any AI to run Melaya

The MCP server gives your assistant the tools. The Melaya skill gives it the method: connecting services, building and validating pipelines on real runs, triggers and approvals, reading results and handing work over. A free, open playbook your assistant reads before it acts, so it gets things right the first time.

Any assistant (ChatGPT, Gemini, Cursor, …): paste this line.

Claude Code: copy it into your skills folder, then restart. It loads on its own when you mention Melaya.

Claude.ai and Claude Desktop: download skills/melaya as a .zip and upload it under Settings → Capabilities → Skills. Anywhere else, add SKILL.md as a project instruction or rules file.

The skill is one short router with the rules that always apply, plus eleven modules the assistant opens only when the task needs them:

quickstart
Plain-language journeys for non-technical users
discovery
Finding the right tools, templates and connected services
runners-models
The runner and models: Claude Code, Codex, Copilot, Ollama, LM Studio, cloud
projects-templates
Projects, teams and starting from a validated template
pipeline-authoring
Pipeline configs that generate and run correctly
agentic-systems
Complete multi-pipeline systems, designed end to end
data-spine
Google Sheets data stores, bulk scoring, clean records
automation-governance
Schedules, event triggers, approvals and cost limits
validate-debug
Proving a pipeline on real runs and fixing what fails
client-handover
Documentation and handover for the people who will use it
devices-browser
Agents that use a phone or a browser like a person

Official SDKs

| | Language | Package | |:--:|---|---| | | Python | [melaya](./packages/sdk-python) | | | TypeScript / JavaScript | [@melaya/sdk](./packages/sdk) | | | Go | [melaya-go](./packages/sdk-go) | | | Rust | [melaya](./packages/sdk-rust) | | | Java | [org.melaya:melaya-sdk](./packages/sdk-java) | | | Kotlin | [org.melaya:melaya-sdk-kotlin](./packages/sdk-kotlin) | | | C# / .NET | [Melaya.SDK](./packages/sdk-csharp) | | | Ruby | [melaya](./packages/sdk-ruby) | | | PHP | [melaya/sdk](./packages/sdk-php) |

The supported public surface includes authentication, projects, Connectors (personal and project-shared), credentials, connector tool calls (discover and call the tools your connected services unlock, with an in-app approval for writes), pipelines with run inputs and file uploads, pipeline documents (static context and RAG), templates, Agent Builder tools, the tool-call audit log, Device Control management, HITL, evaluations, events, billing, account operations, runner management, team management, MFA, the assistant, bug reports and agent memory.

What the SDKs drive: Melaya Agents pipelines and runs, the Melaya Assistant, Device Control on real Android apps, Browser Control, and the same execution layer behind the MCP Server and Melaya Marketing.

Internal operator APIs are intentionally absent.

Security rules for SDK users

See Security and trust.

Documentation

Full product documentation and interactive API reference: melaya.org/documentation.

Where to find us

Melaya is listed across the MCP registries and the product directories below. Every link was fetched and confirmed live on 2026-09-21.

Product directories

Product Hunt AlternativeTo SaaSHub SourceForge Slashdot Indie Hackers

AI agent directories

AI Agents Directory AgentLocker AI Tool Seekers

MCP ecosystem

MCP Registry Glama mcp.so Smithery mcpserver.dev MCP Market Cursor Directory

Also on LaunchKiwi · MakerHunt · LaunchNest · FoundrList · Launchpadly · LaunchIgniter · Launch Llama · The SaaS Dir · ProjectRadar · TopBusinessSoftware · HackerNoon

License

The SDK code and public documentation are licensed under Apache-2.0. The hosted platform and engines are proprietary and are not included in this repository.

Third-party names and logos are used only for identification and do not imply endorsement.



Melaya Labs · melaya.org · Discord

All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
ext-openssl 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 melaya/sdk contains the following files

Loading the files please wait ...