Download the PHP package zero-to-prod/ssl-cert-validator-cli without Composer
On this page you can find all versions of the php package zero-to-prod/ssl-cert-validator-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zero-to-prod/ssl-cert-validator-cli
More information about zero-to-prod/ssl-cert-validator-cli
Files in zero-to-prod/ssl-cert-validator-cli
Package ssl-cert-validator-cli
Short Description A cli for validating ssl certificates.
License MIT
Homepage https://github.com/zero-to-prod/ssl-cert-validator-cli
Informations about the package ssl-cert-validator-cli
Zerotoprod\SslCertValidatorCli
Contents
- Introduction
- Requirements
- Installation
- Documentation Publishing
- Automatic Documentation Publishing
- Usage
- Available Commands
ssl-cert-validator-cli:srcssl-cert-validator-cli:validate-certssl-cert-validator-cli:validate-hostssl-cert-validator-cli:get-certssl-cert-validator-cli:self-signed-cert
- Docker Image
- Local Development
- Image Development
- Contributing
Introduction
Requirements
- PHP 8.1 or higher.
Installation
Install Zerotoprod\SslCertValidatorCli via Composer:
This will add the package to your project's dependencies and create an autoloader entry for it.
Documentation Publishing
You can publish this README to your local documentation directory.
This can be useful for providing documentation for AI agents.
This can be done using the included script:
Automatic Documentation Publishing
You can automatically publish documentation by adding the following to your composer.json:
Usage
Run this command to see the available commands:
Available Commands
ssl-cert-validator-cli:src
Displays the project's GitHub repository URL.
Usage:
Arguments: None
Example:
ssl-cert-validator-cli:validate-cert
Determines if an SSL certificate is valid for a given hostname. Returns the hostname if valid, empty string otherwise.
Usage:
Arguments:
hostname(required) - The hostname to validate the SSL certificate for
Example:
ssl-cert-validator-cli:validate-host
Determines if a hostname is valid. Returns the hostname if valid, empty string otherwise.
Usage:
Arguments:
hostname(required) - The hostname to validate
Example:
ssl-cert-validator-cli:get-cert
Retrieves SSL certificate information for a given hostname in JSON format.
Usage:
Arguments:
hostname(required) - The hostname to retrieve SSL certificate information for
Example:
ssl-cert-validator-cli:self-signed-cert
Determines if the SSL certificate is self-signed for a given hostname. Returns the hostname if self-signed, empty string otherwise.
Usage:
Arguments:
hostname(required) - The hostname to check for self-signed certificate
Example:
Docker Image
You can also run the cli using the docker image:
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
All versions of ssl-cert-validator-cli with dependencies
ext-json Version *
symfony/console Version ^7.2
zero-to-prod/ssl-cert-validator Version ^82.0
zero-to-prod/data-model Version ^81.9
zero-to-prod/package-helper Version ^1.1.3