Closed xrobau closed 2 years ago
Hi! I'm no expert in Laravel, but I'm not certain using a database cache is better. DNS queries are fast, and should already be cached by your OS and/or ISP.
If you still want to offer this to the community, please indeed create a new package. You can simply require mika56/spfcheck
in your package.
This is some example Laravel code that can be used to cache lookups. This addresses #8 but would probably be better split out into a specific laravel package.