https://github.com/jolicode/webhook-demo
https://github.com/jolicode/webhook-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jolicode/webhook-demo
- Owner: jolicode
- Created: 2023-03-28T12:46:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T15:40:27.000Z (over 1 year ago)
- Last Synced: 2024-08-02T20:48:08.656Z (11 months ago)
- Language: PHP
- Size: 57.6 KB
- Stars: 6
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Symfony Webhook Demo πΈπͺ
This repository is a demonstration application for Symfony Webhook usage.
It's related to [π«π· this blog post](https://jolicode.com/blog/symfony-webhook-et-remoteevent-ou-comment-simplifier-la-gestion-devenements-externes) on jolicode.com
## Pre-requisites
A ready to use (DNS entries verified) [Postmark account](https://postmarkapp.com/).
## Installation
Install dependencies
```shell
symfony composer install
```Replace `API_KEY` with your API Key in .env file
```
MAILER_DSN=postmark+api://API_KEY@default
```Start the database and run migrations
```shell
docker-compose up -d database
``````shell
symfony console d:m:m -n
```Serve the application
```shell
symfony serve -d
```Open [127.0.0.1:8000](http://127.0.0.1:8000)