Skip to content

Phony Cloud Platform - Roadmap


Overview

This roadmap provides a week-by-week implementation plan starting March 2026. The strategy follows three phases that build upon each other.

┌─────────────────────────────────────────────────────────────────────────┐
│                    PHONY IMPLEMENTATION STRATEGY                         │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  PHASE 1: OPEN SOURCE FOUNDATION (Mar-Jun 2026)                         │
│  ══════════════════════════════════════════════                         │
│  Goal: Become the best Faker alternative for PHP/Laravel                │
│  Revenue: $0 (community building)                                        │
│                                                                          │
│         │                                                                │
│         ▼                                                                │
│                                                                          │
│  PHASE 2: CLOUD PLATFORM (Jul 2026 - Feb 2027)                          │
│  ═════════════════════════════════════════════                          │
│  Goal: Monetize with SaaS features OSS can't provide                    │
│  Revenue: $0 → $150K ARR                                                 │
│                                                                          │
│         │                                                                │
│         ▼                                                                │
│                                                                          │
│  PHASE 3: SCALE & ECOSYSTEM (Mar 2027+)                                 │
│  ═══════════════════════════════════════                                │
│  Goal: Language expansion, enterprise, exit preparation                  │
│  Revenue: $150K → $600K+ ARR → Exit                                      │
│                                                                          │
└─────────────────────────────────────────────────────────────────────────┘

Phase 1: Open Source Foundation

Timeline: March - June 2026 (16 weeks) Goal: Establish the foundation with a language-agnostic training tool and PHP as first generation library

Architecture Decision

Training and Generation are SEPARATE concerns:

  • Training: Rust CLI (single tool for all languages, fast, MIT licensed)
  • Generation: Native per language (PHP first, then Python, TypeScript)
┌─────────────────────────────────────────────────────────────────────────┐
│  WHY THIS ARCHITECTURE                                                   │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  • Training is one-time, generation is continuous → monetize speed      │
│  • Rust CLI is language-agnostic → PHP dev, Python dev, anyone can train│
│  • Native generation = easy install (composer/pip/npm), no FFI          │
│  • Same Rust core reused in Cloud → maximum performance where it's paid │
│                                                                          │
└─────────────────────────────────────────────────────────────────────────┘

Repository Structure

┌─────────────────────────────────────────────────────────────────────────┐
│  PUBLIC REPOSITORIES (MIT Licensed)                                      │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  phonycloud/phony-core          Rust library (crates.io: phony-core)     │
│  ├── src/ngram/                N-gram training + generation algorithms  │
│  ├── src/model/                Model I/O (JSON + gzip)                  │
│  └── src/tokenizer/            Tokenization (char/word modes)           │
│                                                                          │
│  phonycloud/phony-cli           Rust CLI binary (crates.io: phony)       │
│  ├── src/commands/             train, info, validate, stats             │
│  ├── src/cloud/                login, generate, sync (→ API calls)      │
│  ├── models/                   Bundled pre-trained models               │
│  └── Cargo.toml                depends on phony-core                    │
│                                                                          │
│  phonycloud/phony-php           PHP generation library (Packagist)       │
│  phonycloud/phony-laravel       Laravel integration (Packagist)          │
│  phonycloud/phony-python        Python generation library (PyPI)         │
│                                                                          │
├─────────────────────────────────────────────────────────────────────────┤
│  PRIVATE REPOSITORY (Proprietary)                                        │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  phonycloud/cloud               Cloud Platform                            │
│  ├── dashboard/                Nuxt 3 (TypeScript + Vue)                │
│  ├── engine/                   Go backend (sync, mock API, jobs)        │
│  ├── rust/                     Cloud-specific Rust (FFI, optimizations) │
│  │   ├── src/ffi/              C ABI for Go (CGO)                       │
│  │   ├── src/flatbuffers/      Zero-copy model loading                  │
│  │   ├── src/parallel/         Parallel training (rayon)                │
│  │   └── Cargo.toml            depends on phony-core (git/crates.io)    │
│  └── infrastructure/           Terraform, Docker, CI/CD                 │
│                                                                          │
└─────────────────────────────────────────────────────────────────────────┘

