Download the PHP package commerce-wa-ols/nicknames without Composer

On this page you can find all versions of the php package commerce-wa-ols/nicknames. 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 nicknames

Nicknames1

Code Climate Build Status

Nicknames is a simple package that either returns an array of common nicknames for a provided name or returns an array of potential matches to a provided nickname. The data features common English diminutives, nicknames and shortened forms, of given names.

For example, "William" may appear in databases as "Bill" or "Willie", and "Rebecca" as "Becca" or "Becky".

The list of names is from Diminutives.db with some extra names added to the list from our sources. The idea behind the package has also taken heavy influence from the ruby gem Nickname which also has some great information about other techniques for fuzzy matching strings.

Usage

Get nicknames for a given formal name.

The above example will return:

Get the formal name for a given nickname.

The above example will return:

Why?

The library was created to solve issues when trying match names from multiple databases where full names and preferred names (nicknames) were used to identify a person.

Example of different names for the same person

first_name surname
Database 1 Bill Doe
Database 2 William Doe

Installation

This package uses composer so you can just add commerce-wa-ols/nicknames as a dependency to your composer.json file or execute the following command:

Contributors

Developed by Cyrus Eftos at the Department of Commerce.


All versions of nicknames with dependencies

PHP Build Version
Package Version
Requires php Version ~5.6 || ~7.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 commerce-wa-ols/nicknames contains the following files

Loading the files please wait ....