friendsofsilverstripe / silverstripe-maintenance
Toolset to help with the day by day maintenance work.
Installs: 2 773
Dependents: 2
Suggesters: 0
Security: 0
Stars: 18
Watchers: 6
Forks: 4
Type:silverstripe-vendormodule
Requires
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3
Suggests
- bringyourownideas/silverstripe-composer-security-checker: Checks for known security vulnerabilities
- bringyourownideas/silverstripe-composer-update-checker: Checks for available updates of dependencies
Replaces
README
Overview
The SilverStripe Maintenance module reduces your maintenance related work.
Requirements
- You require the composer.json and composer.lock files to be available and readible in the environment you plan to use this module. All information is based on these files.
- Install at least one of the modules mentioned under "Source of the information".
- The queuedjob module is a dependency as the checks are scheduled using queuedjobs. This saves you time and work at the end.
Note: Release line 1 is compatible with SilverStripe 3. For SilverStripe 4, please see the 2.x release line.
Suggested Modules
While the installation of the following modules is optional, it is recommended:
- bringyourownideas/silverstripe-composer-security-checker checks for known security vulnerabilities
- bringyourownideas/silverstripe-composer-update-checker checks for available updates of dependencies
Installation
Install the maintenance package.
composer require bringyourownideas/silverstripe-maintenance
Build schema and queue a job to populate the database:
sake dev/build
Run the update task to gather update information if the update-checker module is installed:
sake dev/tasks/UpdatePackageInfoTask
Run the security task if that module is installed:
sake dev/tasks/SecurityAlertCheckTask
Source of the Information
The information is based on your composer files. These need to be available in the environment the module is used in. If installed, the modules below process the content of the composer files and check suitable sources for information regarding your set up.
The main functionality comes from these modules:
Documentation
Please see the user guide section.
Contributing
Contributions are welcome! Create an issue, explaining a bug or propose development ideas. Find more information on contributing in the SilverStripe developer documentation.
Reporting Issues
Please create an issue for any bugs you've found, or features you're missing.