Skip to content

Conversation

@crazywhalecc
Copy link
Owner

@crazywhalecc crazywhalecc commented Apr 25, 2025

What does this PR do?

Add ext-skel, lib-skel and source-skel command, to help newcomer and maintainer add extension or library more elegant.

Feature:

  • Prompt integration
  • Generate basic extension and library class
  • Generate unix autoconf example
  • Generate unix CMake example
  • Generate windows CMake example
  • Generate windows sln example
  • Add config to existing file
  • Support vendor mode
  • Support phar mode

Usage:

# skeleton for extension foo
bin/spc dev:ext-skel foo

# skeleton for library bar
bin/spc dev:lib-skel bar

# skeleton for source baz
bin/spc dev:source-skel baz

Checklist before merging

  • If you modified *.php, run composer cs-fix at local machine.
  • If you changed the behavior of static-php-cli, update docs in ./docs/.

@crazywhalecc crazywhalecc added new feature New feature or request kind/framework Issues related to CLI app framework labels Apr 25, 2025
@crazywhalecc crazywhalecc self-assigned this Apr 25, 2025
@crazywhalecc crazywhalecc added this to the 3.0 Release milestone Jul 31, 2025
@crazywhalecc
Copy link
Owner Author

Closed as not planned anymore.

@crazywhalecc crazywhalecc deleted the feat/skel branch January 21, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/framework Issues related to CLI app framework new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants