Skip to content
View rokde's full-sized avatar

Organizations

@ipunkt

Block or report rokde

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
rokde/README.md
Robert Kummer β€” @rokde

Website Clonio PHP Script Location


About

Senior Laravel developer with 25 years of hands-on PHP experience β€” starting from PHP 3 in 2001, falling in love with Laravel 4, and building production-grade SaaS tools ever since. My stack of choice is Laravel + Inertia.js + Vue.js, combining a rock-solid PHP backend with a seamless, reactive frontend β€” no full-page reloads, no REST overhead.

I believe software should be crafted, not just shipped. Every package, every feature, every line of code is an opportunity to leave things better than you found them.


πŸ›‘οΈ Clonio β€” GDPR-Compliant Database Cloning CLI

Latest release License

MIT-licensed CLI that clones production-like data into dev, test, staging & CI β€” with PII anonymized in-flight. Terminal-first, runs in your infrastructure, no web app to operate.

Clonio data flow: Production DB β†’ Anonymization β†’ Test DB

Key Features

  • πŸ”„ Column-level transformations (fake / hash / mask / null)
  • 🧠 Schema-aware β€” handles added, removed, renamed columns
  • πŸ”‘ Key remapping across connections
  • πŸ“‹ Cryptographically signed audit logs (HMAC-SHA256)
  • βš™οΈ DevOps-ready β€” binary, PHAR, Composer, Docker (GitHub Actions, GitLab CI, cron…)
  • 🏠 Runs in your infrastructure β€” no cloud, no web app, no external data transmission

Supported Databases

Database Status
PostgreSQL βœ… Supported
MySQL βœ… Supported
MariaDB βœ… Supported
MS SQL Server βœ… Supported

Tech Stack: PHP 8.4+ Β· Terminal-first CLI Β· .cloning.yaml

Install: standalone binary Β· PHAR Β· Composer dev dependency Β· Docker image

🌐 clonio.dev  Β·  πŸ“¦ github.com/clonio-dev/clonio-cli  Β·  MIT licensed


⚑ PHP Script β€” Embedded Scripting Language for PHP

A scripting language with JavaScript-like syntax that runs sandboxed inside PHP β€” let your users write automation and business logic without exposing raw PHP or spinning up Node.js.

Features

  • 🧩 JavaScript-inspired syntax β€” familiar to any developer
  • πŸ”’ Sandboxed & whitelisted β€” full control over exposed functions
  • 🌳 AST-based engine β€” both PHP & PHP Script render from the same AST
  • 🎨 Monaco editor integration β€” Monarch language definition included
  • ⏱️ Configurable execution time limits
  • πŸ§ͺ 100% test coverage via Pest

Roadmap

  • Mermaid.js AST flowcharts
  • Monaco components for Vue.js / React / Vanilla JS

Script Syntax

// Greet the user
echo 'Hello ' + user.name;

// Business logic
totalLogins = user.logins.count();
score = totalLogins * 10 + user.bonus;

if (score > 500) {
    echo 'Power user!';
}

// Loop through data
foreach (users_list as u) {
    echo '- ' + u;
}

// Permission gates
if (user.hasPermission('admin')) {
    echo 'Access granted!';
}

PHP Integration

use PhpScript\Core\Engine;

$engine = new Engine();
$engine->set('user', new User());          // expose a PHP object
$engine->set('users_list', $users);        // expose an array
$engine->setExecutionTimeLimit(5);         // prevent infinite loops

echo $engine->execute($userScript);        // PII stays yours, logic stays theirs

πŸ“– Documentation  Β·  πŸ“¦ github.com/php-script/php-script  Β·  v1.0.3  Β·  232 commits Β· 4 contributors


πŸ”§ Tech Stack

PHP Laravel Vue.js Inertia.js Tailwind CSS Vite Pest PHPStan MySQL PostgreSQL Docker GitHub Actions


πŸ“¦ Open Source Packages

Package Description Lang ⭐
laravel-starter-kit Laravel Starter Kit with DDD and built-in SaaS features Vue 5
laravel-subscription-manager Complete subscription management for Laravel PHP 9
number-generator Invoice/customer number generator with placeholders PHP 2
laravel-pergament File-based CMS for Laravel β€” Markdown + YAML front matter PHP β€”
state-machine Generic, framework-agnostic state machine in PHP PHP β€”
laravel-clone-database-command Clone a database with value overwriting (Clonio origin) PHP β€”
laravel-utilities PHP & Laravel utility collection PHP β€”
laravel-buymeacoffee-webhook-handler Buy Me a Coffee webhook handler for Laravel PHP β€”

πŸ—ΊοΈ 25 Years of PHP

2001 ──────────────── PHP 3 Β· first lines of code
2004–2008 ──────────── PHP 4 & 5 Β· custom CMS & web applications
2010 ───────────────── @ipunkt Β· open source collaboration begins
2013 ───────────────── Laravel 4 Β· fell in love, never looked back
2015–2018 ──────────── open source packages Β· subscriptions, state machines
2019 ───────────────── Inertia.js + Vue 3 Β· the perfect Laravel combo
2022 ───────────────── founded Robert Kummer IT
2024 ───────────────── laravel-starter-kit Β· DDD architecture for SaaS
2025 ───────────────── PHP Script Β· embedded scripting language for PHP apps
2026 ───────────────── Clonio CLI Β· MIT-licensed GDPR-compliant DB cloning

GitHub Achievements

🦈 Pull Shark Γ—3  Β·  πŸ‘₯ Pair Extraordinaire  Β·  ⚑ Quickdraw  Β·  🌍 Arctic Code Vault Contributor  Β·  ⭐ Starstruck


Robert Kummer IT · Hohenstaufenstraße 35 · 10779 Berlin

robert-kummer.de  Β·  post@robert-kummer.de  Β·  clonio.dev  Β·  php-script docs

Crafting software since 2001

Pinned Loading

  1. laravel-pergament laravel-pergament Public

    A file-based CMS package for Laravel. Renders documentation, blog posts, standalone pages from markdown files with YAML front matter.

    PHP 3

  2. laravel-starter-kit laravel-starter-kit Public

    Laravel Starter Kit with DDD and builtin features every SaaS needs.

    Vue 5

  3. laravel-subscription-manager laravel-subscription-manager Public

    Laravel subscription manager

    PHP 9 4

  4. number-generator number-generator Public

    A number generator with placeholders for laravel. It creates various number-based formats like invoice numbers or customer numbers.

    PHP 2

  5. state-machine state-machine Public

    A generic state machine implementation

    PHP 1

  6. hive hive Public

    A nice little php framework for learning things

    PHP