xaraya / with-laravel
Integrate Xaraya with Laravel applications
Installs: 13
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.0
- laravel/tinker: ^2.9
- spatie/laravel-webhook-client: ^3.3
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pint: ^1.13
- laravel/sail: ^1.26
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.0
- phpunit/phpunit: ^11.0.1
- spatie/laravel-ignition: ^2.4
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