arthem/request-signer-bundle
Storage::disk('s3')->temporaryUrl()) or packages like spatie/laravel-honeypot may already cover similar ground.RequestSigner with Laravel’s Request and Illuminate\Http components.FrameworkBundle, HttpFoundation, PSR-7 via nyholm/psr7) creates high coupling risk. Laravel’s Illuminate\Http\Request and Symfony\Component\HttpFoundation\Request are incompatible without translation layers.Psr\Http\Message natively, but the bundle’s guzzlehttp/psr7 dependency (v1.6) may conflict with Laravel’s newer PSR-7 implementations (e.g., symfony/http-foundation bridge).aws/aws-sdk-php v3 dependency is outdated (Laravel typically uses v3.200+). A custom adapter would need to align with Laravel’s Illuminate\Support\Facades\Storage or league/flysystem-aws-s3-v3.RequestSigner service. Implementing this as middleware (e.g., SignRequestMiddleware) would require:
Hash facade or a third-party library (e.g., firebase/php-jwt).Cache::remember) could mitigate this, but the bundle’s TTL logic would need adaptation.config() or env()).Storage::temporaryUrl() or spatie/laravel-medialibrary meet the S3 use case? If not, why?spatie/laravel-honeypot, tightenco/ziggy) that overlap?Signer::sign()) or implemented as custom middleware?HttpFoundation vs. Laravel’s Illuminate\Http.ContainerInterface vs. Laravel’s Container).EventDispatcher vs. Laravel’s Events).Illuminate\Support\Facades\Hash for HMAC signing.firebase/php-jwt for JWT validation.league/flysystem-aws-s3-v3 for S3 presigned URLs.symfony/http-foundation-bridge to translate between Laravel’s Request and Symfony’s Request. Highly complex and overkill for most use cases.laravel-request-signer) and publish it as a Laravel package.spatie/laravel-honeypot, tightenco/ziggy).Storage facade and Illuminate\Http\Request.RequestSigner with a Laravel service provider (e.g., RequestSignerServiceProvider).config/packages/ to Laravel’s config/request-signer.php.symfony/http-foundation) can replace guzzlehttp/psr7 and nyholm/psr7.aws/aws-sdk-php v3 dependency is outdated. Use Laravel’s aws/aws-sdk-php v3.200+ or league/flysystem-aws-s3-v3..env system is compatible, but Symfony’s %env(resolve:)% syntax would need replacement with Laravel’s env() helper.app/Http/Middleware/SignRequest.php with signUrl() and validateRequest() methods.firebase/php-jwt and Laravel’s Cache for token storage.Storage facade for S3 presigned URLs.app/Http/Middleware/ValidateSignedRequest.php.guzzlehttp/psr7, nyholm/psr7) would need replacement with Laravel-compatible alternatives.arthem_request_signer.yaml) must be migrated to Laravel’s PHP/ENV config.ttl: 120 to config(['request-signer.ttl' => 120]).RequestSigner will be incomprehensible in a Laravel context. Custom error handling (e.g., InvalidSignatureException → HttpException) is required.RequestStack) may require rewriting core logic if issues arise.Cache::remember).throttle middleware to prevent abuseHow can I help you explore Laravel packages today?