<?php require_once __DIR__ . '/../vendor/autoload.php'; use Havlicek\JobbyRabbitMq\Job; // Run command "vagrant up" first // Create new instance of worker $job = new Job('192.168.33.10', 5672); // Wait for incoming connection and process it $job->listen();