PHPackages                             ncod3v/ai-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. ncod3v/ai-sdk

ActiveLibrary[Localization &amp; i18n](/categories/localization)

ncod3v/ai-sdk
=============

PHP SDK für die n0cl0n3.AI KI-Dienste — Code-Analyse, SQL-Generator, Übersetzung, Chat und mehr.

v1.0.0(1mo ago)00MITPHPPHP &gt;=7.4

Since Apr 27Pushed 1mo agoCompare

[ Source](https://github.com/ncod3v/ai-sdk)[ Packagist](https://packagist.org/packages/ncod3v/ai-sdk)[ Docs](https://ai.noclone.de)[ RSS](/packages/ncod3v-ai-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

ncod3v/ai-sdk
=============

[](#ncod3vai-sdk)

**PHP SDK für die n0cl0n3.AI KI-Dienste** — v1.2.0

[![Packagist Version](https://camo.githubusercontent.com/355537937f46776c258e5bde4de60eaf623289af33c2613793ea9e17a8cd3084/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e636f6433762f61692d73646b)](https://packagist.org/packages/ncod3v/ai-sdk)[![PHP Version](https://camo.githubusercontent.com/d156662447e19ebd6815055f699ad111d7d5512edf89d95dda5c26e52222ec06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e636f6433762f61692d73646b)](https://packagist.org/packages/ncod3v/ai-sdk)[![License](https://camo.githubusercontent.com/953872d2903cf6ee3ed89eb84c3484734628895af42104a837d4a4edda08e4d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e636f6433762f61692d73646b)](LICENSE)

13 KI-Dienste: Code-Analyse, SQL, Übersetzung, DSGVO, Meeting, **Social Media Generator**, **Startup Kalkulator** und mehr.

Installation
------------

[](#installation)

```
composer require ncod3v/ai-sdk
```

Quickstart
----------

[](#quickstart)

```
use Ncod3v\AI\Client;

$ai = new Client('ncod3v_ihr_api_key');

// Code analysieren
$result = $ai->analyzeCode('', 'php');
echo $result['quality_score']; // 0–100

// Social Media für mehrere Plattformen
$content = $ai->generateSocialContent(
    topic:     'Unser KI-Tool spart 80% Entwicklungszeit',
    platforms: ['instagram', 'linkedin', 'twitter'],
    tone:      'professional',
    industry:  'Tech'
);
echo $content['instagram']['post'];
echo implode(' ', $content['instagram']['hashtags']);

// Startup-Idee analysieren
$analysis = $ai->analyzeStartup(
    idea:          'KI-Buchhaltung für Freelancer',
    industry:      'FinTech',
    capital:       25000,
    businessModel: 'saas'
);
echo $analysis['success_probability']['overall'] . '%'; // z.B. 73%
echo $analysis['financial_projection']['break_even_months'] . ' Monate Break-Even';
```

Alle Methoden
-------------

[](#alle-methoden)

MethodeDienstPlan`analyzeCode($code, $language)`Code-AnalyseStarter+`generateText($prompt, $type, $tone)`Neuro-TextStarter+`chat($messages, $persona)`Quantum-ChatPro+`analyzeDocument($document, $task)`Doc-ScannerPro+`generateSQL($description, $dialect)`SQL-GeneratorStarter+`optimizeCV($cv, $job, $mode)`CV-OptimiererStarter+`checkPrivacy($text, $docType)`DSGVO-CheckerPro+`generateMeetingProtocol($notes)`Meeting-ProtokollPro+`triageEmail($email, $context)`E-Mail-TriagePro+`analyzeSEO($content, $keyword)`SEO-AnalysePro+`translate($text, $targetLang)`ÜbersetzungStarter+`generateSocialContent($topic, $platforms, $tone)`**Social Media** ✨Pro+`analyzeStartup($idea, $industry, $capital)`**Startup Kalkulator** ✨Pro+Social Media Generator
----------------------

[](#social-media-generator)

```
$content = $ai->generateSocialContent(
    topic:     'Launch unserer neuen App',
    platforms: ['instagram', 'linkedin', 'twitter', 'tiktok'],
    tone:      'viral',  // professional|casual|viral|educational|motivational
    industry:  'Tech',
    keywords:  ['KI', 'App', 'Launch'],
    cta:       'Jetzt kostenlos testen',
    language:  'Deutsch'
);

// Jede Plattform bekommt spezifischen Content:
echo $content['instagram']['post'];
echo $content['linkedin']['post'];
echo $content['twitter']['tweet'];
echo $content['tiktok']['script'];
echo $content['tiktok']['hook'];
```

Startup Kalkulator
------------------

[](#startup-kalkulator)

```
$analysis = $ai->analyzeStartup(
    idea:          'Automatisierte Social-Media-Planung für KMU',
    industry:      'SaaS',
    targetGroup:   'KMU',
    location:      'Deutschland',
    capital:       50000,
    founders:      2,
    experience:    'hoch',  // gering|mittel|hoch|experte
    businessModel: 'saas'
);

echo $analysis['success_probability']['overall'] . '%';
echo $analysis['financial_projection']['startup_costs']['einmalig'];
echo $analysis['financial_projection']['break_even_months'];
echo $analysis['verdict'];  // EMPFOHLEN|BEDINGT_EMPFOHLEN|NICHT_EMPFOHLEN

foreach ($analysis['risks'] as $risk) {
    echo "{$risk['risk']} → {$risk['mitigation']}\n";
}
```

Fehlerbehandlung
----------------

[](#fehlerbehandlung)

```
use Ncod3v\AI\Exception\AuthException;
use Ncod3v\AI\Exception\RateLimitException;
use Ncod3v\AI\Exception\ApiException;

try {
    $result = $ai->generateSocialContent('Mein Thema', ['instagram']);
} catch (AuthException $e)    { /* Ungültiger Key */ }
  catch (RateLimitException $e) { /* Limit erreicht */ }
  catch (ApiException $e)     { /* Sonstiger Fehler */ }
```

Changelog
---------

[](#changelog)

### v1.1.0 (2026-04-28)

[](#v110-2026-04-28)

- ✨ `generateSocialContent()` — 7 Plattformen optimiert
- ✨ `analyzeStartup()` — Erfolgswahrscheinlichkeit + Finanzplanung

### v1.0.0 (2026-04-27)

[](#v100-2026-04-27)

- 🎉 Initial Release, 11 Dienste

Links
-----

[](#links)

- **Docs:**
- **Portal:**
- **Packagist:**

Lizenz
------

[](#lizenz)

MIT

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance91

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

43d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/968dacf99627f81dcc9ed6ce5a5bb8413dfa285fcf96d9579a0e6649843fda20?d=identicon)[ncod3v](/maintainers/ncod3v)

---

Top Contributors

[![ncod3v](https://avatars.githubusercontent.com/u/274052787?v=4)](https://github.com/ncod3v "ncod3v (4 commits)")

---

Tags

translationaicode analysisnlpclaudechatbotllmanthropicKIsql generator

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ncod3v-ai-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ncod3v-ai-sdk/health.svg)](https://phpackages.com/packages/ncod3v-ai-sdk)
```

###  Alternatives

[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

317117.1k1](/packages/cognesy-instructor-php)[vizra/vizra-adk

Vizra Agent Development Kit - A comprehensive Laravel package for building intelligent AI agents.

29431.7k](/packages/vizra-vizra-adk)[helgesverre/toon

Token-Oriented Object Notation - A compact data format for reducing token consumption when sending structured data to LLMs

125103.5k19](/packages/helgesverre-toon)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

74287.1k1](/packages/mozex-anthropic-laravel)[mozex/anthropic-php

PHP client for the Anthropic API: messages, streaming, tool use, thinking, web search, code execution, batches, and more.

49480.9k16](/packages/mozex-anthropic-php)[claude-php/claude-php-sdk-laravel

Laravel integration for the Claude PHP SDK - Anthropic Claude API

5219.2k](/packages/claude-php-claude-php-sdk-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
