Skip to content

Instantly share code, notes, and snippets.

View xavismeh's full-sized avatar

Xav. xavismeh

View GitHub Profile
@xavismeh
xavismeh / symfony-messenger_sqs_installation.md
Last active June 13, 2019 17:57
Tutorial to use Amazon SQS with symfony/messenger component
  1. Install librairies/bundle:
$ composer require sroze/messenger-enqueue-transport enqueue/sqs
  1. Enable EnqueueAdapterBundle bundle:
// config/bundles.php
<?php
<?php
declare(strict_types=1);
namespace MyPackage\Validator\Constraints\Vat;
use Psr\Log\LoggerInterface;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;