Get an array of available starter kits #11906
-
I want to create a custom installer for starter kits. Is there a way to programmatically get the list/array of available Statamic starter kits? |
Beta Was this translation helpful? Give feedback.
Answered by
duncanmcclean
Jun 30, 2025
Replies: 1 comment 1 reply
-
You could use the same API endpoint we use in the Statamic CLI when you do https://github.com/statamic/cli/blob/21561319ba5b1920cf8dadbe0a47006e27d95530/src/NewCommand.php#L38 It's worth noting that these APIs are undocumented because we don't intend for third-parties to use them. We might make changes to the API in the future without any notice. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
iuriemalai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could use the same API endpoint we use in the Statamic CLI when you do
statamic new
:https://github.com/statamic/cli/blob/21561319ba5b1920cf8dadbe0a47006e27d95530/src/NewCommand.php#L38
https://github.com/statamic/cli/blob/21561319ba5b1920cf8dadbe0a47006e27d95530/src/NewCommand.php#L1242-L1245
It's worth noting that these APIs are undocumented because we don't intend for third-parties to use them. We might make changes to the API in the future without any notice.