Download the PHP package commandstring/blood without Composer
On this page you can find all versions of the php package commandstring/blood. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package blood
BloodTypes
A composer package for bloodtypes (website is in the gui branch)
Installation
composer require commandstring/blood
Usage
Creating Blood
You can either create a blood object with proteins, antibodies, or type
Checking compatibility between blood types
Getting Proteins and Antibodies
`
Getting Type
Example Script
Output
Blood Type: A-
Proteins:
- A
Antibodies:
- B
- RH
Can Donate To:
- A-
- A+
- AB-
- AB+
Can Receive From:
- A-
- A+
- AB-
- AB+
Is Universal Donor: No
Is Universal Recipient: No
Blood Type: A+
Proteins:
- A
- RH
Antibodies:
- B
Can Donate To:
- A+
- AB+
Can Receive From:
- A+
- AB+
Is Universal Donor: No
Is Universal Recipient: No
Blood Type: B-
Proteins:
- B
Antibodies:
- A
- RH
Can Donate To:
- B-
- B+
- AB-
- AB+
Can Receive From:
- B-
- B+
- AB-
- AB+
Is Universal Donor: No
Is Universal Recipient: No
Blood Type: B+
Proteins:
- B
- RH
Antibodies:
- A
Can Donate To:
- B+
- AB+
Can Receive From:
- B+
- AB+
Is Universal Donor: No
Is Universal Recipient: No
Blood Type: AB-
Proteins:
- A
- B
Antibodies:
- RH
Can Donate To:
- AB-
- AB+
Can Receive From:
- AB-
- AB+
Is Universal Donor: No
Is Universal Recipient: No
Blood Type: AB+
Proteins:
- A
- B
- RH
Antibodies:
Can Donate To:
- AB+
Can Receive From:
- AB+
Is Universal Donor: No
Is Universal Recipient: Yes
Blood Type: O-
Proteins:
Antibodies:
- A
- B
- RH
Can Donate To:
- A-
- A+
- B-
- B+
- AB-
- AB+
- O-
- O+
Can Receive From:
- A-
- A+
- B-
- B+
- AB-
- AB+
- O-
- O+
Is Universal Donor: Yes
Is Universal Recipient: No
Blood Type: O+
Proteins:
- RH
Antibodies:
- A
- B
Can Donate To:
- A+
- B+
- AB+
- O+
Can Receive From:
- A+
- B+
- AB+
- O+
Is Universal Donor: No
Is Universal Recipient: No
All versions of blood with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package commandstring/blood contains the following files
Loading the files please wait ....