Month 1: Rust CLI Foundation (Weeks 1-4)

Week 1: Project Setup & N-gram Core

DeliverableDescription
Rust project structurephonycloud/phony-core repo with core library
N-gram tokenizationCharacter-level Markov chain implementation
Frequency map buildingEfficient storage of n-gram frequencies
Unit tests100% coverage on core algorithms

Week 2: .phony Format & Training

DeliverableDescription
.phony format specgzipped JSON format, versioned, zero dependencies
Model metadataN-gram size, training source, version, locale
CLI repo setupphonycloud/phony-cli repo, depends on phony-core
phony train commandTrain from txt, csv, json files
Format documentationSpec published on phony.cloud/docs

Week 3: Model Commands & Validation

DeliverableDescription
phony info commandDisplay model metadata
phony validate commandCheck model integrity
phony stats commandShow N-gram distribution statistics
Error handlingClear error messages for all failure modes

Week 4: Pre-trained Models & Release

DeliverableDescription
tr_TR modelsperson_names, company_names, street_names, city_names
en_US modelsperson_names, company_names, street_names, city_names
de_DE modelsperson_names, company_names, street_names, city_names
Generic modelsemail_usernames, product_names, lorem_words
Install scriptcurl -fsSL https://phony.cloud/install.sh | sh
crates.io publishphony-core library + phony CLI binary
GitHub Releasev0.1.0 with binaries for Linux, macOS, Windows

Week 4 Milestone: phony-core + phony-cli published, works on all platforms, 5+ locales


Month 2: PHP Generation Library (Weeks 5-8)

Week 5: PHP Core Implementation

DeliverableDescription
Model loadingRead .phony format (gzipped JSON, native PHP)
N-gram generationWeighted random walk algorithm (native PHP)
Seed supportDeterministic output for CI/CD
Composer packagephonycloud/phony-php structure

Week 6: PHP API Design

DeliverableDescription
Fluent APIPhony::name()->first(), Phony::email()->generate()
Custom modelsPhony::loadModel('/path/to/custom.phony')
ConstraintsMin/max length, prefix, suffix
Batch generationEfficient for large volumes

Week 7: Laravel Integration

DeliverableDescription
Service ProviderAuto-discovery
FacadePhony::
Factory integrationfn() => Phony::name()->full()
Config fileconfig/phony.php

Week 8: Laravel Commands & Traits

DeliverableDescription
phony:generate commandGenerate data using seeder
phony:models commandList available models
PhonySeeder traitEasy seeding
Packagist publishphonycloud/phony-php, phonycloud/phony-laravel

Week 8 Milestone: PHP packages on Packagist, Laravel integration working


Month 3: Documentation & Community (Weeks 9-12)

Week 9: Documentation Site

DeliverableDescription
VitePress setupphony.cloud/docs
Getting Started guideInstallation, first use, examples
CLI referenceAll commands documented
PHP API referenceFull API documentation

Week 10: Tutorials & Examples

DeliverableDescription
Tutorial: Custom ModelsTrain your own models
Tutorial: Laravel FactoriesReal-world factory examples
Tutorial: Locale SupportMulti-language data generation
Example repositoryComplete example projects

Week 11: Community Launch Prep

DeliverableDescription
README polishClear value proposition
CONTRIBUTING.mdHow to contribute
GitHub Issues templatesBug reports, feature requests
Twitter/X account@phonyland

Week 12: OSS Launch

DeliverableDescription
Product Hunt launchPrepared assets
Hacker News postShow HN
Laravel News pitchArticle submission
Reddit postsr/php, r/laravel

Week 12 Milestone: Public launch, community engagement started


Month 4: Community Growth (Weeks 13-16)

Weeks 13-16: Iteration & Growth

ActivityDescription
Bug fixesRespond to community issues
Feature requestsPrioritize and implement
More localesAdd fr_FR, es_ES, pt_BR based on demand
Performance tuningOptimize based on real usage
Blog postsTechnical deep-dives

Phase 1 Success Criteria:

  • [ ] phony-core published on crates.io
  • [ ] phony-cli published (GitHub releases, install script, crates.io)
  • [ ] .phony format spec documented
  • [ ] Pre-trained models for 5+ locales
  • [ ] PHP library on Packagist (phonycloud/phony-php) with 200+ weekly downloads
  • [ ] Laravel integration working
  • [ ] 500+ GitHub stars (across repos)
  • [ ] Featured in Laravel News or similar

Phase 2: Cloud Platform

Timeline: July 2026 - February 2027 (32 weeks) Goal: Monetize with features that require infrastructure

Implementation Order

OrderFeatureWeeksRationale
2.1Platform Foundation4Everything depends on this
2.2Schema-First Generation3Simpler than DB sync, validates core
2.3Custom Model Training UI2Differentiator from competitors
2.4Database Sync (MVP)4Core enterprise feature, MySQL only
2.5Mock API (Read-Only)3Unique feature, no competitor has
2.6Package Registry (MVP)3Community ecosystem, discoverability
2.7Database Sync (Full)3PostgreSQL, incremental, scheduled
2.8Mock API (Stateful)2After read-only proves valuable
2.9Package Registry (Full)2Private packages, teams, analytics
2.10Snapshots3Point-in-time captures
2.11Python Library3Language expansion (lightweight)

2.1 Platform Foundation (Weeks 17-20)

Technical Stack:

DASHBOARD (Nuxt)                 GO ENGINE
├── Nuxt 3                       ├── Go 1.22+
├── Vue 3 + Composition API      ├── pgx (PostgreSQL)
├── TypeScript                   ├── go-mysql-driver
├── Tailwind CSS                 ├── net/http (API server)
├── Auth.js (authentication)     └── asynq (job queue)
├── Stripe SDK (billing)
└── Nuxt UI (components)

RUST (Cloud repo)                INFRASTRUCTURE
├── phony-core (via crates.io)   ├── PostgreSQL 15
├── FFI layer (C ABI → Go)       ├── Redis (cache, queue)
├── FlatBuffers (zero-copy)      └── S3-compatible storage
├── Parallel training (rayon)
└── N-gram engine (5M/sec)

Week 17: Auth & User Management

DeliverableDescription
User registrationEmail/password + OAuth (GitHub, Google)
Login/logoutSession management
Password resetEmail flow
2FA setupTOTP implementation

Week 18: Teams & Projects

DeliverableDescription
Organization modelCreate, invite members
Role systemOwner, Admin, Developer, Viewer
Project modelCreate, list, delete projects
API key managementGenerate, revoke, scope

Week 19: Billing Foundation

DeliverableDescription
Stripe integrationCustomer, subscription
Tier enforcementFeature gating by plan
Usage trackingFoundation for metering
Invoice managementBilling history

Week 20: CLI Cloud Commands

DeliverableDescription
phony loginOAuth flow
phony logoutSession end
phony whoamiShow current user/org
API clientGo client for CLI

Week 20 Milestone: Platform MVP deployed, users can sign up and pay


2.2 Schema-First Generation (Weeks 21-23)

Week 21: PDL Parser & Validation

DeliverableDescription
PDL JSON parserParse schema files
Schema validationValidate against spec
Error messagesClear validation errors
Generator resolutionResolve generator references

Week 22: Generation Engine

DeliverableDescription
Rust core integrationFFI bridge to Go
Entity generationGenerate based on PDL
Relationship handlingFK integrity
Output formatsJSON, CSV, SQL

Week 23: Web UI & Export

DeliverableDescription
Schema uploadWeb UI for PDL files
Visual previewSample generated data
Export optionsDownload in formats
phony generateCLI generation command

Week 23 Milestone: Schema-first generation working in UI and CLI


2.3 Custom Model Training UI (Weeks 24-25)

