Make sure you have Docker configured on your system. That's it!
- Clone this repo to your local machine
- Run
composer install
to install the project dependencies- If you don't have composer installed, run the following command:
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
laravelsail/php80-composer:latest \
composer install --ignore-platform-reqs
- Run
cp .env.example .env
- Run
./vendor/bin/sail up -d
- Run
./vendor/bin/sail artisan key:generate
- Done!
This project has only three endpoints:
/dispatch
- Dispatches a payload with some extra fields/dispatch/raw
- Dispatches a 'raw' payload with fewer data/pop
- Returns the first available job on queue