Download the PHP package netresearch/nr-repurpose without Composer

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

nr_repurpose — Content Repurpose for TYPO3

Turn a webpage (URL) or PDF into three AI-generated media artifacts — a podcast with one to three persona-driven speakers (with transcript + WebVTT subtitles), a diagram (Schaubild, in three variants), and an Instagram-story carousel — from the TYPO3 backend.

Every AI call goes through netresearch/nr-llm: nr_repurpose contains no provider code. Any LLM, image or TTS provider works — if nr-llm supports it (see Providers, models and prompts).

What it produces

From one source (URL or PDF) the pipeline derives a single faithful ContentBrief (via nr-llm, source language auto-detected) and generates:

Each artifact type can be selected per run. Long-running generation runs asynchronously via Symfony Messenger (doctrine transport).

Editorial steering and transparency

Providers, models and prompts

nr_repurpose never picks a provider itself — it names nr-llm Configuration records (use cases) and lets nr-llm resolve the model, provider, API key, system prompt and cost tracking:

Call nr-llm Configuration What you can swap in the backend
Analysis + copy (brief, podcast script, diagram body, story copy) the instance default Configuration (import the nr_repurpose_text preset and mark it default) any chat model of any nr-llm provider: OpenAI, Anthropic Claude, Google Gemini, Groq, Mistral, Ollama, OpenRouter
Image generation nr_repurpose_image (fallback gpt-image-2) any model of nr-llm's image services (OpenAI gpt-image-* / dall-e-*; nr-llm also ships a fal.ai service — see below)
Text-to-speech nr_repurpose_tts (fallback tts-1; default voices nova + onyx, persona snippets can set their own voice per speaker) any model of nr-llm's TTS service (currently OpenAI tts-1/tts-1-hd)

You do not create these records by hand: nr_repurpose declares them as configuration presets (nr-llm ADR-056). Open nr-llm's Configurations backend module — the three nr_repurpose_* records appear as pending presets with their required capabilities, and a single click imports each as a criteria-mode configuration that resolves against the models you have. Mark the imported nr_repurpose_text record as the instance default for the analysis/copy calls.

System prompts (e.g. the image-style preamble) are maintained on the Configuration records; per-model and per-configuration usage and cost show up in nr-llm's analytics module. API keys belong to nr-llm and are referenced by identifier (e.g. nr_repurpose_openai) — no plaintext key ever lives in extension configuration (nr-llm ADR-030).

Honest limits today: text generation is fully provider-agnostic; image and speech go through nr-llm's specialized services, which currently cover OpenAI (images, TTS) and fal.ai (images). The extension-side seam is in place — ImageGeneratorInterface / SpeechSynthesizerInterface with a DI alias in Configuration/Services.yaml — so a fal.ai image backend is a small adapter class away, and additional providers become available as nr-llm grows them.

Full control — no black box

nr_repurpose is not a SaaS pipeline you feed content into and hope for the best. It runs entirely inside your TYPO3 instance, and through nr-llm every aspect of the AI usage stays under the operator's control:

Requirements

Local development (DDEV)

Prerequisites: Docker + DDEV.

The bundled dev wiring uses OpenAI: ddev install seeds the key into nr-vault under nr_repurpose_openai and wires nr-llm's provider, so no further configuration is required for a dev instance.

Backend: https://nr-repurpose.ddev.site/typo3/ — user admin, password Demo1234!. Open Web › Repurpose, choose New job, paste a URL, pick the artifacts, theme and prompt snippets, and submit. The list shows the job progress; the detail view shows live per-step progress, plays the podcast (with subtitles + transcript), shows/downloads every image, and lists the exact prompts and models behind each artifact.

CLI

Run the full pipeline for a job synchronously (useful for ops / debugging without the async worker):

Tests

Always run via the Docker-isolated runner (TYPO3 core-testing images, default PHP 8.5) — never inside ddev:

Architecture

See the rendered documentation under Documentation/ (Introduction, Installation, Configuration, Usage, Architecture, and the Architecture Decision Records). Pipeline: ingest (web/PDF) → analyze (one ContentBrief via nr-llm) → generate (podcast / schaubild×3 / story×N slides) → store in the TYPO3 File Abstraction Layer (FAL).


All versions of nr-repurpose with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-json Version *
netresearch/nr-llm Version ^0.35
netresearch/nr-vault Version ^0.15 || ^0.16
psr/log Version ^3.0
symfony/messenger Version ^7.0 || ^8.0
symfony/process Version ^7.0 || ^8.0
typo3/cms-backend Version ^14.3
typo3/cms-core Version ^14.3
typo3/cms-extbase Version ^14.3
typo3/cms-fluid Version ^14.3
typo3/cms-frontend Version ^14.3
typo3/cms-install Version ^14.3
smalot/pdfparser Version ^2.12
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 netresearch/nr-repurpose contains the following files

Loading the files please wait ...