I need to check SSL Certification type is it OV or EV for domain.
Currently i use this library to fetch certificate data from domain https://github.com/spatie/ssl-certificate
$certificate = SslCertificate::download()->forHost('apple.com');
for testing purpose i use apple.com domain.
the output is:


