Download the PHP package rocketfellows/pt-vat-number-format-validators-config without Composer

On this page you can find all versions of the php package rocketfellows/pt-vat-number-format-validators-config. 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 pt-vat-number-format-validators-config

Portugal vat number format validators config

This package provides a preconfigured configuration class for vat number format validators for Portugal country. Is an extension of the package https://github.com/rocketfellows/specific-country-vat-number-format-validators-config.

Installation

Dependencies

References

List of package components

PTVatNumberFormatValidatorsConfig description

A configuration class that provides a match for the vat number format validators for the country Portugal.

Class interface:

When initializing the default configuration, the getValidators function returns a tuple with a single validator - an instance of PTVatFormatValidator.

You can override the default validator by initializing the configuration class object with a new default validator through the first parameter of the class constructor. Attention - validator must implement interface CountryVatFormatValidatorInterface.

You can add additional validators to the default validator via the second constructor parameter.

Attention - additional validators parameter must be instance of tuple CountryVatFormatValidators. And each additional validator must implement interface CountryVatFormatValidatorInterface.

You can also completely rebuild the configuration by passing the default validator and a tuple of additional validators to the config class constructor.

More use case examples can be found in the package's unit tests.

Contributing

Welcome to pull requests. If there is a major changes, first please open an issue for discussion.

Please make sure to update tests as appropriate.


All versions of pt-vat-number-format-validators-config 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 rocketfellows/pt-vat-number-format-validators-config contains the following files

Loading the files please wait ....