Week 24: Training Sources

DeliverableDescription
File uploadTXT, CSV, JSON
Paste textQuick training
Source previewView before training
Training job queueAsync processing

Week 25: Model Management

DeliverableDescription
Model listView all models
Model downloadExport .phony file
Model versioningTrack versions
Team sharingShare within org

Week 25 Milestone: Custom model training live for paid tiers


2.4 Database Sync MVP (Weeks 26-29)

Week 26: Connection Management

DeliverableDescription
MySQL connectorConnection pooling
SSH tunnelSecure connection
Credential storageEncrypted vault
Connection testingVerify connectivity

Week 27: Schema Analysis

DeliverableDescription
Table introspectionList tables, columns
FK detectionInfer relationships
PII detectionHeuristic + pattern matching
Transform suggestionsAuto-suggest rules

Week 28: Sync Engine

DeliverableDescription
Full syncComplete table copy
Streaming transformBatch processing
AnonymizationApply transforms
Progress trackingReal-time status

Week 29: Sync UI & CLI

DeliverableDescription
Connection wizardStep-by-step setup
Transform editorVisual rule builder
phony sync commandCLI sync trigger
Sync historyView past syncs

Week 29 Milestone: Database sync working for MySQL


2.5 Mock API Read-Only (Weeks 30-32)

Week 30: API Generation

DeliverableDescription
PDL → REST mappingGenerate endpoints
Route generationDynamic routing
Response generationData from PDL
Deterministic outputSeed-based

Week 31: Hosting & Domains

DeliverableDescription
Subdomain routing*.api.phony.cloud
CORS configurationCross-origin support
Rate limitingPer-tier limits
Edge cachingCloudflare integration

Week 32: Pagination & Auth Sim

DeliverableDescription
PaginationCursor + offset
Infinite scrollDeterministic paging
API key simulationTest auth flows
Bearer token simulationJWT validation mock

Week 32 Milestone: Mock API read-only endpoints live


2.6 Package Registry MVP (Weeks 33-35)

Week 33: Registry Core

DeliverableDescription
Package modelName, version, metadata
Upload APIPublish packages
Download APIInstall packages
CLI integrationphony packages install/publish

Week 34: Search & Discovery

DeliverableDescription
Search engineFull-text search
Browse UICategory navigation
Package detailReadme, stats
Version historyAll versions

Week 35: Quality & Metrics

DeliverableDescription
Download metricsWeekly/total
Semver validationEnforce versioning
Dependency checkValidate deps
DocumentationHow to publish

Week 35 Milestone: Public package registry live


2.7 Database Sync Full (Weeks 36-38)

Week 36: PostgreSQL Support

DeliverableDescription
PostgreSQL connectorConnection + introspection
Type mappingPG-specific types
Copy commandBulk loading
TestingFull test suite

Week 37: Incremental Sync

DeliverableDescription
Timestamp-basedUpdated_at tracking
Change detectionCompare checksums
Merge strategyUpdate vs replace
Conflict handlingResolution rules

Week 38: Scheduling

DeliverableDescription
Cron schedulerScheduled syncs
Webhook triggersCI/CD integration
NotificationsSlack, email
Retry logicExponential backoff

Week 38 Milestone: PostgreSQL, incremental, scheduling complete


2.8 Mock API Stateful (Weeks 39-40)

Week 39: State Management

DeliverableDescription
State storagePer-endpoint state
POST/PUT/DELETEMutation endpoints
State persistenceConfigurable TTL
Reset APIClear state

Week 40: Advanced Features

DeliverableDescription
Webhook simulationOutbound hooks
Latency simulationConfigurable delays
Error simulationRate-based errors
Custom domainsBusiness tier

Week 40 Milestone: Stateful Mock API complete


2.9 Package Registry Full (Weeks 41-42)

Week 41: Private Packages

DeliverableDescription
Private visibilityPer-org packages
Access controlTeam permissions
Scoped packages@org/package-name
Billing integrationTier enforcement

Week 42: Analytics & Badges

