Download the PHP package dmlab/module-disable-log without Composer

On this page you can find all versions of the php package dmlab/module-disable-log. 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 module-disable-log

DmLab_DisableLog

Per-source admin toggles to switch off Magento's high-frequency core logging.

CI codecov Packagist Version Downloads PHP Magento

Unlike Yireo DisableLog2, it also switches off search-term logging (search_query), next to customer logins and online visitors. Magento writes to the database on ordinary page loads for all three, and those tables keep growing. Switch each source off from the admin; nothing changes until you do. With visitor tracking off, a password change or reset still logs out the customer's other sessions.

Install

Requirements

Magento 2.4.7-p9+ · PHP 8.2–8.5

2.4.7-p9 is the first 2.4.7 release that keeps the login time in the customer session, which the session validator needs.

Configuration

Stores → Configuration → DMLab → Disable Log (default scope, ACL DmLab_DisableLog::config).

Toggle Config path Stops
Disable Customer Login/Logout Log dmlab_disable_log/general/disable_customer_log customer_log writes (last login/logout times)
Disable Online Visitor Tracking dmlab_disable_log/general/disable_visitor_log customer_visitor writes
Disable Search Query Log dmlab_disable_log/general/disable_search_log search_query writes (new terms, popularity, result counts)

All toggles default to No, are independent and reversible, and apply to every area (storefront, admin, API):

Side effects

Architecture

around plugins on the core writers return early when their toggle is on; no core class is patched or replaced:

A customer session validator applies the password-change session cutoff (against the login time kept in the session) to sessions without a customer_visitor row, also after visitor tracking is re-enabled.

Tests: vendor/bin/phpunit -c Test/Unit/phpunit.xml.

License

OSL-3.0


All versions of module-disable-log with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0||~8.3.0||~8.4.0||~8.5.0
magento/framework Version ^103.0.7
magento/module-config Version ^101.2.7
magento/module-customer Version ^103.0.7-p9
magento/module-reports Version ^100.4.7
magento/module-search Version ^101.1.7
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 dmlab/module-disable-log contains the following files

Loading the files please wait ...