Problem/Motivation
Requested by Razem
- Having a Varbase installation requirement before installation will guide people on the needed PHP extensions and memory limit and time for the process
- Maybe some links for a doc link
- Have that as a notice only. The requirement will not block the process of installing
Linked to changes after:
Issue #3217859: Support PHP8.1 and MySQL 8 for Varbase ~9.0 and all used components with automated testing
✅ Developer Documentation support on feature change/addition
Steps to reproduce
When installing a new Varbase build, in Verify requirements phase, it's better to inform and guide people about the needed PHP extensions and memory limit and time for the process
Proposed resolution
Use hook_requirements to add requirements about those items.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ✅ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-9.0.7, varbase-10.0.0-alpha1
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes

API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Issue #3277590 by Abdullah Yassin: Have a Varbase installation requirement ( notification, not a blocker)
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Screenshot from 2022-05-17 10-46-46.png | 153.22 KB | Abdullah Yassin |
| #12 | Add-varbase-installation-requirements-warnings-3277590-12.patch | 2.58 KB | Abdullah Yassin |
| #11 | Screenshot from 2022-05-08 11-06-17.png | 121.55 KB | Abdullah Yassin |
Issue fork varbase-3277590
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
Abdullah Yassin commentedNeeds final wording.
Comment #5
Abdullah Yassin commentedComment #6
rajab natshahComment #7
rajab natshahNeeds work on the following points:
“Your”to“Current system”in messages.“We recommend that you”to“Recommended for the current system”Example:
It feels that this group of messages works for Server-side Requirements for Evaluation or Development
It could be nice to add a link for that. or let them know that these are recommended requirements for installation and development only.
And they can be changed for Server-side Requirements for Production
Linked to changes after:
Issue #3217859: Support PHP8.1 and MySQL 8 for Varbase ~9.0 and all used components with automated testing
✅ Developer Documentation support on feature change/addition
Requirements
PHP 7.4 or higher. PHP 8.0 is recommended.
Varbase Project Template for Platform.sh
The runtime the application uses
type: 'php:8.0'Varbase Project Template for Lando
Lando PHP config
php: '8.0'Comment #8
rajab natshahComment #9
Abdullah Yassin commentedComment #10
Abdullah Yassin commentedComment #11
Abdullah Yassin commentedChanged on branch

9.0.xAdded php-yaml notic
This is the result:
Comment #12
Abdullah Yassin commentedHere is a patch for adding requirements warnings with a new words mentioned by Razem.

Comment #13
rajab natshahComment #16
rajab natshahComment #17
rajab natshahComment #18
rajab natshahComment #19
rajab natshahComment #20
rajab natshah✅ Released varbase-9.0.7
Comment #21
rajab natshahComment #22
rajab natshah✅ Released varbase-10.0.0-alpha1