Download the PHP package mediawiki/validator without Composer

On this page you can find all versions of the php package mediawiki/validator. 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 validator

Validator

The Validator MediaWiki extension, provides a parameter processing framework that provides a way to declaratively define a set of parameters and how they should be processed. It can take such declarations together with a list of raw parameters and provide the processed values.

The functionality provided by this extension largely comes from the ParamProcessor library.

GitHub Workflow Status Scrutinizer Code Quality Latest Stable Version Download count

Installation

You can use Composer to download and install this package as well as its dependencies. Alternatively you can simply clone the git repository and take care of loading yourself.

Composer

To add this package as a local, per-project dependency to your project, simply add a dependency on mediawiki/validator to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Validator 2.2:

{
    "require": {
        "mediawiki/validator": "2.2.*"
    }
}

Manual

Get the Validator code, either via git, or some other means. Also get all dependencies. You can find a list of the dependencies in the "require" section of the composer.json file.

Simply load the extension in your LocalSettings.php file with:

Authors

Validator has been written by Jeroen De Dauw to support Maps and Semantic MediaWiki.

Release notes

Version 2.2.5 (2024-11-11)

Version 2.2.3 (2020-11-19)

Version 2.2.2 (2020-01-14)

Version 2.2.1 (2016-10-10)

Version 2.2.0 (2016-10-09)

Version 2.1.0 (2016-10-09)

Version 2.0.6 (2016-07-01)

Version 2.0.5 (2016-04-04)

Version 2.0.4 (2014-06-25)

Version 2.0.3 (2014-06-16)

Version 2.0.2 (2014-06-14)

Version 2.0.1 (2014-06-14)

Version 2.0 (2014-06-14)

Version 1.0.1 (2014-03-25)

Version 1.0 (2013-11-21)

This release is primarily a redesign of many internal APIs aimed at greater stability and cleaner interfaces exposed to the outside.

Most code has been moved to the new ParamProcessor library, leaving the Validator extension as a thin MediaWiki specific wrapper.

Compatibility changes
Deprecations

Version 0.5.1 (2012-11-21)

Version 0.5 (2012-10-05)

Compatibility changes

New features

Enhancements

Deprecations

Version 0.4.14 (2012-03-10)

Version 0.4.13 (2011-11-30)

Version 0.4.12 (2011-10-15)

Version 0.4.11 (2011-09-14)

Version 0.4.10 (2011-08-04)

Version 0.4.9 (2011-07-30)

Version 0.4.8 (2011-07-19)

Version 0.4.7 (2011-05-15)

Version 0.4.6 (2011-03-21)

Version 0.4.5 (2011-03-05)

Version 0.4.4 (2011-02-16)

Version 0.4.3.1 (2011-01-20)

Version 0.4.3 (2011-01-11)

Version 0.4.2 (2010-10-28)

Version 0.4.1 (2010-10-20)

Version 0.4 (2010-10-15)

New features
Refactoring

Basically everything got rewritten...

Version 0.3.6 (2010-08-26)

Version 0.3.5 (2010-07-26)

Version 0.3.4 (2010-07-07)

Version 0.3.3 (2010-06-20)

Version 0.3.2 (2010-06-07)

Version 0.3.1 (2010-06-04)

Version 0.3 (2010-05-31)

Version 0.2.2 (2010-03-01)

Version 0.2.1 (2010-02-01)

Version 0.2 (2009-12-25)

Version 0.1 (2009-12-17)

Links


All versions of validator with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
param-processor/param-processor Version ~1.1
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 mediawiki/validator contains the following files

Loading the files please wait ....