poing / beacon
Laravel package to generate tracking codes.
0.0.0
2025-07-22 23:15 UTC
Requires
- php: ^8.2
- illuminate/console: ^12.20
- illuminate/events: ^12.20
- illuminate/filesystem: ^12.20
- illuminate/support: ^12.20
Requires (Dev)
- orchestra/testbench: ^10.4
- php-coveralls/php-coveralls: ^2.8
- phpunit/phpunit: ^11.5
This package is auto-updated.
Last update: 2025-07-24 00:26:21 UTC
README
This project started with the need for tracking and confirmation codes. I wanted a simple URL and I wanted the tracking codes to be part of a group.
It basically settles on using time()
for the current epoch timestamp
.
My technical need for the generation of the tracking codes is around 1/min. If you need multiple tracking codes per second, this project is not for you!!
All this project really does is, takes the timestamp
and applies a hash function. Where the hash, like md5sum(time())
is split into multiple confirmation codes.
example.com/timestamp
["d7e6", "d55b", "a379", "a13d", "08c2", "5d15", "faf2", "a23b"]
This would allow a single timestamp
to track up to 8
items, with a single URL
.