Download the PHP package edisonlabs/policy-verification without Composer
On this page you can find all versions of the php package edisonlabs/policy-verification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download edisonlabs/policy-verification
More information about edisonlabs/policy-verification
Files in edisonlabs/policy-verification
Package policy-verification
Short Description PHP library for policies verification and report.
License GPL-2.0+
Informations about the package policy-verification
Policy verification
Overview
Policy verification is a simple library that provides base classes for creating and reporting security policy checks.
Each policy check returns as a result whether the policy passes or not. Other information is also reported like the actions to be taken if the policy is failing.
Usage
This library does not provide any policy check by default. To create new checks, create a new Composer package and add a dependency to it.
Now create the policy check classes extending the base class provided by the library.
The classes must be created at /src/EdisonLabs/PolicyVerification
.
This is a requirement for the library to automagically locate and perform the checks during the report generation.
Configure the autoload in composer.json
.
Re-create the Composer autoloader.
Report
There are two ways to generate the policy check results report: programmatically and/or by command-line.
Programmatically
Command
The command is located at vendor/bin/policy-verification
. Include the vendor/bin
directory in the system $PATH
to run this command from anywhere.
Type policy-verification --help
to see all the available options.
All versions of policy-verification with dependencies
symfony/console Version ^6.2
symfony/dependency-injection Version ^6.0