spatie/url-signer
Generate and verify signed URLs with expiration timestamps using a shared secret. spatie/url-signer appends expires and signature parameters, letting you safely share time-limited links (e.g., in emails) and validate them server-side with a simple API.
Adopt if:
Look elsewhere if:
firebase/php-jwt) or OAuth2.For Executives: "This package lets us securely share time-limited links (e.g., for downloads, payments, or admin access) without exposing credentials. It’s like a digital ‘burner key’—valid only for a set window. For example, we could replace manual email instructions for ‘click this link once’ with automated, tamper-proof URLs. It reduces support overhead for lost/stolen links and aligns with compliance needs. Low risk (MIT license, battle-tested), high reward for security and scalability."
For Engineering:
*"Spatie’s url-signer gives us a drop-in solution for signed, expiring URLs with minimal code. Key benefits:
How can I help you explore Laravel packages today?