devfaysal / static-options
Collection of array values of different staic option for the select fields
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/devfaysal/static-options
Requires
- php: ^7.0|^8.0
README
Do not write or copy/paste in every project. Just require the package and use the global function
For Division/District/Upazila data of Bangladesh, check devfaysal/laravel-bangladesh-geocode
composer require devfaysal/static-options
Blood Group
bloodGroupOptions()
[
'A+' => 'A+',
'B+' => 'B+',
'AB+' => 'AB+',
'O+' => 'O+',
'A-' => 'A-',
'B-' => 'B-',
'AB-' => 'AB-',
'O-' => 'O-'
]
Religion
religionOptions()
[
'Islam' => 'Islam',
'Christianity' => 'Christianity',
'Hinduism' => 'Hinduism',
'Buddhism' => 'Buddhism',
'Other' => 'Other'
]
Gender
genderOptions()
[
'Male' => 'Male',
'Female'=> 'Female',
'Other' => 'Other'
]