Replies: 3 comments
-
Happy new year to you too 🍾 If you 're getting syntax errors, make sure you're using the required PHP version. I can definitely recommend using composer for installing PHP package. It's the de facto standard in the PHP community nowadays. Should you decide to pick it up, I'm sure you'll get lots of Clap Clap Clap from the people you work with. |
Beta Was this translation helpful? Give feedback.
-
Out of interest, why isn't composer available in your environment, and which environment is that @ITEvo? |
Beta Was this translation helpful? Give feedback.
-
This issue is actually nothing to do with Composer. You are running the code on an EOL version of PHP. You need PHP 7.4 or higher. |
Beta Was this translation helpful? Give feedback.
-
This works only where composer is available, not in environments where composer is not.
Requiring it as library throws an error
Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) on line 11
Which makes this package totally useless for who can't use composer. Clap clap clap.
Beta Was this translation helpful? Give feedback.
All reactions