Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Added model cast

Compare
Choose a tag to compare
@mattkingshott mattkingshott released this 17 Jan 15:45
· 25 commits to main since this release

This minor release adds an Eloquent model cast that makes it easy to convert Snowflakes between integers and strings when saving them in the database vs passing them from PHP to the front-end e.g. for JavaScript, which doesn't support 64-bit integers.