jmcnelis / pingenerator
Simple pin generator
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jmcnelis/pingenerator
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.6
This package is not auto-updated.
Last update: 2025-12-30 05:30:00 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)