Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt

Use this file to discover all available pages before exploring further.

Choose Your SDK

Official client libraries for Python, TypeScript, PHP, Java, Flutter, and Rust — all with full feature parity.

Python SDK

pip install law4devs · Python 3.8+

TypeScript SDK

npm install law4devs · Node 18+ / Deno / Bun

PHP SDK

composer require law4devs/law4devs · PHP 8.1+

Java SDK

Maven · Java 17+ · Zero dependencies

Flutter SDK

pub add law4devs · Dart 3+ · Flutter & CLI

Rust SDK

cargo add law4devs · Rust 1.85+ · Tokio async

Feature Comparison

FeaturePythonTypeScriptPHPJavaFlutterRust
Auto-pagination with iter()
Full-text search
Rate limit retry with backoff
Async / non-blocking support✓ asyncio✓ Promise/async✓ Future/Stream✓ Tokio/async
Type safety✓ hints✓ interfaces✓ Records✓ null-safe✓ ownership
Stream-based iteration✓ AsyncGenerator✓ Iterable✓ Stream✓ Stream
Framework filtering
Compliance deadline queries
Mobile / web compatible

Which SDK Should I Use?

Use Python if…

You’re building backend automation, data pipelines, or scripts. Best for compliance engineers who want to process and analyse regulatory data programmatically.

Use TypeScript if…

You’re building Node.js APIs, serverless functions, or browser-side tools. Best when you need async operations and strong type safety.

Use PHP if…

You’re working in a Laravel, Symfony, or WordPress application. The PHP SDK integrates directly into Composer-based projects with no extra setup.

Use Java if…

You’re building JVM-based services, Spring Boot applications, or enterprise backend systems. The Java SDK uses only stdlib — no external dependencies required.

Use Flutter if…

You’re building a mobile, desktop, or web Flutter app, or a Dart CLI tool. The only SDK with full Flutter Web compatibility and Stream-based auto-pagination.

Use Rust if…

You’re building high-performance backend services, CLI tools, or systems software where memory safety and zero-cost abstractions matter. Best for latency-critical applications that need async Tokio runtimes and compile-time type guarantees.

Supported Frameworks

All 19 EU regulatory frameworks are available across every SDK — from GDPR and CRA to the AI Act, DORA, NIS2, and beyond.

View all supported frameworks →

Full list of 19 EU regulations with CELEX numbers and status