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

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

This package is auto-updated.

Last update: 2025-09-28 10:06:14 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'
]