mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
9 lines
461 B
Markdown
9 lines
461 B
Markdown
# Extending StaticPHP
|
|
|
|
<!-- TODO: Introduce the three extension strategies:
|
|
1. Contributing to core — edit src/Package/ and config/pkg/ directly.
|
|
2. External Registry — point SPC_REGISTRIES at a custom spc.registry.yml.
|
|
3. Vendor Mode — package classes + config as a Composer library (composer require).
|
|
Explain when to use each approach. Show a minimal end-to-end example:
|
|
one Library class, one config YAML, one spc.registry.yml, run spc. -->
|