php_codegen 0.3.0

Generate PHP code from Rust using a fluent API 🐘 🦀
Documentation
default:
  @just --list

# build the library
build:
    cargo build

# regenerate schema
update-examples:
    rm examples/simple.php examples/complete.php
    cargo run --example simple >> examples/simple.php
    cargo run --example complete >> examples/complete.php

# detect linting problems.
lint:
    cargo fmt --all -- --check
    cargo clippy

# fix linting problems.
fix:
    cargo fmt
    cargo clippy --fix --allow-dirty --allow-staged

test:
    cargo test --all