Download the PHP package projectsaturnstudios/superconductor-core without Composer

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

Superconductor Core

Latest Version on Packagist Total Downloads

Transform any Laravel 12+ application into a powerful Model Context Protocol (MCP) server with elegant Laravel patterns.


Each GitHub โญ๏ธ helps the community grow. Thanks for the support!


NOTE! AI wrote this documentation, it's mostly solid and factual, but a human generated README will be available soon!

Table of Contents

Introduction

Superconductor Core brings the Model Context Protocol to Laravel with an architecture that feels native to the framework. Create AI-powered tools, expose resources, and build prompts using familiar Laravel patterns with Laravel Data for type safety and automatic schema generation.

Creating MCP capabilities follows familiar Laravel patterns using attributes and class registration:

Register it in your config:

Your Laravel app is now MCP-capable via transport layers!

Features

Roadmap

Here's what's coming next to make Superconductor even more powerful:

Enhanced Developer Experience ๐Ÿ› ๏ธ

Advanced Capabilities ๐Ÿง 

Additional Transports ๐Ÿ”Œ

Stay tuned! We're constantly working on making Superconductor the most versatile MCP framework for Laravel.

Getting Started

Requirements

Installation

Install the package via Composer:

Publish the configuration file:

The package will automatically register its service providers and you're ready to go!

Configuration

The package works with zero configuration, but you can customize it by editing config/mcp.php:

Core Concepts

Schema & Protocol Versions

Superconductor automatically handles multiple MCP protocol versions using Laravel Data objects. Access schema information using the available facades:

Protocol versions are handled through inheritance in the Schema namespace:

Session Management

Sessions maintain state between MCP interactions. The default driver uses Laravel's native cache:

Session drivers available:

Capability Registration

The default hardcoded driver registers capabilities from your config file. To add new capabilities:

  1. Publish the MCP config:

  2. Add your capability classes to the nested config structure:

  3. Ensure your classes use the required attributes (see Usage section below)

Usage

Getting Started with Defaults

Superconductor works immediately with sensible defaults:

The Laravel cache is used as the default session storage, and the hardcoded driver loads capabilities from your config file.

Creating Tools

Tools are the primary way to expose functionality. Use the #[ToolCall] attribute and extend the BaseTool class:

Advanced Tool Example:

Working with Resources

Resources expose readable data using the #[ReadableResource] attribute:

Dynamic Resource Example:

Building Prompts

Prompts provide reusable templates with argument support:

Complex Prompt Example:

Implemented Methods

Superconductor Core includes implementations for core MCP methods:

Server Information

Tool Operations

Resource Operations

Prompt Operations

Helper Functions

The package provides convenient helper functions for capability access:

All methods return properly typed Laravel Data objects that automatically serialize to valid JSON-RPC responses according to the configured MCP protocol version.

Transport Integration

Superconductor Core is designed to be transport-agnostic. The core logic works with any transport layer through a clean interface.

Available Transports

Transport Package Status Description
Streamable HTTP superconductor-streamable-http โœ… Available HTTP POST + optional SSE (SSE incomplete)
STDIO superconductor-stdio ๐Ÿšง Coming Soon Standard input/output

Installing a Transport

Transport packages integrate automatically with Superconductor Core through the middleware pipeline and method registration system.

Testing

Test your MCP capabilities using standard Laravel testing patterns:

bash composer require projectsaturnstudios/superconductor-core composer require superconductor-mcp/streamable-http



*Your Laravel application is now AI-ready! ๐Ÿš€* 

All versions of superconductor-core with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
spatie/laravel-data Version ^4.11
superconductor/rpc Version ^0.3.0
lorisleiva/laravel-actions Version ^2.6
illuminate/support Version ^10.0|^11.0|^12.0
projectsaturnstudios/quickuuid Version ^0.2.0
superconductor/stdio-transport Version ^20241105.5.0
projectsaturnstudios/laravel-design-patterns Version ^0.1.0
superconductor/streamable-http-transport Version ^20241105.5.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 projectsaturnstudios/superconductor-core contains the following files

Loading the files please wait ....