you-up / incoming-webhook-analyzer
Help YouUp process incoming webhook
Installs: 49
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/you-up/incoming-webhook-analyzer
Requires
- php: >=7.0.0
- laravel/framework: 5.5.*
- symfony/console: ^3.3
Requires (Dev)
- friendsofphp/php-cs-fixer: 2.9.0
- phpunit/phpunit: ^6.4
This package is not auto-updated.
Last update: 2026-01-04 10:09:42 UTC
README
Add support to your favorite tools in YouUp.
How?
Step 1: Scaffold
Run php cli scaffold and follow the instruction.
Step 2: Capture an example of a request
Run php -S localhost:9999 receiver.php to start a piece of code that will capture the incoming request.
Use tools such a ngrok, to get public URL that will point to your machine.
After a request, the terminal will show the text to copy paste into the NAME_test_request.json file.
Step 3: Complete NAME_parsed_results.json
This file contain the data that should be extracted from the test request and used by YouUp.
Step 4: Write the logic of NAME.php
2 methods must be implemented:
- isMatch => detect that an incoming webhook request should be handle by this class
- extract => read the information from the request
Step 5: Pull Request
Submit a pull request, and once merged, the new integration will be live in YouUp.