DeliverableDescription
Analytics dashboardUsage metrics
Verified badgesPublisher verification
Dependency graphVisual deps
DocumentationComplete guides

Week 42 Milestone: Full package registry with private packages


2.10 Snapshots (Weeks 43-45)

Week 43: Snapshot Core

DeliverableDescription
Full snapshotComplete DB capture
StorageS3-compatible
EncryptionEnvelope encryption
MetadataManifest, checksums

Week 44: Restore & Incremental

DeliverableDescription
Full restoreComplete recovery
Table-level restoreSelective recovery
Incremental snapshotsDelta storage
Point-in-timePrecise restore

Week 45: Lifecycle & UI

DeliverableDescription
Retention policiesTiered storage
Scheduled snapshotsAuto-create
Diff comparisonCompare versions
Schema drift detectionTrack changes

Week 45 Milestone: Snapshots feature complete


2.11 Advanced Data Generation (Weeks 46-48)

These features differentiate Phony from basic faker libraries and provide production-quality synthetic data.

Week 46: Linked Generators & Consistency

DeliverableDescription
Linked generator engineMulti-column coherent generation (city+country+postal)
Consistency systemSame input → same output across tables/databases
Format-preserving encryptionAutomatic PK/FK consistency
Geographic data linkingValid location combinations with coordinates

Week 47: Statistical Generators

DeliverableDescription
Categorical generatorPreserve frequency distributions
Continuous generatorNormal, lognormal, exponential distributions
Algebraic generatorDetect and preserve math relationships
Multivariate generatorPreserve correlations between columns

Week 48: Event Sequences & Cross-Table

DeliverableDescription
Event sequence engineChronologically valid date series
Cross-table operationsSum, count, avg across related tables
Computed aggregatesOrder totals = sum of line items
Conditional event logicBranching timelines with probabilities

Week 48 Milestone: Advanced data generation features complete


2.12 Python Library (Weeks 49-51)

Week 46: Python Core

DeliverableDescription
.phony loaderNative Python
N-gram generationRandom walk
Seed supportDeterministic
PyPI packagephony

Week 47: Python API

DeliverableDescription
Fluent APIPhony.name().first()
Custom modelsLoad from file
Batch generationLarge volumes
DocumentationFull docs

Week 48: Framework Integrations

DeliverableDescription
pytest fixturesEasy testing
FastAPI exampleAPI integration
Django exampleORM integration
Cloud SDKphony-cloud

Week 48 Milestone: Python library on PyPI

Phase 2 Success Criteria:

  • [ ] Internal production use (dogfooding)
  • [ ] 10+ beta customers using sync feature
  • [ ] 5+ paying customers
  • [ ] $30K+ ARR
  • [ ] <5% monthly churn
  • [ ] 50+ packages in registry

Phase 3: Scale & Ecosystem

Timeline: March 2027+ (ongoing) Goal: Enterprise readiness, language expansion, exit preparation

3.1 Enterprise Features

CategoryFeatures
AuthSSO (SAML, OIDC), SCIM provisioning, RBAC, IP allowlisting
ComplianceSOC2 Type II, GDPR docs, HIPAA BAA, Data residency
DeploymentDedicated instance, VPC peering, On-premise, Air-gapped
Support99.9%+ SLA, 24/7 support, Dedicated success manager

3.2 Additional Languages (Signal-Driven)

Decision Signals:

  • GitHub issues requesting language
  • Cloud customers asking for language
  • Gap in market (no good Faker alternative)
  • Strategic partnership opportunity

Candidates (Revenue-Optimized):

LanguagePriorityRationale
TypeScriptOptional Year 2Huge ecosystem, browser support
GoFutureCloud-native
RubyFutureRails ecosystem

3.3 Advanced Data Features

