aws / aws/aws-php-sns-message-validator
The use Aws\Sns\Message::fromRawPostData() Broken For Laravel Octane
- Dominant language
- PHP
- Stars
- 218
- Forks
- 59
- Avg merge
- 8h 23m
- Merged PRs (30d)
- 2
Description
### Describe the bug
In here,

The php://input didn't works because of Laravel Octane don't support php://input
You should change your code to make it compatible
### Regression Issue
- [ ] Select this option if this issue appears to be a regression.
### Expected Behavior
The php://input need be change to support various packages
### Current Behavior
The php://input didn't works because of Laravel Octane don't support php://input
### Reproduction Steps
1. Use latest Laravel which is mine is Laravel 11
2. Create actions/services and put Aws\Sns\Message::fromRawPostData() there
3. Call it or send request message from AWS
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### SDK version used
"^1.1"
### Environment details (OS name and version, etc.)
Ubuntu 24
Contributor guide
Research direction
Start by reproducing Aws\Sns\Message::fromRawPostData() under Laravel 11 with Laravel Octane and an AWS SNS request. Inspect how the method currently reads php://input and compare that behavior with Octane's request handling. Done means SNS message validation works in the reported environment without breaking the existing package behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, laravel, php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100