Skip to content

Phony Cloud Platform

"Realistic data. Zero risk."

Phony is the next-generation synthetic data platform combining open-source developer tools with enterprise-grade cloud services.


Quick Start

Get up and running with Phony in under 5 minutes.

Step 1: Install the CLI

bash
# macOS / Linux
curl -fsSL https://phony.cloud/install.sh | sh

# Windows (PowerShell)
irm https://phony.cloud/install.ps1 | iex

# Verify installation
phony --version

Step 2: Train Your First Model

Create a file with sample names (one per line):

bash
# Create sample data
cat > names.txt << 'EOF'
Mehmet
Ayşe
Fatma
Ahmet
Zeynep
Mustafa
Elif
Ali
Hatice
Hüseyin
EOF

# Train the model
phony train names.txt -o names.phony

# Inspect the model
phony info names.phony

Output:

Model: names.phony
├── Locale: auto-detected
├── N-gram order: 3
├── Token type: character
├── Unique tokens: 18
├── Total n-grams: 45
└── Created: 2026-01-31T10:00:00Z

Step 3: Generate Data (PHP)

bash
# Install PHP library
composer require phonycloud/phony-php
php
<?php
use Phonyland\Phony\Phony;

// Load your custom model
$names = Phony::loadModel('names.phony');

// Generate 10 Turkish-sounding names
for ($i = 0; $i < 10; $i++) {
    echo $names->generate() . "\n";
}

// Output:
// Mehmetay
// Zeyneli
// Fatmah
// Ayset
// Huseyina

Step 4: Use with Laravel (Optional)

bash
composer require phonycloud/phony-laravel
php
// In a Factory
use Phonyland\Phony\Facades\Phony;

public function definition(): array
{
    return [
        'first_name' => Phony::name()->first(),
        'last_name' => Phony::name()->last(),
        'email' => Phony::email()->generate(),
        'created_at' => now(),
    ];
}

// In a Seeder
User::factory()->count(1000)->create();

Next Steps

GoalResource
Understand generator typesArchitecture → Generator Types
Learn PDL schema languageArchitecture → PDL Specification
Explore CLI commandsReference → CLI
Connect to CloudProduct → Overview

What You Get: OSS vs Cloud

CapabilityOSS (Free)Cloud (Paid)
Pre-trained models
Local model training
Model portability (.phony)
DB column training
Database sync & anonymization
Data snapshots
Mock API hosting
Team collaboration

Open source is free forever for individual developers. Cloud adds the infrastructure features teams need.

Going deeper? The Product Overview covers the platform vision, architecture, and use cases. For the data engine, see the 7 generator types (4 core + 3 advanced) and the PDL specification. Pricing is on the Pricing page.

Phony Cloud — Documentation & Specification