devfaysal/static-options

Collection of array values of different staic option for the select fields

v0.2.0 2023-08-12 10:21 UTC

This package is auto-updated.

Last update: 2024-04-28 06:33:54 UTC


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'
]