Download the PHP package crealoz/easy-audit-free without Composer

On this page you can find all versions of the php package crealoz/easy-audit-free. 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 easy-audit-free

EasyAudit Module

Latest Stable Version Packagist Packagist

This module is designed to provide auditing capabilities for Magento applications.

What is EasyAudit?

EasyAudit is a Magento module that provides auditing capabilities for Magento applications. It is designed to help developers and/or website owners identify potential issues in their codebase and improve the overall quality of their Magento applications.

Features

For more details on the processors used in the EasyAudit project, refer to the Existing Processors.

Installation

The package is available on Packagist, so you can install it via Composer:

If you want to install the module manually (for participation), follow these steps:

  1. Clone the repository:

  2. Navigate to the project directory:

  3. Install the module via Composer:

Usage

Audit can be run using magento CLI command:

or using the back-office.

How to add a new audit subject?

General considerations

There is a single entry point for the audit process, which is the \Crealoz\EasyAudit\Service\Audit class. This class is responsible for running the audit process and handling the audit results. The audit process will loop through the list of types of audit subjects and run the audit processes for each of them.

Create a new type of audit subject

For the moment, the audit process is divided into two types: xml, php and logic. If you want to create a new type, you need to create a new class that implements the TypeInterface interface. The class should be located in the Service\Type directory. The new class can extend the AbstractType class, which provides a default implementation for the TypeInterface.

The new class should be registered in the di.xml file, in the typeMapping arguments of the class Crealoz\EasyAudit\Service\Type\TypeFactory. Please note that the entry in the typeMapping arguments should be in the format type => class and type will be used to identify the type of the audit subject for the processors of \Crealoz\EasyAudit\Service\Audit.

Create a new audit subject

Create a new class that implements ProcessorInterface. The class should be located in the Service\Processor directory. It can extend the AbstractProcessor class, which provides a default implementation for the ProcessorInterface methods.

Register the new audit subject

In di.xml file, add a new item node to the processor arguments of the class Crealoz\EasyAudit\Service\Audit. Please note that the processors are divided by types (e.g. : di, view...) and if you want to create a new type. The logic have to be implemented and the new type have to implement the Crealoz\EasyAudit\Service\Processor\ProcessorInterface interface.

Adding a New File Getter

To add a new file getter similar to DiXmlGetter, follow these steps:

Step 1: Define the Virtual Type in di.xml

Add a new virtual type definition in your di.xml file. Replace NewFileGetter with your desired name, and update the path and pattern arguments as needed.

Step 2: Register the New File Getter in FileGetterFactory

Add your new file getter to the fileGetters array in di.xml:

Contributing

Contributions are welcome. Please make sure to update tests as appropriate.


All versions of easy-audit-free with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
magento/framework Version *
ext-simplexml Version *
phpunit/phpunit Version *
ext-zip Version *
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 crealoz/easy-audit-free contains the following files

Loading the files please wait ....