Download the PHP package ferdiunal/larapanda without Composer

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

Larapanda

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Language versions: Türkçe

Larapanda is a type-safe Lightpanda SDK for Laravel and plain PHP applications. It provides named instance profiles, runtime resolution (auto, cli, docker), and immutable method-scoped option objects for fetch, serve, and mcp.

Installation

Prerequisites

Larapanda uses a runtime resolver (auto, cli, docker). CLI execution (and auto mode when CLI is selected) requires a valid Lightpanda binary. Install Lightpanda from the official source: lightpanda.io.

Install the Larapanda SDK package:

For Laravel applications, publish the package configuration:

Optional integration dependencies:

Configuration

Configuration is profile-based. Each client resolves an instance profile by name, and each profile may override the global defaults.

Usage

Scenario 1: Quickstart Fetch

Resolve the manager, select an instance profile, and execute a markdown fetch.

Scenario 2: Output Modes

Use strict typed accessors based on the selected dump format.

FetchResult throws UnexpectedFetchOutputFormatException when a strict accessor does not match the selected dump format.

Scenario 3: Named Instance Profiles

Select the profile according to runtime intent:

Scenario 4: Proxy-Aware Fetch

Use request-level proxy settings for one fetch operation:

Use integration-level proxy settings for AI SDK and MCP server tool sessions:

Scenario 5: Long-Running Serve and MCP Modes

Use RunningInstanceHandle lifecycle methods for process-safe execution:

Common Patterns

Laravel AI SDK Tools

Install optional dependencies before using adapter features:

Larapanda exposes AI SDK-compatible tools via LarapandaAiTools. The adapter is MCP-backed, session-aware, and config-driven.

Scenario 1: Full Tool Catalog

Tool naming uses the configured prefix (default lightpanda_), for example: lightpanda_markdown, lightpanda_semantic_tree, lightpanda_click.

Scenario 2: Restrict Exposed AI Tools

Limit model access to a subset of tool surfaces:

Scenario 3: Session-Aware AI Tool Continuity

For multi-step browsing tasks, guide the model to reuse a stable session_id across tool calls.

Laravel MCP Server (Optional / Advanced)

Use this layer when you want Laravel-managed MCP registration, container wiring, config-based tool filtering, and shared session/proxy policies.
If you only need a standalone MCP binary host, native lightpanda mcp can be used directly without Larapanda adapter classes.

Native vs Adapter Decision Matrix

Use case Recommended path
Lowest-level MCP host integration over stdio Native lightpanda mcp
Laravel container wiring + profile-based runtime resolution Larapanda MCP adapter
Config-driven tool exposure (integrations.mcp.exposed_tools) Larapanda MCP adapter
Shared session pool and proxy policy reused by AI SDK tools Larapanda MCP adapter
Direct protocol troubleshooting against Lightpanda itself Native lightpanda mcp

Scenario 1: Register MCP Tools in routes/ai.php

Scenario 2: Restrict MCP Tool Exposure

By default, all Lightpanda MCP tools are exposed. To reduce tool surface:

Scenario 3: Session and Proxy Policy for MCP Adapter

Session and proxy behavior are controlled from config:

Scenario 4: Interactive MCP Argument Model (Native-Aligned)

Interactive tools use backend-node-driven arguments. The typical flow is:

  1. Navigate and discover target nodes (goto + waitForSelector or interactiveElements).
  2. Extract backendNodeId from the response payload.
  3. Execute interaction tools with that node id on the same session_id.

Testing

Run the full test suite:

Run opt-in live CLI + MCP smoke tests (native MCP and Larapanda bridge):

Run MCP-focused live smoke tests only:

Live suite policy:

Prerequisites for live tests:

Optional proxy smoke run:

Credits

License

This package is licensed under the MIT License. See LICENSE.md for details.


All versions of larapanda with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.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 ferdiunal/larapanda contains the following files

Loading the files please wait ...