xaraya / with-laravel
Integrate Xaraya with Laravel applications
Installs: 16
Dependents: 1
Suggesters: 2
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:xaraya-module
Requires
- php: ^8.2
- laravel/framework: ^11.31
- laravel/tinker: ^2.10
- spatie/laravel-webhook-client: ^3.4
Requires (Dev)
- fakerphp/faker: ^1.24
- laravel/pint: ^1.18
- laravel/sail: ^1.38
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.5
- phpunit/phpunit: ^11.4
- spatie/laravel-ignition: ^2.8
README
This is a basic Laravel Framework application with a Webhook Client
Note: the namespace was changed from App\
to Xaraya\LaravelApp\
to avoid conflicts on loading with third party frameworks
To handle /webhook/hello-laravel
requests:
- app/WebhookClients/:
hello
signature validator - app/WebhookClients/:
any
webhook profile (optional) - app/WebhookClients/:
any
webhook response (optional) - app/Jobs/:
hello
process webhook job - config/webhook-client.php:
default
webhook client config - bootstrap/app.php:
webhook
route group - routes/webhooks.php:
hello-laravel
webhook route
You could use one of the many existing packages to process webhook calls from other providers