jmcnelis/pingenerator

Simple pin generator

dev-main 2023-04-28 07:53 UTC

This package is not auto-updated.

Last update: 2025-09-09 03:57:27 UTC


README

A simple pin generator which will generate a 4 digit pin that should meet the following criteria:

  • It will not be a palindrome
  • It will not be a repeating number
  • It will not be a sequential number


It also has some useful endpoints!

Installation Instructions

composer require jmcnelis/pingenerator
php artisan vendor:publish --provider="Jmcnelis\PinGenerator\PinGeneratorServiceProvider" --tag="migrations"
php artisan migrate

Usage

After installation navigate to:

application-url/generator/pins/

Once loaded just hit the button to start generating pins

Endpoints

Will check if its a palindrome or not.
application-url/generator/pins/palindrome/(pin here)
Will check if its a repeating number or not.
application-url/generator/pins/repeating/(pin here)
Will check if its a sequential number or not.
application-url/generator/pins/sequential/(pin here)