Download the PHP package jim-moser/zf2-validators-empty-or-plugin-test without Composer

On this page you can find all versions of the php package jim-moser/zf2-validators-empty-or-plugin-test. 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 zf2-validators-empty-or-plugin-test

Overview

This package contains testing to verify that the Zend Framework validator plugin manager (Zend/Validator/ValidatorPluginManager) is configured to provide validators from the jim-moser/zf2-validators-empty-or package. In essence this package verifies that the jim-moser/zf2-validators-empty-or-plugin package has successfully integrated the validators from the jim-moser/zf2-validators-empty-or package into the Zend Framework installation.

Related packages:

A brief description of the related packages listed above can be found in the README.md file for the jim-moser/zf2-validators-empty-or package.

Dependencies

The code provided by this package only depends directly on code and classes provided by the following packages: jim-moser/zf2-validators-empty-or jim-moser/zf2-validators-empty-or-plugin laminas/laminas-loader laminas/laminas-mvc laminas/laminas-servicemanager phpunit/phpunit

However it appears that the code within laminas-mvc and/or its' dependencies has several dependencies on code and classes within various laminas packages not specified as dependencies within the composer.json files of laminas-mvc and its' dependencies. To prevent this issue from causing problems, these missing dependencies have been added to the composer.json file of this package. The additional dependencies added under the "requires" section of the composer.json file are: laminas/laminas-i18n laminas/laminas-log laminas/laminas-serializer laminas/laminas-view

Installation

Alternative 1: Installation with Composer

  1. For an existing Zend Framework installation, move into the parent of the vendor directory. This directory should contain an existing composer.json file. For a new installation, move into the directory you would like to contain the vendor directory.

    $ cd <parent_path_of_vendor>    
  2. Run the following command which will update the composer.json file, install the zf2-validators-empty-or-plugin-test package and its dependencies into their respective directories under the vendor directory, and update the composer autoloading files.

    $ composer require jim-moser/zf2-validators-empty-or-plugin-test

Alternative 2: Manual Installation to Vendor Directory

If you would like to install the packages manually and use a Module.php file to configure autoloading instead of using Composer to configure autoloading then see the installation section of the README.md file in the
jim-moser/zf2-validators-empty-or-plugin package.

Running the Tests

After installation testing can be run immediately from the vendor/jim-moser/zf2-validators-empty-or-plugin-test directory as follows:

$ cd <vendor_directory>/jim-moser/zf2-validators-empty-or-plugin-test
$ php ../../phpunit/phpunit/phpunit

The second command above calls phpunit from the phpunit package installed under the vendor directory instead of any phpunit executable which may be installed system wide. This is done to ensure the version of PHPUnit executed is one that meets the version requirements specified in the composer.json file.


All versions of zf2-validators-empty-or-plugin-test with dependencies

PHP Build Version
Package 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 jim-moser/zf2-validators-empty-or-plugin-test contains the following files

Loading the files please wait ....