Download the PHP package littlegiant/silverstripe-config-validator without Composer

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

SilverStripe Config Validator

A module for validating SilverStripe configuration at build time.

Screenshot of config validation failure screen

Installation

Require via composer and run /dev/build?flush=all. This is a zero-configuration installation.

composer require littlegiant/silverstripe-config-validator

Validating configuration

Configuration is validated by implementing the OwnConfigValidator or ClassConfigValidator interfaces.

If class MyClass validates configuration of itself, it should implement OwnConfigValidator.

If class MyClass validates configuration of one or more other classes (e.g. MyOtherClass), it should implement ClassConfigValidator and its getConfigValidatedClasses() method should return an array containing MyOtherClass::class. This is a good way to incrementally add validation to configuration for vendor-provided (e.g. core / module) classes without having to submit changes to those packages.

The implementation of these interfaces is not exclusive (i.e. a class can implement both interfaces and it will validate itself and the other classes.)

Configuration is validated by adding any errors via ClassConfigValidationResult::addError(). If any config validation fails, /dev/build will abort before database building, displaying all config validation errors to be corrected.


All versions of silverstripe-config-validator with dependencies

PHP Build Version
Package Version
Requires silverstripe/framework Version ^4.0
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 littlegiant/silverstripe-config-validator contains the following files

Loading the files please wait ....