Download the PHP package pantheon-systems/drupal_tls_checker without Composer

On this page you can find all versions of the php package pantheon-systems/drupal_tls_checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package drupal_tls_checker

Drupal TLS Compatibility Checker

Unofficial Support Test Drush CLI Lint GitHub Release GitHub License

Stable tag: 1.0.0
Contributors: jazzsequence


A scanner for outgoing HTTP requests in Drupal code to check TLS 1.2/1.3 compatibility.

Installation

Via Composer

Manual Installation

  1. Download the module from the GitHub repository.
  2. Extract the downloaded archive.
  3. Upload the extracted folder to the modules/custom directory of your Drupal installation.
  4. Navigate to the Extend page in your Drupal admin panel (/admin/modules).
  5. Find the TLS Compatibility Checker module in the list and enable it.
  6. Click the Install button.

Usage

There are two ways to use the TLS Checker: via the Drupal admin or via Drush. The module adds a TLS Compatibility Checker page to /admin/config/development/tls-checker. This page allows you to run a TLS scan on your site against /modules and /themes and all subdirectories (including /contrib and /custom). When the scan is complete, a list of URLs that are not compatible with TLS 1.2 or higher will be displayed.

You can also run the scan using the Drush command described below.

In either case, both passing and failing urls are stored to the database. Subsequent scans will automatically skip the TLS check for URLs that are known to have passed previously (while still testing URLs that were previously failing). This data can be reset at any time either by using the tls-checker:reset command from Drush or in the admin with the "Reset TLS Scan Data" button.

After a scan has been run, if there are any URLs detected that fail the TLS 1.2/1.3 check, an alert will be displayed on the admin page with a list of the failing URLs.

Drush Commands

scan

Runs the TLS checker scan across all PHP files in the given directories (defaults to /modules and /themes). You can specify a directory by passing a --directory flag, e.g.:

Examples

Or, in a Pantheon environment using Terminus:

report

Returns a full report of checked URLs and whether they passed or failed the TLS check. Supports multiple formats (table, JSON, CSV, YAML).

Examples

Or, in a Pantheon environment using Terminus:

reset

Resets the stored passing and failing URLs so the next scan will re-check all discovered URLs.

Examples

How do I know it worked?

If the scan doesn't find anything bad, you should be good to go. If it does, it will list the URLs that it found that weren't compatible. However, if you want to validate that it's working, you can create a new module with the following code:


All versions of drupal_tls_checker with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pantheon-systems/drupal_tls_checker contains the following files

Loading the files please wait ...