php-any/origami
php-any/origami has 64 GitHub stars and 4 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 18:04 UTC. Last push 2026-11-12.
What you can do
- HTML Embedding: Direct HTML code blocks
- Duck Typing: like keyword for structural matching
- Chinese Keywords: Support for Chinese programming keywords
- Functional Programming: Rich array methods (map, filter, reduce, etc.)
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Origami-lang is an innovative hybrid scripting language that deeply integrates PHP's rapid development capabilities with Go's efficient concurrency model. It also incorporates some Java and TypeScript conventions.
Web & AppsREADME.md
OriginalOrigami-lang
Origami-lang is an innovative hybrid scripting language that deeply integrates PHP's rapid development capabilities with Go's efficient concurrency model. It also incorporates some Java and TypeScript conventions.
⚠️ Current Status
The codebase has not been optimized yet, and performance is not optimized. Please use it as a tool, do not use it in production environments.
🚀 Core Features
🎯 Go Reflection Integration
- Easy Registration: Register Go functions and structs to the script domain with zero configuration
- Automatic Type Conversion: Seamless integration between Go and script types
- Named Parameters: Support for constructor named parameters
🎨 Syntax Fusion
- PHP Compatibility: Supports most PHP syntax patterns
- Go Concurrency:
spawnkeyword for coroutines - Type System: Type declarations and nullable types
- Generic Classes: Support for generic syntax
class DB<T>
💡 Special Features
- HTML Embedding: Direct HTML code blocks
- Duck Typing:
likekeyword for structural matching - Chinese Keywords: Support for Chinese programming keywords
- Functional Programming: Rich array methods (
map,filter,reduce, etc.)
🚀 Quick Start
git clone https://github.com/php-any/origami.git
cd origami
go build -o origami .
./origami script.zy
📚 Documentation
For detailed documentation, please visit the Documentation Center:
- Quick Start - Get started in 5 minutes
- Language Reference - Complete language documentation
- Syntax - Language syntax
- Data Types - Supported data types
- Functions - Function definitions
- Classes - Object-oriented programming
- Array Methods - Array operations
- Go Integration - Integrate Go functions and structs
- Database Module - Complete ORM documentation
- Standard Library - Built-in library reference
📝 Examples
- examples/spring — Web application demo (REST API + SQLite + HTML pages)
- examples/illuminate-db — Standalone illuminate/database (Eloquent ORM) usage without the Laravel framework
- examples/laravel — Laravel 10 ecosystem compatibility
- examples/laravel13 — Official Laravel 13 skeleton on Origami
See also the test cases for more usage patterns.
💬 Discussion Group

📄 License
MIT License