Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@duncanmcclean
Copy link
Member

This pull request adds illuminate/support as an explicit dependency for the Statamic CLI.

By requiring it explicitly, it ensures that the collect() function is available, which we use in our "do you want to setup a database" prompt.

When we tested the database prompt before release, we probably had other global Composer dependencies installed which required illuminate/support, making collect() available. However, if you don't have any other global dependencies installed, you might have seen a Call to undefined function Statamic\Cli\Concerns\collect() error.

Fixes #96.

@duncanmcclean duncanmcclean merged commit 2156131 into master Feb 17, 2025
@duncanmcclean duncanmcclean deleted the illuminate-support branch February 21, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use the Database option with Statamic CLI 3.6.0 - Receive FATAL ERROR

2 participants