Download the PHP package mittwald/smart-extension-builder without Composer

On this page you can find all versions of the php package mittwald/smart-extension-builder. 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 smart-extension-builder

Smart Extension Builder

The Smart Extension Builder is a TYPO3 extension that accelerates TYPO3 extension development through AI-powered code generation. Its main component is a Model Context Protocol (MCP) server. Built on top of the friendsoftypo3/kickstarter package, this MCP server exposes powerful scaffolding tools to AI assistants like Claude Code, Cursor, or OpenCode.

License

This project is licensed under the MIT License; see the LICENSE file for details.

Quickstart

This tool is meant to be used as part of your local development environment. It requires a local TYPO3 Composer project, and an AI assistant that supports MCP.

To get started:

  1. Install the Smart Extension Builder
  2. Configure your AI assistant
  3. use the tools

Features

This MCP server provides specialized tools for TYPO3 extension development, plus contextual resources for better code generation:

Extension Management

Domain Layer

Controllers & Actions

Data Persistence

Extension Points

Site Configuration

Localization & Testing

Contextual Resources

Use Cases

AI-Powered Extension Development

Use AI assistants to rapidly prototype and build TYPO3 extensions:

Learning TYPO3 Development

AI assistants can explain TYPO3 concepts while generating proper code:

Migration & Refactoring

Accelerate migration projects:

Rapid Prototyping

Quickly scaffold extension components to validate ideas:

Prerequisites

Installation

1. Install via Composer

If your TYPO3 installation uses Composer mode (recommended):

2. Activate the Extension

3. Start the MCP Server

The extension includes an MCP server command:

The server will start and listen for MCP client connections on stdin/stdout.

Setup with AI Tools

Claude Code

Claude Code has native MCP support. Add the server to your Claude Code configuration using the claude mcp add command (run the command from within your project directory):

If you're running your project in DDEV, use the following version instead:

After configuration:

  1. Restart Claude Code
  2. The TYPO3 development tools will be automatically available
  3. Verify by asking: "What TYPO3 development tools do you have available?"

Read more about adding MCP servers to Claude Code.

Claude Code / OpenCode Skills

This package includes skills that guide you through common TYPO3 development workflows. These skills are compatible with both Claude Code and OpenCode.

Available skills:

Installation:

Install the skills to your project's .claude/skills/ directory using the CLI command:

After installation, type the skill name (e.g., /typo3-extension) in Claude Code or OpenCode and follow the guided workflow.

Cursor

Cursor supports MCP through a mcp.json file, either in your home directory (~/.cursor/mcp.json), or in your project directory (also .cursor/mcp.json).

Since the TYPO3 development MCP server is best configured on a per-project basis, create a .cursor/mcp.json file within your current project directory:

Alternatively, if you're using DDEV:

After configuration, Cursor should automatically detect the new configuration and suggest enabling the MCP server.

Read more about adding MCP servers to Cursor via the configuration file.

OpenCode

OpenCode supports MCP servers in its main configuration file. The relevant section of an opencode.jsonc file might look like this:

Alternatively, if you're using DDEV:

Read more about configuring MCP servers in OpenCode.

Usage Examples

Once configured, you can use natural language with your AI assistant to scaffold TYPO3 code:

Creating an Extension

Building a Domain Model

Adding a Plugin

Creating a Backend Module

Setting Up Localization

Adding Middleware

Generating Tests

MCP Resources

In addition to tools (which perform actions), this MCP server provides resources - read-only information that you can add to your AI assistant's context for better code generation.

What are Resources?

Resources provide reference information about your TYPO3 system:

You can manually add resources to your conversation context when you need the AI to understand specific aspects of your TYPO3 installation.

Available Resources

1. TCA (Table Configuration Array)

Provides database table structure and configuration information.

Overview Resource: typo3-mcp://tca

Detailed Resource: typo3-mcp://tca/{tableName}

2. ViewHelper Reference

Provides complete documentation of all available Fluid ViewHelpers.

Resource: typo3-mcp://view-helper-reference

How to Use Resources

In Claude Code

Use the "Add Context" feature to add resources:

  1. Click the "+" button or use the attachment icon
  2. Select "MCP Resource"
  3. Choose the resource you want to add:
    • typo3-mcp://tca - Overview of all tables
    • typo3-mcp://tca/pages - TCA for pages table
    • typo3-mcp://tca/tt_content - TCA for content elements
    • typo3-mcp://view-helper-reference - ViewHelper documentation

The resource content will be added to the conversation context.

In Cursor

Resources can be referenced in your prompts by mentioning them explicitly. The exact method depends on Cursor's MCP implementation.

Usage Examples

Example 1: Creating a Model from TCA

Steps:

  1. Add resource: typo3-mcp://tca/tx_news_domain_model_news
  2. Ask: "Create an Extbase model that matches this TCA structure"

Result: The AI generates a model with properties matching the actual database fields.

Example 2: Understanding Table Relations

Steps:

  1. Add resource: typo3-mcp://tca/pages
  2. Add resource: typo3-mcp://tca/tt_content
  3. Ask: "Explain how pages and content elements are related"

Result: The AI analyzes the TCA foreign keys and explains the relationship.

Example 3: Writing Fluid Templates

Steps:

  1. Add resource: typo3-mcp://view-helper-reference
  2. Ask: "Create a template for displaying news with images"

Result: The AI uses actual available ViewHelpers with correct namespaces.

Example 4: Repository Methods from TCA

Steps:

  1. Add resource: typo3-mcp://tca/fe_users
  2. Ask: "Create a repository with find methods for searchable fields"

Result: The AI generates repository methods based on actual TCA field configuration.

Benefits of Using Resources

Available Tools Reference

Extension Tools

Domain Layer Tools

Controller Tools

Database Tools

Event System Tools

Infrastructure Tools

Site Configuration Tools

Localization & Testing Tools

Reference Tools

Troubleshooting

MCP Server Won't Start

Check TYPO3 installation:

Verify extension is active:

Tools Not Appearing in AI Assistant

  1. Verify MCP configuration file path is correct
  2. Ensure cwd points to your TYPO3 installation root
  3. Restart your AI assistant completely
  4. Check server logs for errors

Permission Issues

The MCP server runs with the same permissions as your TYPO3 installation. Ensure the web server user has write access to:

Debugging

Enable debug mode in TYPO3 to see detailed error messages:

Contributing

Contributions are welcome! This project follows standard open-source contribution practices.

For detailed information about:

Please see CONTRIBUTING.md.


All versions of smart-extension-builder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
friendsoftypo3/kickstarter Version ^0.4.0
mcp/sdk Version ^0.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 mittwald/smart-extension-builder contains the following files

Loading the files please wait ...