ARR TriggerFeatures
$150K+Differential Privacy: Mathematical privacy guarantees (ε-differential privacy), Laplace/Gaussian mechanisms, GDPR/HIPAA compliance certification
$200K+Geo-Aware Generation: Lat/long fuzzing with k-anonymity, HIPAA Safe Harbor address generation, Population-aware postal code truncation
$250K+Structured Data Masks: JSON path masking, XML XPath masking, Regex capture group transformation, HTML content redaction
$300K+Format-Preserving Transformation: Character scramble (email, phone), Credit card masking (Luhn-valid), SSN/ID format preservation
$400K+Database subsetting, NER-based PII detection, Automated data discovery
$600K+Unstructured de-identification, Document redaction, Image/PDF anonymization
$1M+Guided redaction workflows, Expert determination support, Compliance audit reports

3.4 Statistical & ML Features

ARR TriggerFeatures
$300K+Distribution Learning: Auto-detect distributions from source data, Histogram matching, Percentile preservation
$400K+Correlation Preservation: Learn and preserve multi-column correlations, Covariance matrix replication
$600K+AI Synthesizer: VAE-based deep learning for high-fidelity data synthesis, Automatic relationship detection

3.5 AI Agent Integration

FeatureDescription
MCP ServerModel Context Protocol for AI agents
AGENTS.mdAgent integration documentation
llms.txtLLM-readable documentation
OpenAPI SpecFull API specification

Phase 3 Success Criteria:

  • [ ] $600K-1M+ ARR
  • [ ] 300+ paying customers
  • [ ] SOC2 Type II certified
  • [ ] At least 2 enterprise customers ($5K+/mo)
  • [ ] At least 1 additional language (if demand)
  • [ ] Exit-ready metrics

Dependency Graph

PHASE 1: FOUNDATION (Weeks 1-16)
══════════════════════════════════════════════════════════════════════════

  PUBLIC REPOSITORIES
  ───────────────────

  phonycloud/phony-core (Rust library, crates.io)
  │   ├── N-gram training + generation algorithms
  │   ├── Model I/O (JSON + gzip)
  │   └── Tokenization (char/word modes)

  │   depends on ▼

  phonycloud/phony-cli (Rust CLI, binary: phony)
  │   ├── train, info, validate, stats commands
  │   ├── cloud commands (login, generate, sync → API calls)
  │   └── Pre-trained models (tr_TR, en_US, de_DE, etc.)

  │   .phony models used by ▼

  phonycloud/phony-php (PHP generation library)
  │   (reads .phony models, native PHP generation)

  │   extends ▼

  phonycloud/phony-laravel (Laravel integration)


  Documentation + OSS LAUNCH (Week 12)

══════════════════════════════════════════════════════════════════════════

PHASE 2: CLOUD PLATFORM (Weeks 17-48)
══════════════════════════════════════════════════════════════════════════

  PRIVATE REPOSITORY: phonycloud/cloud
  ────────────────────────────────────

  phonycloud/phony-core ═══════════▶ cloud/rust/ (FFI + optimizations)
  (via crates.io/git)                  │
                                       ├── FFI layer (C ABI)
                                       ├── FlatBuffers (zero-copy)
                                       └── Parallel training

                                               ▼ CGO
                                       cloud/engine/ (Go)

                                       ├── Sync Worker
                                       ├── Mock API Server
                                       ├── Training Worker
                                       └── Export Manager


                                       cloud/dashboard/ (Nuxt)

  ├── Platform Foundation (auth, billing, projects)      [Week 20]

  ├── Schema-First ────▶ Custom Model UI                 [Week 25]
  │       │                    │
  │       └─────────┬──────────┘
  │                 │
  │                 ▼
  ├── Mock API (Read-Only) ────▶ Mock API (Stateful)    [Week 40]

  ├── Database Sync (MVP) ────▶ Database Sync (Full)    [Week 38]

  ├── Package Registry (MVP) ──▶ Registry (Full)         [Week 42]

  ├── Snapshots                                          [Week 45]

  └── phonycloud/phony-python (Python library)            [Week 48]

══════════════════════════════════════════════════════════════════════════

