WienerWiener
  • Introduction
  • Comparison
  • Pricing
  • FAQ
  • Use Cases
  • License
  • Unity Asset vs Standalone
  • Obfuscation & Tamper Detection
  • Mismatch Detection & Debug
  • Localization
  • Versioning
  • Google Sheets Input
  • Excel
  • YAML
  • Settings
  • Data Format
  • Convert
  • ValueOnly Format
  • Startup
  • Samples
  • Converter
  • YAML Editor
  • Setting Editor
  • 日本語
  • English
  • Introduction
  • Comparison
  • Pricing
  • FAQ
  • Use Cases
  • License
  • Unity Asset vs Standalone
  • Obfuscation & Tamper Detection
  • Mismatch Detection & Debug
  • Localization
  • Versioning
  • Google Sheets Input
  • Excel
  • YAML
  • Settings
  • Data Format
  • Convert
  • ValueOnly Format
  • Startup
  • Samples
  • Converter
  • YAML Editor
  • Setting Editor
  • 日本語
  • English
  • Data Format

    • Data Formats
    • C#
    • Json
    • PHP
    • SQL
    • CSV
    • Manual (HTML format)

PHP

Overview

Convert Static Game Data into PHP format.

Example

Basic/Basic.xlsm#Dictionary

ABC
IdName
1Rice
2Bread
3Pasta

yaml

header:
  input_path:
  - path: Basic/Basic.xlsm
  sheet: 辞書
  row: 1
  base_type: Normal
  source_type: Normal
  container_type: Dictionary
  output_path: Basic
  name: BasicDictionary
fields:
- key: Id
  name: id
  type: Int
- key: Name
  name: name
  type: String
...

Output PHP

<?php

namespace Wiener;

/**
 * This file is auto-generated.
 */
class BasicDictionary
{
    public static $value =
	[
        1 => [ "Id" => 1, "Name" => 'ご飯' ],
        2 => [ "Id" => 2, "Name" => 'パン' ],
        3 => [ "Id" => 3, "Name" => 'パスタ' ]
    ];
} 
Last Updated:: 6/10/26, 7:32 PM
Contributors: artisan-sawasaka
Prev
Json
Next
SQL