bolt / requirements
Requirement definitions for Bolt projects.
Installs: 99 533
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 10
Forks: 1
Open Issues: 0
Requires
- php: ^5.5.9 || ^7.0
- bolt/common: ^1.1
- composer/ca-bundle: ^1.0
- symfony/requirements-checker: ^1.0
Requires (Dev)
- bolt/bolt: ^3.4
- passwordlib/passwordlib: ^1.0@beta
This package is auto-updated.
Last update: 2024-11-29 05:32:30 UTC
README
PHP and system requirement definitions for Bolt.
Using
<?php use Bolt\Requirement\BoltRequirements; use Symfony\Requirements\Requirement; $requires = new BoltRequirements('/path/to/bolt'); /** @var Requirement $require */ foreach ($requires->getFailedRequirements() as $require) { echo $require->getTestMessage(), PHP_EOL; echo $require->getHelpText(), PHP_EOL; } /** @var Requirement $require */ foreach ($requires->getFailedRecommendations() as $require) { echo $require->getTestMessage(), PHP_EOL; echo $require->getHelpText(), PHP_EOL; }