PHASE 3: SCALE (Year 2+, Signal-driven)
══════════════════════════════════════════════════════════════════════════

  phonycloud/phony-typescript (npm: @phonycloud/phony)
  │   (reads .phony models, native JS generation)
  │   (works in Node.js AND browser)

  └── TypeScript Cloud SDK

  Enterprise Features
  ├── SSO (SAML, OIDC)
  ├── Audit logs
  └── On-premise option

  Advanced Data Features (if demand)
  ├── Database subsetting
  ├── NER for PII detection
  └── Unstructured data

CLI Command Reference

The phony CLI is a unified tool for both offline (free) and cloud (paid) operations.

┌─────────────────────────────────────────────────────────────────────────┐
│                    UNIFIED CLI (Single Binary: phony)                    │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  OFFLINE COMMANDS (Free, MIT Licensed, No Auth Required)                │
│  ═══════════════════════════════════════════════════════                │
│                                                                          │
│  $ phony train input.txt -o model.phony        # Train from file        │
│  $ phony train data.csv --column name          # Train from CSV column  │
│  $ phony info model.phony                      # Show model metadata    │
│  $ phony validate model.phony                  # Validate model format  │
│  $ phony stats model.phony                     # Show N-gram statistics │
│                                                                          │
│  CLOUD COMMANDS (Requires: phony login)                                 │
│  ════════════════════════════════════════                               │
│                                                                          │
│  $ phony login                                 # Authenticate with cloud│
│  $ phony logout                                # End session            │
│  $ phony whoami                                # Show current user/org  │
│                                                                          │
│  $ phony models                                # List cloud models      │
│  $ phony models push custom.phony              # Upload model to cloud  │
│  $ phony models pull en_US/names               # Download cloud model   │
│                                                                          │
│  $ phony sync                                  # Run sync job           │
│  $ phony sync --status                         # Check sync status      │
│                                                                          │
│  $ phony snapshot create --name "v1.2"         # Create snapshot        │
│  $ phony snapshot list                         # List snapshots         │
│  $ phony snapshot restore v1.2                 # Restore snapshot       │
│                                                                          │
│  $ phony mock start                            # Start local mock API   │
│  $ phony mock deploy                           # Deploy to cloud        │
│                                                                          │
│  $ phony generate users --count 1000           # Cloud generation (5M/s)│
│  $ phony generate --schema schema.yaml         # Schema-first generation│
│                                                                          │
│  $ phony packages install org/package          # Install package        │
│  $ phony packages publish                      # Publish package        │
│                                                                          │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  SIMILAR TO:  gh (GitHub CLI)    → gh auth login / gh repo create       │
│               vercel             → vercel login / vercel deploy         │
│               supabase           → supabase login / supabase db push    │
│                                                                          │
│  BENEFIT:     Single tool for entire workflow                           │
│               Offline-first (training always works without auth)        │
│               Progressive disclosure (cloud features unlock with login) │
│                                                                          │
└─────────────────────────────────────────────────────────────────────────┘

Timeline Summary

PhasePeriodDurationKey Milestones
Phase 1Mar-Jun 202616 weeksRust CLI, PHP Library, Laravel, OSS Launch
Phase 2Jul 2026-Feb 202732 weeksCloud Platform, All Features, Python Library
Phase 3Mar 2027+OngoingEnterprise, TypeScript, Scale

Monthly Checkpoints

MonthDateKey Deliverable
Month 1Apr 2026Rust CLI v0.1.0 released
Month 2May 2026PHP packages on Packagist
Month 3Jun 2026Documentation complete
Month 4Jul 2026OSS community growing
Month 5Aug 2026Platform Foundation live
Month 6Sep 2026Schema-first + Model Training
Month 7Oct 2026Database Sync MVP (MySQL)
Month 8Nov 2026Mock API + Package Registry MVP
Month 9Dec 2026Full DB Sync + Stateful Mock API
Month 10Jan 2027Full Registry + Snapshots
Month 11Feb 2027Python Library complete
Month 12Mar 2027$150K ARR target, Phase 3 begins

Phony Cloud Platform Specification