Download the PHP package benjaminmal/parity-checker without Composer

On this page you can find all versions of the php package benjaminmal/parity-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 parity-checker

Parity-checker

Continuous integration

A PHP parity checker. Useful when you want to check if many objects are having the same datas. It has many options so you can configure the behavior you need, especially speaking of object recursion.

Installation

Getting started

Create the Parity checker using the factory:

Or using your implementations using Symfony PropertyAccess & PropertyInfo components

Check your objects

Usages

Options

Option Description Accepted types Default values
ignore_types Do not perform check on these types string[]\|string. Can be any types. Checked by the is_ functions, classes/interfaces names or object properties (must be prefixed by $) object
only_types Perform checks only on these types. ignore_types is evaluated before, so if you set the same type in both ignore_types and only_types, the type will be ignored. string[]\|string. Can be any types. Checked by the is_ functions, classes/interfaces names or object properties (must be prefixed by $) none
loose_types On which type to perform loose check (==) instead of (===) string[]\|string. Can be any types. Checked by the is_ functions, classes/interfaces names or object properties (must be prefixed by $) none
deep_object_limit The object recursion limit int 0
data_mapper Replace value before checking by your closure ParityCheckCallbackInterface[] datetime_check_format, date_interval_format, datetime_zone mappers
datetime_check_format The format that DateTime must be check with bool\|string. Has to be a valid DateTime format. If it's true, Y-m-d H:i:s is used. true
date_interval_format The format that DateInterval must be check with bool\|string. Has to be a valid DateInterval format. If it's true, %R %Y %M %D %H %I %S %F is used. true
datetime_zone Map DateTimeZone objects to its timezone name in order to check it. E.g Europe/Paris bool true
custom_checkers You can set you own checker which replace other ParityCheckCallbackInterface[] none

Errors


All versions of parity-checker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
phpdocumentor/reflection-docblock Version ^5.3
symfony/options-resolver Version ^5.4 || ^6.0
symfony/property-access Version ^5.4 || ^6.0
symfony/property-info Version ^5.4 || ^6.0
webmozart/assert Version ^1.10
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 benjaminmal/parity-checker contains the following files

Loading the files please wait ....