Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hash Laravel Package

dynamophp/hash

Generate a deterministic float hash for any string mapped to the range 0–360. Uses a primary hash (e.g., SHA-256), then converts selected leading/trailing characters into a numeric value within the interval.

View on GitHub
Deep Wiki
Context7

Dynamo-PHP-Hash

Purpose

For a given string the hash function should return a value in the interval [0;360].

Hash : String --> Float [0;360]

To achieve its goal, the hash function will use a given hash function (for example sha256) and hash the input.

From the hashed input, it will transform it to a float in the wanted interval.

In this implementation, the function will take the X first and Y last characters of the primary hash function's result and apply a transformation to obtain a number in the interval.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky