Download the PHP package mateuszbieniek/ezplatform-database-health-checker without Composer

On this page you can find all versions of the php package mateuszbieniek/ezplatform-database-health-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 ezplatform-database-health-checker

Description

This bundle allows you to check your database against know database corruption and fix them. Also, you can perform a Smoke Test on your project to determine if all Contents are accessible (ignoring permissions). The additional functionality is cleaning up your database from leftovers left by ezplatform-page-fieldtype bundle.

Supported database corruptions:

Usage

The following bundle introduces two commands: ezplatform:database-health-check and ezplatform:page-fieldtype-cleanup.

Fixing corruptions will modify your database! Always perform the database backup before running those commands!

After running those commands it is recommended to regenerate URL aliases, clear persistence cache and reindex.

ezplatform:database-health-check

Bundle adds db-checker SiteAccess with cache_pool set to NullAdapter so no SPI cache is used when retrieving Content from the database during Smoke Test. If corruption is found, you will be asked if you want to fix it.

All Content's location will be checked for subitems, before removing it. In the case of existing subitems, you will be presented with an option to swap location with a different one, so subitems are preserved (Content won't be deleted after swap so script has to be re-run if you wish to delete corrupted Content).

Please note that Command may run for a long time (depending on project size). You can speed it up by skipping Smoke Testing with --skip-smoke-test option.

ezplatform:page-fieldtype-cleanup

Warning! This command is only available for Enterprise versions of the platform.

This command searches your database for ezpage_* records which are leftovers from https://issues.ibexa.co/browse/EZEE-3430 and deletes them if necessary to prevent uncontrolled growth of the database.

Installation

Requirements

This bundle requires eZ Platform 2.5+

1. Enable EzPlatformDatabaseHealthCheckerBundle

Edit app/AppKernel.php, and add

at the end of list of bundles in dev environment.

2. Install mateuszbieniek/ezplatform-database-health-checker


All versions of ezplatform-database-health-checker with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ezsystems/ezpublish-kernel Version ^7.5
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 mateuszbieniek/ezplatform-database-health-checker contains the following files

Loading the files please wait ....