luisalberto/checkdigit-algorithms

Check Digit Algorithms

Installs: 3 886

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/luisalberto/checkdigit-algorithms

1.0.1 2024-12-19 04:52 UTC

This package is auto-updated.

Last update: 2025-09-19 06:49:02 UTC


README

CircleCI

Algorithms:

  • Damm algorithm
  • Luhn algorithm
  • Verhoeff algorithm

Requirements

  • PHP version 5.6 or greater

Install

composer require luisalberto/checkdigit-algorithms

Usage

<?php

require_once(dirname( __FILE__ ) . '/vendor/autoload.php');

$luhn = new \LuisAlberto\CheckDigit\LuhnCheckDigit();
$luhn->isValid("48721484");

License

Copyright 2021, 2024 Luis A. Ochoa

See LICENSE for the full license text.