PHPackages                             marco-introini/certinfo-cli - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. marco-introini/certinfo-cli

ActiveProject[CLI &amp; Console](/categories/cli)

marco-introini/certinfo-cli
===========================

SSL Certificate check in the command line.

v2.0.0(2y ago)218[1 issues](https://github.com/marco-introini/certinfo-cli/issues)MITPHPPHP ^8.1

Since Nov 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/marco-introini/certinfo-cli)[ Packagist](https://packagist.org/packages/marco-introini/certinfo-cli)[ Docs](https://marcointroini.it)[ RSS](/packages/marco-introini-certinfo-cli/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (9)Versions (10)Used By (0)

Certinfo
========

[](#certinfo)

A CLI application that shows Certificate Information of single X509 certificate (PEM and DER format) or multiple certificates (check a directory)

This can also be used for converting PEM certificate to DER and vice-versa

---

User Installation
-----------------

[](#user-installation)

### Global installation

[](#global-installation)

You can install the binary in global composer directory:

```
composer global require marco-introini/certinfo-cli

```

---

Usage
-----

[](#usage)

All the available commands are visible using:

```
certinfo

```

### Check a single file

[](#check-a-single-file)

```
certinfo check:file

```

*filename* can be a PEM, CRT, CER or DER file

[![](readme_img_file.png)](readme_img_file.png)

### Check every file in a directory

[](#check-every-file-in-a-directory)

```
certinfo check:directory

```

[![](readme_img_dir.png)](readme_img_dir.png)

### Check an HTTPS Url

[](#check-an-https-url)

```
certinfo check:url

```

### Convert PEM to DER

[](#convert-pem-to-der)

```
certinfo convert:pem2der

```

### Convert DER to PEM

[](#convert-der-to-pem)

```
certinfo convert:der2pem

```

---

Developer information
---------------------

[](#developer-information)

Inside the Makefile there is the build command to create the executable

### Test

[](#test)

There are several test written using Pest inside the tests/Feature directory.

Before executing Pest you must generate stub certificates inside the tests/stubs directory. There is a Makefile recipe for automating everything:

```
make test

```

---

Thanks
------

[](#thanks)

This package is based on Laravel Zero.

Laravel Zero was created by [Nuno Maduro](https://github.com/nunomaduro) and [Owen Voke](https://github.com/owenvoke), and is a micro-framework that provides an elegant starting point for your console application. It is an **unofficial** and customized version of Laravel optimized for building command-line applications.

---

Support the development
-----------------------

[](#support-the-development)

If you like my work you can buy me a coffee

- via [PayPal](https://paypal.me/marcointroini)

License
-------

[](#license)

This is an open-source software licensed under the MIT license.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~40 days

Recently: every ~72 days

Total

9

Last Release

964d ago

Major Versions

v1.2.1 → v2.0.02023-09-19

PHP version history (2 changes)V1.0.0PHP ^8.0

v1.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/01b7629b248c3a25d02c6e302e8441f4cc4b4f05c31fc7d543b72dc0b1eded80?d=identicon)[marco-introini](/maintainers/marco-introini)

---

Top Contributors

[![marco-introini](https://avatars.githubusercontent.com/u/89445565?v=4)](https://github.com/marco-introini "marco-introini (44 commits)")

---

Tags

cliconsolelaravellaravel-zerocertificatesssl

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/marco-introini-certinfo-cli/health.svg)

```
[![Health](https://phpackages.com/badges/marco-introini-certinfo-cli/health.svg)](https://phpackages.com/packages/marco-introini-certinfo-cli)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M368](/packages/laravel-zero-framework)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2582.1M11](/packages/nunomaduro-laravel-console-task)[nunomaduro/laravel-console-summary

A Beautiful Laravel Console Summary for your Laravel/Laravel Zero commands.

662.0M3](/packages/nunomaduro-laravel-console-summary)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
