ComposerJson
class ComposerJson
Methods
bool
exists()
Determine whether the application has a composer.json file.
string|null
phpConstraint()
Get the application's PHP version constraint.
array
requiredExtensions()
Get the Composer-required PHP extensions.
array
suggestedExtensions()
Get the Composer-suggested PHP extensions.
array|null
contents()
Get the decoded composer.json contents.
Details
at line 22
bool
exists()
Determine whether the application has a composer.json file.
at line 30
string|null
phpConstraint()
Get the application's PHP version constraint.
at line 42
array
requiredExtensions()
Get the Composer-required PHP extensions.
at line 55
array
suggestedExtensions()
Get the Composer-suggested PHP extensions.
at line 67
array|null
contents()
Get the decoded composer.json contents.