From e079afdb7ac0a42377e35fc74c699b08187d3b31 Mon Sep 17 00:00:00 2001 From: Leny BERNARD Date: Fri, 23 Sep 2016 18:21:45 +0200 Subject: [PATCH] Move to Troopers organization (#25) --- AppVentusMangopayBundle.php | 9 - Controller/PaymentController.php | 56 +- DependencyInjection/Configuration.php | 4 +- ...sion.php => TroopersMangopayExtension.php} | 16 +- Entity/BankInformationInterface.php | 2 +- Entity/CardPreAuthorisation.php | 19 +- Entity/Order.php | 4 +- Entity/Transaction.php | 2 +- Entity/TransactionInterface.php | 2 +- Entity/UserInterface.php | 2 +- Event/CardRegistrationEvent.php | 2 +- Event/OrderEvent.php | 4 +- Event/PayInEvent.php | 2 +- Event/PreAuthorisationEvent.php | 5 +- Event/UserEvent.php | 4 +- Event/WalletEvent.php | 4 +- Exception/MongopayExceptionInterface.php | 2 +- Exception/MongopayPayInCreationException.php | 2 +- Form/CardType.php | 92 +- Helper/BankInformationHelper.php | 8 +- Helper/BankwireHelper.php | 25 +- Helper/CardRegistrationHelper.php | 6 +- Helper/MangopayHelper.php | 4 +- Helper/PaymentDirectHelper.php | 12 +- Helper/PaymentHelper.php | 42 +- Helper/PaymentOutHelper.php | 6 +- Helper/UserHelper.php | 12 +- Helper/WalletHelper.php | 14 +- LICENSE.md | 2 +- OrderEvents.php | 2 +- README.md | 34 +- Resources/config/services.yml | 102 +- Resources/js/mangopay.js | 8 +- Resources/views/cardPayment.html.twig | 22 +- Tests/Controller/DefaultControllerTest.php | 17 - TroopersMangopayBundle.php | 9 + ...ayEvents.php => TroopersMangopayEvents.php | 22 +- composer.json | 19 +- composer.lock | 1642 ----------------- 39 files changed, 293 insertions(+), 1948 deletions(-) delete mode 100644 AppVentusMangopayBundle.php rename DependencyInjection/{AppVentusMangopayExtension.php => TroopersMangopayExtension.php} (61%) delete mode 100644 Tests/Controller/DefaultControllerTest.php create mode 100644 TroopersMangopayBundle.php rename AppVentusMangopayEvents.php => TroopersMangopayEvents.php (53%) delete mode 100644 composer.lock diff --git a/AppVentusMangopayBundle.php b/AppVentusMangopayBundle.php deleted file mode 100644 index 94f73d7..0000000 --- a/AppVentusMangopayBundle.php +++ /dev/null @@ -1,9 +0,0 @@ -getDoctrine()->getManager() - ->getRepository($this->container->getParameter('appventus_mangopay.order.class')); + ->getRepository($this->container->getParameter('troopers_mangopay.order.class')); $order = $orderRepository->findOneById($order); if (!$order instanceof Order) { throw $this->createNotFoundException('Order not found'); @@ -41,19 +41,19 @@ public function newAction(Request $request, $order) if ($form->isValid()) { //find or create a mango user - $mangoUser = $this->container->get('appventus_mangopay.user_helper') + $mangoUser = $this->container->get('troopers_mangopay.user_helper') ->findOrCreateMangoUser($this->getUser()); //create a cardRegistration - $callback = $this->container->get('appventus_mangopay.payment_helper') + $callback = $this->container->get('troopers_mangopay.payment_helper') ->prepareCardRegistrationCallback($mangoUser, $order); //return js callback return new JsonResponse($callback); } return $this->render( - 'AppVentusMangopayBundle::cardPayment.html.twig', + 'TroopersMangopayBundle::cardPayment.html.twig', [ - 'form' => $form->createView(), + 'form' => $form->createView(), 'order' => $order, ] ); @@ -68,20 +68,20 @@ public function newAction(Request $request, $order) * It creates a PreAuthorisation with reservation price, and store its id in the Reservation. * When the owner will accept the reservation, we will be able to fetch the PreAuthorisation and create the PayIn * - * @Route("/finalize/{orderId}/{cardId}", name="appventus_mangopaybundle_payment_finalize") + * @Route("/finalize/{orderId}/{cardId}", name="troopers_mangopaybundle_payment_finalize") * * @return JsonResponse return json */ public function paymentFinalizeAction(Request $request, $orderId, $cardId) { $em = $this->getDoctrine()->getManager(); - $orderRepository = $em->getRepository($this->container->getParameter('appventus_mangopay.order.class')); + $orderRepository = $em->getRepository($this->container->getParameter('troopers_mangopay.order.class')); $order = $orderRepository->findOneById($orderId); $data = $request->get('data'); $errorCode = $request->get('errorCode'); - $paymentHelper = $this->container->get('appventus_mangopay.payment_helper'); + $paymentHelper = $this->container->get('troopers_mangopay.payment_helper'); $updatedCardRegister = $paymentHelper->updateCardRegistration($cardId, $data, $errorCode); // Handle error @@ -111,14 +111,14 @@ public function paymentFinalizeAction(Request $request, $orderId, $cardId) // Handle secure mode if (property_exists($preAuth, 'SecureModeNeeded') && $preAuth->SecureModeNeeded == 1) { return new JsonResponse([ - 'success' => true, + 'success' => true, 'redirect' => $preAuth->SecureModeRedirectURL, ]); } // store payin transaction $event = new PreAuthorisationEvent($order, $preAuth); - $this->get('event_dispatcher')->dispatch(AppVentusMangopayEvents::UPDATE_CARD_PREAUTHORISATION, $event); + $this->get('event_dispatcher')->dispatch(TroopersMangopayEvents::UPDATE_CARD_PREAUTHORISATION, $event); $event = new OrderEvent($order); $this->get('event_dispatcher')->dispatch(OrderEvents::ORDER_CREATED, $event); @@ -131,7 +131,7 @@ public function paymentFinalizeAction(Request $request, $orderId, $cardId) $this->get('session')->getFlashBag()->add( 'success', - $this->get('translator')->trans('appventus_mangopay.alert.pre_authorisation.success') + $this->get('translator')->trans('troopers_mangopay.alert.pre_authorisation.success') ); return new JsonResponse([ @@ -145,16 +145,16 @@ public function paymentFinalizeAction(Request $request, $orderId, $cardId) * * This method is called by paymentFinalizeActionif 3dsecure is required. 3DSecure is needed when 250€ are reached * - * @Route("/finalize-secure/{orderId}", name="appventus_mangopaybundle_payment_finalize_secure") + * @Route("/finalize-secure/{orderId}", name="troopers_mangopaybundle_payment_finalize_secure") * * @return RedirectResponse */ public function paymentFinalizeSecureAction(Request $request, $orderId) { $em = $this->getDoctrine()->getManager(); - $orderRepository = $em->getRepository($this->container->getParameter('appventus_mangopay.order.class')); + $orderRepository = $em->getRepository($this->container->getParameter('troopers_mangopay.order.class')); $order = $orderRepository->findOneById($orderId); - $mangopayApi = $this->container->get('appventus_mangopay.mango_api'); + $mangopayApi = $this->container->get('troopers_mangopay.mango_api'); $preAuthId = $request->get('preAuthorizationId'); @@ -178,7 +178,7 @@ public function paymentFinalizeSecureAction(Request $request, $orderId) } $event = new PreAuthorisationEvent($order, $preAuth); - $this->get('event_dispatcher')->dispatch(AppVentusMangopayEvents::UPDATE_CARD_PREAUTHORISATION, $event); + $this->get('event_dispatcher')->dispatch(TroopersMangopayEvents::UPDATE_CARD_PREAUTHORISATION, $event); $event = new OrderEvent($order); $this->get('event_dispatcher')->dispatch(OrderEvents::ORDER_CREATED, $event); @@ -190,10 +190,10 @@ public function paymentFinalizeSecureAction(Request $request, $orderId) $this->get('session')->getFlashBag()->add( 'success', - $this->get('translator')->trans('appventus_mangopay.alert.pre_authorisation.success') + $this->get('translator')->trans('troopers_mangopay.alert.pre_authorisation.success') ); - return $this->redirect($this->get('appventus_mangopay.payment_helper')->generateSuccessUrl($orderId)); + return $this->redirect($this->get('troopers_mangopay.payment_helper')->generateSuccessUrl($orderId)); } /** @@ -202,14 +202,14 @@ public function paymentFinalizeSecureAction(Request $request, $orderId) * * This method shows the congratulations * - * @Route("/success/{orderId}", name="appventus_mangopaybundle_payment_success") + * @Route("/success/{orderId}", name="troopers_mangopaybundle_payment_success") * * @return Response */ public function successAction(Request $request, $orderId) { return $this->render( - 'AppVentusMangopayBundle::success.html.twig', + 'TroopersMangopayBundle::success.html.twig', ['orderId' => $orderId] ); } diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index ddc16c6..72f6064 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -1,6 +1,6 @@ root('appventus_mangopay'); + $rootNode = $treeBuilder->root('troopers_mangopay'); $rootNode ->children() diff --git a/DependencyInjection/AppVentusMangopayExtension.php b/DependencyInjection/TroopersMangopayExtension.php similarity index 61% rename from DependencyInjection/AppVentusMangopayExtension.php rename to DependencyInjection/TroopersMangopayExtension.php index d3df198..72f8511 100644 --- a/DependencyInjection/AppVentusMangopayExtension.php +++ b/DependencyInjection/TroopersMangopayExtension.php @@ -1,18 +1,18 @@ load('services.yml'); - $container->setParameter('appventus_mangopay.debug_mode', $config['debug_mode'] === true); - $container->setParameter('appventus_mangopay.client_id', $config['client_id']); - $container->setParameter('appventus_mangopay.client_password', $config['client_password']); - $container->setParameter('appventus_mangopay.base_url', $config['base_url']); + $container->setParameter('troopers_mangopay.debug_mode', $config['debug_mode'] === true); + $container->setParameter('troopers_mangopay.client_id', $config['client_id']); + $container->setParameter('troopers_mangopay.client_password', $config['client_password']); + $container->setParameter('troopers_mangopay.base_url', $config['base_url']); } } diff --git a/Entity/BankInformationInterface.php b/Entity/BankInformationInterface.php index 1f570a6..2150200 100644 --- a/Entity/BankInformationInterface.php +++ b/Entity/BankInformationInterface.php @@ -1,6 +1,6 @@ add('cardNumber', TextType::class, array( - 'constraints' => array(new NotBlank(['groups' => ['card']])), - 'label' => 'appventus_mangopay.card_number.label', - 'attr' => array( - 'data-id' => 'appventus_mangopay_card_number', - 'placeholder' => 'appventus_mangopay.card_number.placeholder', - ), + ->add('cardNumber', TextType::class, [ + 'constraints' => [new NotBlank(['groups' => ['card']])], + 'label' => 'troopers_mangopay.card_number.label', + 'attr' => [ + 'data-id' => 'troopers_mangopay_card_number', + 'placeholder' => 'troopers_mangopay.card_number.placeholder', + ], 'mapped' => false, - )) - ->add('cardHolder', TextType::class, array( - 'constraints' => array(new NotBlank(['groups' => ['card']])), - 'label' => 'appventus_mangopay.card_holder.label', - 'attr' => array( - 'data-id' => 'appventus_mangopay_card_holder', - 'placeholder' => 'appventus_mangopay.card_holder.placeholder', - ), + ]) + ->add('cardHolder', TextType::class, [ + 'constraints' => [new NotBlank(['groups' => ['card']])], + 'label' => 'troopers_mangopay.card_holder.label', + 'attr' => [ + 'data-id' => 'troopers_mangopay_card_holder', + 'placeholder' => 'troopers_mangopay.card_holder.placeholder', + ], 'mapped' => false, - )) - ->add('ccv', IntegerType::class, array( - 'constraints' => array(new NotBlank(['groups' => ['card']])), - 'label' => 'appventus_mangopay.card_ccv.label', - 'attr' => array( - 'data-id' => 'appventus_mangopay_ccv', - 'placeholder' => 'appventus_mangopay.ccv.placeholder', - ), + ]) + ->add('ccv', IntegerType::class, [ + 'constraints' => [new NotBlank(['groups' => ['card']])], + 'label' => 'troopers_mangopay.card_ccv.label', + 'attr' => [ + 'data-id' => 'troopers_mangopay_ccv', + 'placeholder' => 'troopers_mangopay.ccv.placeholder', + ], 'mapped' => false, - )) - ->add('cardExpiryMonth', ChoiceType::class, array( - 'constraints' => array(new NotBlank(['groups' => ['card']])), - 'label' => 'appventus_mangopay.card_expiry_month.label', - 'choices' => ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], + ]) + ->add('cardExpiryMonth', ChoiceType::class, [ + 'constraints' => [new NotBlank(['groups' => ['card']])], + 'label' => 'troopers_mangopay.card_expiry_month.label', + 'choices' => ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], 'choices_as_values' => true, - 'attr' => array( - 'data-id' => 'appventus_mangopay_card_expiry_month', - 'placeholder' => 'appventus_mangopay.card_expiry_month.placeholder', - ), + 'attr' => [ + 'data-id' => 'troopers_mangopay_card_expiry_month', + 'placeholder' => 'troopers_mangopay.card_expiry_month.placeholder', + ], 'mapped' => false, - )); + ]); - $years = array(); + $years = []; $range = range(date('y'), date('y') + 15); foreach ($range as $year) { $year = str_pad($year, 2, '0', STR_PAD_LEFT); @@ -65,19 +65,19 @@ public function buildForm(FormBuilderInterface $builder, array $options) $year = (int) $year + 1; } - $builder->add('cardExpiryYear', ChoiceType::class, array( - 'constraints' => array(new NotBlank(['groups' => ['card']])), - 'choices' => $years, + $builder->add('cardExpiryYear', ChoiceType::class, [ + 'constraints' => [new NotBlank(['groups' => ['card']])], + 'choices' => $years, 'choices_as_values' => true, - 'attr' => array( - 'data-id' => 'appventus_mangopay_card_expiry_year', - 'placeholder' => 'appventus_mangopay.card_expiry_year.placeholder', - ), + 'attr' => [ + 'data-id' => 'troopers_mangopay_card_expiry_year', + 'placeholder' => 'troopers_mangopay.card_expiry_year.placeholder', + ], 'mapped' => false, - )) + ]) // - ; +; } /** @@ -85,7 +85,7 @@ public function buildForm(FormBuilderInterface $builder, array $options) */ public function getBlockPrefix() { - return 'appventus_mangopaybundle_card_type'; + return 'troopers_mangopaybundle_card_type'; } /** @@ -93,6 +93,6 @@ public function getBlockPrefix() */ public function getName() { - return 'appventus_mangopaybundle_card_type_form'; + return 'troopers_mangopaybundle_card_type_form'; } } diff --git a/Helper/BankInformationHelper.php b/Helper/BankInformationHelper.php index 4bc2671..7b65ec2 100644 --- a/Helper/BankInformationHelper.php +++ b/Helper/BankInformationHelper.php @@ -1,9 +1,9 @@ dispatcher->dispatch(AppVentusMangopayEvents::NEW_CARD_REGISTRATION, $event); +// $this->dispatcher->dispatch(TroopersMangopayEvents::NEW_CARD_REGISTRATION, $event); return $mangoPayTransaction; } diff --git a/Helper/PaymentHelper.php b/Helper/PaymentHelper.php index ad811f1..7a33e7e 100644 --- a/Helper/PaymentHelper.php +++ b/Helper/PaymentHelper.php @@ -1,15 +1,7 @@ mangopayHelper->CardRegistrations->create($cardRegistration); $event = new CardRegistrationEvent($cardRegistration); - $this->dispatcher->dispatch(AppVentusMangopayEvents::NEW_CARD_REGISTRATION, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::NEW_CARD_REGISTRATION, $event); $cardRegistrationURL = $mangoCardRegistration->CardRegistrationURL; $preregistrationData = $mangoCardRegistration->PreregistrationData; $accessKey = $mangoCardRegistration->AccessKey; $redirect = $this->router->generate( - 'appventus_mangopaybundle_payment_finalize', + 'troopers_mangopaybundle_payment_finalize', [ 'orderId' => $order->getId(), - 'cardId' => $mangoCardRegistration->Id, + 'cardId' => $mangoCardRegistration->Id, ] ); @@ -89,7 +89,7 @@ public function updateCardRegistration($cardId, $data, $errorCode) $updatedCardRegister = $this->mangopayHelper->CardRegistrations->Update($cardRegister); $event = new CardRegistrationEvent($updatedCardRegister); - $this->dispatcher->dispatch(AppVentusMangopayEvents::UPDATE_CARD_REGISTRATION, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::UPDATE_CARD_REGISTRATION, $event); return $updatedCardRegister; } @@ -109,7 +109,7 @@ public function createPreAuthorisation(CardRegistration $updatedCardRegister, Us $cardPreAuthorisation->SecureMode = 'DEFAULT'; $cardPreAuthorisation->SecureModeReturnURL = $this->router->generate( - 'appventus_mangopaybundle_payment_finalize_secure', + 'troopers_mangopaybundle_payment_finalize_secure', [ 'orderId' => $order->getId(), ], @@ -121,7 +121,7 @@ public function createPreAuthorisation(CardRegistration $updatedCardRegister, Us $preAuth = $this->mangopayHelper->CardPreAuthorizations->Create($cardPreAuthorisation); $event = new PreAuthorisationEvent($order, $preAuth); - $this->dispatcher->dispatch(AppVentusMangopayEvents::NEW_CARD_PREAUTHORISATION, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::NEW_CARD_PREAUTHORISATION, $event); return $preAuth; } @@ -170,13 +170,13 @@ public function executePreAuthorisation( if (property_exists($payIn, 'Status') && $payIn->Status != 'FAILED') { $event = new PayInEvent($payIn); - $this->dispatcher->dispatch(AppVentusMangopayEvents::NEW_PAY_IN, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::NEW_PAY_IN, $event); return $payIn; } $event = new PayInEvent($payIn); - $this->dispatcher->dispatch(AppVentusMangopayEvents::ERROR_PAY_IN, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::ERROR_PAY_IN, $event); throw new MongopayPayInCreationException($this->translator->trans( 'mangopay.error.'.$payIn->ResultCode, @@ -192,12 +192,12 @@ public function cancelPreAuthForOrder(Order $order, CardPreAuthorisation $preAut $this->mangopayHelper->CardPreAuthorizations->Update($mangoCardPreAuthorisation); $event = new PreAuthorisationEvent($order, $mangoCardPreAuthorisation); - $this->dispatcher->dispatch(AppVentusMangopayEvents::CANCEL_CARD_PREAUTHORISATION, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::CANCEL_CARD_PREAUTHORISATION, $event); } } public function generateSuccessUrl($orderId) { - return $this->router->generate('appventus_mangopaybundle_payment_success', ['orderId' => $orderId]); + return $this->router->generate('troopers_mangopaybundle_payment_success', ['orderId' => $orderId]); } } diff --git a/Helper/PaymentOutHelper.php b/Helper/PaymentOutHelper.php index 493e9c0..3692730 100644 --- a/Helper/PaymentOutHelper.php +++ b/Helper/PaymentOutHelper.php @@ -1,15 +1,15 @@ mangopayHelper->Users->Create($mangoUser); $event = new UserEvent($user, $mangoUser); - $this->dispatcher->dispatch(AppVentusMangopayEvents::NEW_USER, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::NEW_USER, $event); return $mangoUser; } diff --git a/Helper/WalletHelper.php b/Helper/WalletHelper.php index 3a720eb..fe1ab86 100644 --- a/Helper/WalletHelper.php +++ b/Helper/WalletHelper.php @@ -1,16 +1,16 @@ userHelper->findOrCreateMangoUser($user); $mangoWallet = new Wallet(); - $mangoWallet->Owners = array($mangoUser->Id); + $mangoWallet->Owners = [$mangoUser->Id]; $mangoWallet->Currency = 'EUR'; $mangoWallet->Description = $description; $mangoWallet = $this->mangopayHelper->Wallets->create($mangoWallet); $event = new WalletEvent($mangoWallet, $user); - $this->dispatcher->dispatch(AppVentusMangopayEvents::NEW_WALLET, $event); + $this->dispatcher->dispatch(TroopersMangopayEvents::NEW_WALLET, $event); $this->entityManager->persist($user); $this->entityManager->flush(); diff --git a/LICENSE.md b/LICENSE.md index 2638eda..86a80ab 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 AppVentus +Copyright (c) 2015 Troopers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/OrderEvents.php b/OrderEvents.php index 818f39e..d56ce2b 100644 --- a/OrderEvents.php +++ b/OrderEvents.php @@ -1,6 +1,6 @@ get('appventus_mangopay.mango_api')->PayIns->create($payIn); + $this->get('troopers_mangopay.mango_api')->PayIns->create($payIn); ``` Additionnaly, there is some helpers that handle most of the mangopay actions. fell free to fork and implement yours @@ -42,7 +42,7 @@ It can register user BankInformations as it implements BankInformationInterface ```php $bankInformation = new BankInformation(); - $this->get('appventus_mangopay.bank_information_helper')->createBankAccount($bankInformation); + $this->get('troopers_mangopay.bank_information_helper')->createBankAccount($bankInformation); ``` PaymentHelper @@ -51,10 +51,10 @@ It can register a CardPreauthorisation and execute it ```php $cardRegistration = new CardRegistration(); - $this->get('appventus_mangopay.payment_helper')->createPreAuthorisation($cardRegistration); + $this->get('troopers_mangopay.payment_helper')->createPreAuthorisation($cardRegistration); $cardPreAuthorisation = new CardPreAuthorisation(); - $this->get('appventus_mangopay.payment_helper')->executePreAuthorisation($cardPreAuthorisation, $user, $wallet); + $this->get('troopers_mangopay.payment_helper')->executePreAuthorisation($cardPreAuthorisation, $user, $wallet); ``` PaymentDirectHelper @@ -63,7 +63,7 @@ It can create a new direct payment ```php $transaction = new Transaction(); - $this->get('appventus_mangopay.payment_direct_helper')->createDirectTransaction($transaction); + $this->get('troopers_mangopay.payment_direct_helper')->createDirectTransaction($transaction); ``` UserHelper @@ -72,7 +72,7 @@ It can create a new user in mangopay as the User object implements the UserInter ```php $user = new User(); - $this->get('appventus_mangopay.user_helper')->createMangoUser($user); + $this->get('troopers_mangopay.user_helper')->createMangoUser($user); ``` WalletHelper @@ -81,20 +81,20 @@ It can create a user wallet ```php $user = new User(); - $this->get('appventus_mangopay.wallet_helper')->createWalletForUser($user); + $this->get('troopers_mangopay.wallet_helper')->createWalletForUser($user); ``` This is the general workflow for the mangopay payment page: 1) Displaying the payment form to user -![Step 1](https://raw.githubusercontent.com/AppVentus/MangopayBundle/master/Resources/doc/assets/step1.jpg) +![Step 1](https://raw.githubusercontent.com/Troopers/MangopayBundle/master/Resources/doc/assets/step1.jpg) 2) Create mangopay user and the card registration through mangopay API -![Step 2](https://raw.githubusercontent.com/AppVentus/MangopayBundle/master/Resources/doc/assets/step2.jpg) +![Step 2](https://raw.githubusercontent.com/Troopers/MangopayBundle/master/Resources/doc/assets/step2.jpg) 3) Call the tokenisation server to validate the user credit card, use 3d secure if needed, update the CardR egistration with tokenized Card, create the PreAuthorisation then redirect the user to success page. -![Step 3](https://raw.githubusercontent.com/AppVentus/MangopayBundle/master/Resources/doc/assets/step3.jpg) +![Step 3](https://raw.githubusercontent.com/Troopers/MangopayBundle/master/Resources/doc/assets/step3.jpg) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 97470b6..dd70c5a 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -1,87 +1,87 @@ parameters: - appventus_mangopay.mango_api.class: "AppVentus\\MangopayBundle\\Helper\\MangopayHelper" - appventus_mangopay.payment_helper.class: "AppVentus\\MangopayBundle\\Helper\\PaymentHelper" - appventus_mangopay.card_registration_helper.class: "AppVentus\\MangopayBundle\\Helper\\CardRegistrationHelper" - appventus_mangopay.payment_direct_helper.class: "AppVentus\\MangopayBundle\\Helper\\PaymentDirectHelper" - appventus_mangopay.payment_out_helper.class: "AppVentus\\MangopayBundle\\Helper\\PaymentOutHelper" - appventus_mangopay.bankwire_helper.class: "AppVentus\\MangopayBundle\\Helper\\BankwireHelper" - appventus_mangopay.user_helper.class: "AppVentus\\MangopayBundle\\Helper\\UserHelper" - appventus_mangopay.bank_information_helper.class: "AppVentus\\MangopayBundle\\Helper\\BankInformationHelper" - appventus_mangopay.wallet_helper.class: "AppVentus\\MangopayBundle\\Helper\\WalletHelper" - appventus_mangopay.order.class: "AppVentus\\MangopayBundle\\Entity\\Order" - appventus_mangopay.form.card: "AppVentus\\MangopayBundle\\Form\\CardType" + troopers_mangopay.mango_api.class: "Troopers\\MangopayBundle\\Helper\\MangopayHelper" + troopers_mangopay.payment_helper.class: "Troopers\\MangopayBundle\\Helper\\PaymentHelper" + troopers_mangopay.card_registration_helper.class: "Troopers\\MangopayBundle\\Helper\\CardRegistrationHelper" + troopers_mangopay.payment_direct_helper.class: "Troopers\\MangopayBundle\\Helper\\PaymentDirectHelper" + troopers_mangopay.payment_out_helper.class: "Troopers\\MangopayBundle\\Helper\\PaymentOutHelper" + troopers_mangopay.bankwire_helper.class: "Troopers\\MangopayBundle\\Helper\\BankwireHelper" + troopers_mangopay.user_helper.class: "Troopers\\MangopayBundle\\Helper\\UserHelper" + troopers_mangopay.bank_information_helper.class: "Troopers\\MangopayBundle\\Helper\\BankInformationHelper" + troopers_mangopay.wallet_helper.class: "Troopers\\MangopayBundle\\Helper\\WalletHelper" + troopers_mangopay.order.class: "Troopers\\MangopayBundle\\Entity\\Order" + troopers_mangopay.form.card: "Troopers\\MangopayBundle\\Form\\CardType" services: - appventus_mangopay.mango_api: - class: %appventus_mangopay.mango_api.class% + troopers_mangopay.mango_api: + class: %troopers_mangopay.mango_api.class% arguments: - - %appventus_mangopay.client_id% - - %appventus_mangopay.client_password% - - %appventus_mangopay.base_url% + - %troopers_mangopay.client_id% + - %troopers_mangopay.client_password% + - %troopers_mangopay.base_url% - "@event_dispatcher" - "@doctrine.orm.entity_manager" - - %appventus_mangopay.debug_mode% + - %troopers_mangopay.debug_mode% - appventus_mangopay.user_helper: - class: %appventus_mangopay.user_helper.class% + troopers_mangopay.user_helper: + class: %troopers_mangopay.user_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - "@doctrine.orm.entity_manager" - "@event_dispatcher" - appventus_mangopay.bank_information_helper: - class: %appventus_mangopay.bank_information_helper.class% + troopers_mangopay.bank_information_helper: + class: %troopers_mangopay.bank_information_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - "@doctrine.orm.entity_manager" - - "@appventus_mangopay.user_helper" - appventus_mangopay.wallet_helper: - class: %appventus_mangopay.wallet_helper.class% + - "@troopers_mangopay.user_helper" + troopers_mangopay.wallet_helper: + class: %troopers_mangopay.wallet_helper.class% arguments: - - "@appventus_mangopay.mango_api" - - "@appventus_mangopay.user_helper" + - "@troopers_mangopay.mango_api" + - "@troopers_mangopay.user_helper" - "@doctrine.orm.entity_manager" - "@event_dispatcher" - appventus_mangopay.card_registration_helper: - class: %appventus_mangopay.card_registration_helper.class% + troopers_mangopay.card_registration_helper: + class: %troopers_mangopay.card_registration_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - "@doctrine.orm.entity_manager" - "@event_dispatcher" - appventus_mangopay.card_registration_helper: - class: %appventus_mangopay.card_registration_helper.class% + troopers_mangopay.card_registration_helper: + class: %troopers_mangopay.card_registration_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - "@doctrine.orm.entity_manager" - "@event_dispatcher" - appventus_mangopay.payment_helper: - class: %appventus_mangopay.payment_helper.class% + troopers_mangopay.payment_helper: + class: %troopers_mangopay.payment_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - "@router" - "@event_dispatcher" - appventus_mangopay.payment_direct_helper: - class: %appventus_mangopay.payment_direct_helper.class% + troopers_mangopay.payment_direct_helper: + class: %troopers_mangopay.payment_direct_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - "@router" - "@event_dispatcher" - appventus_mangopay.bankwire_helper: - class: %appventus_mangopay.bankwire_helper.class% + troopers_mangopay.bankwire_helper: + class: %troopers_mangopay.bankwire_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - appventus_mangopay.payment_out_helper: - class: %appventus_mangopay.payment_out_helper.class% + troopers_mangopay.payment_out_helper: + class: %troopers_mangopay.payment_out_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - appventus_mangopay.payment_out_helper: - class: %appventus_mangopay.payment_out_helper.class% + troopers_mangopay.payment_out_helper: + class: %troopers_mangopay.payment_out_helper.class% arguments: - - "@appventus_mangopay.mango_api" + - "@troopers_mangopay.mango_api" - appventus_mangopay.form.card: - class: %appventus_mangopay.form.card% + troopers_mangopay.form.card: + class: %troopers_mangopay.form.card% tags: - { name: form.type } diff --git a/Resources/js/mangopay.js b/Resources/js/mangopay.js index ae991ae..8446feb 100644 --- a/Resources/js/mangopay.js +++ b/Resources/js/mangopay.js @@ -25,13 +25,13 @@ function payAjaxOrRedirect(ajaxUrl, }); // Collect sensitive card data from the form - var month = $("[data-id='appventus_mangopay_card_expiry_month']").val(); - var year = $("[data-id='appventus_mangopay_card_expiry_year']").val(); + var month = $("[data-id='troopers_mangopay_card_expiry_month']").val(); + var year = $("[data-id='troopers_mangopay_card_expiry_year']").val(); var cardData = { - cardNumber : $("[data-id='appventus_mangopay_card_number']").val(), + cardNumber : $("[data-id='troopers_mangopay_card_number']").val(), cardExpirationDate : pad(month, 2) + "" + pad(year, 2), - cardCvx : pad($("[data-id='appventus_mangopay_ccv']").val(), 3) + cardCvx : pad($("[data-id='troopers_mangopay_ccv']").val(), 3) }; // Process data diff --git a/Resources/views/cardPayment.html.twig b/Resources/views/cardPayment.html.twig index 19b9538..cb128ab 100644 --- a/Resources/views/cardPayment.html.twig +++ b/Resources/views/cardPayment.html.twig @@ -20,7 +20,7 @@

- {{ 'appventus.mangopay.payment_page.info_block'|trans }} + {{ 'troopers.mangopay.payment_page.info_block'|trans }}

@@ -73,13 +73,13 @@

- {{ 'appventus.mangopay.payment_page.helper_block'|trans }} + {{ 'troopers.mangopay.payment_page.helper_block'|trans }}

-
+ {{ form_rest(form) }}
@@ -88,32 +88,32 @@
- Powered by Mango Pay + Powered by Mango Pay
{% endjavascripts %} diff --git a/Tests/Controller/DefaultControllerTest.php b/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index e672f67..0000000 --- a/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,17 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/TroopersMangopayBundle.php b/TroopersMangopayBundle.php new file mode 100644 index 0000000..0c7617b --- /dev/null +++ b/TroopersMangopayBundle.php @@ -0,0 +1,9 @@ +=5.0.0", - "symfony/framework-bundle" : ">=2.3", - "mangopay/php-sdk-v2" : ">=2.0", - "appventus/ajax-bundle" : "*" + "php": "~5.3|~7", + "symfony/framework-bundle": ">=2.3", + "mangopay/php-sdk-v2": ">=2.0", + "stof/doctrine-extensions-bundle": "~1.2.0", + "troopers/ajax-bundle": "~1.2.2" }, "autoload": { - "psr-0": { "AppVentus\\MangopayBundle": "" } + "psr-0": { "Troopers\\MangopayBundle": "" } }, - "target-dir": "AppVentus/MangopayBundle" + "target-dir": "Troopers/MangopayBundle" } diff --git a/composer.lock b/composer.lock deleted file mode 100644 index cc76281..0000000 --- a/composer.lock +++ /dev/null @@ -1,1642 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", - "This file is @generated automatically" - ], - "hash": "b9526927888ec2f722ec5094d25298b2", - "content-hash": "898c236aac66ea51e15a7956a2143f45", - "packages": [ - { - "name": "appventus/ajax-bundle", - "version": "dev-master", - "target-dir": "AppVentus/AjaxBundle", - "source": { - "type": "git", - "url": "https://github.com/AppVentus/AvAjaxBundle.git", - "reference": "e4edecefdf570f1575d798e16a5eb498fad60824" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/AppVentus/AvAjaxBundle/zipball/e4edecefdf570f1575d798e16a5eb498fad60824", - "reference": "e4edecefdf570f1575d798e16a5eb498fad60824", - "shasum": "" - }, - "require-dev": { - "symfony/class-loader": "2.1.*" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-0": { - "AppVentus\\AjaxBundle": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Leny Bernard (AppVentus)", - "email": "leny@appventus.com", - "homepage": "http://appventus.com" - } - ], - "description": "Symfony AjaxBundle", - "homepage": "http://appventus.com/bundles/ajax", - "keywords": [ - "ajax" - ], - "time": "2016-01-29 08:17:01" - }, - { - "name": "doctrine/annotations", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "2e1b1f7597e2f647e99e96e747fcae9718ac817b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/2e1b1f7597e2f647e99e96e747fcae9718ac817b", - "reference": "2e1b1f7597e2f647e99e96e747fcae9718ac817b", - "shasum": "" - }, - "require": { - "doctrine/lexer": "1.*", - "php": ">=5.3.2" - }, - "require-dev": { - "doctrine/cache": "1.*", - "phpunit/phpunit": "4.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Annotations\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "time": "2016-03-24 07:09:52" - }, - { - "name": "doctrine/cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/doctrine/cache.git", - "reference": "4e3b8b9464d511eccbefe07cef94c275bce7e434" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/4e3b8b9464d511eccbefe07cef94c275bce7e434", - "reference": "4e3b8b9464d511eccbefe07cef94c275bce7e434", - "shasum": "" - }, - "require": { - "php": "~5.5|~7.0" - }, - "conflict": { - "doctrine/common": ">2.2,<2.4" - }, - "require-dev": { - "phpunit/phpunit": "~4.8|~5.0", - "predis/predis": "~1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.7.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Caching library offering an object-oriented API for many cache backends", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "cache", - "caching" - ], - "time": "2016-03-11 16:30:04" - }, - { - "name": "doctrine/lexer", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Lexer\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "lexer", - "parser" - ], - "time": "2014-09-09 13:34:57" - }, - { - "name": "mangopay/php-sdk-v2", - "version": "v2.0", - "source": { - "type": "git", - "url": "https://github.com/MangoPay/mangopay2-php-sdk.git", - "reference": "4c1514fe8ee4f03d3225d76c8c85ccceb0576829" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/MangoPay/mangopay2-php-sdk/zipball/4c1514fe8ee4f03d3225d76c8c85ccceb0576829", - "reference": "4c1514fe8ee4f03d3225d76c8c85ccceb0576829", - "shasum": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "MangoPay\\": "" - }, - "files": [ - "MangoPay/Autoloader.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "SDK PHP for Mangopay api V2", - "time": "2015-04-17 12:55:36" - }, - { - "name": "paragonie/random_compat", - "version": "v1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "1115ffa06bad72d01735d91f51eb022db556e205" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/1115ffa06bad72d01735d91f51eb022db556e205", - "reference": "1115ffa06bad72d01735d91f51eb022db556e205", - "shasum": "" - }, - "require": { - "php": ">=5.2.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "type": "library", - "autoload": { - "files": [ - "lib/random.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "pseudorandom", - "random" - ], - "time": "2016-04-03 05:47:09" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "d8e60a5619fff77f9669da8997697443ef1a1d7e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d8e60a5619fff77f9669da8997697443ef1a1d7e", - "reference": "d8e60a5619fff77f9669da8997697443ef1a1d7e", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "time": "2016-01-06 21:40:42" - }, - { - "name": "symfony/asset", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/asset.git", - "reference": "ec457b08c1dd65878d23d77872fead78efba535d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/asset/zipball/ec457b08c1dd65878d23d77872fead78efba535d", - "reference": "ec457b08c1dd65878d23d77872fead78efba535d", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "symfony/http-foundation": "~2.8|~3.0" - }, - "suggest": { - "symfony/http-foundation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Asset\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Asset Component", - "homepage": "https://symfony.com", - "time": "2016-03-10 11:16:56" - }, - { - "name": "symfony/class-loader", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/class-loader.git", - "reference": "6ebc60f69a6df4b3cf5ad6f260ba4edf5957ea05" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/class-loader/zipball/6ebc60f69a6df4b3cf5ad6f260ba4edf5957ea05", - "reference": "6ebc60f69a6df4b3cf5ad6f260ba4edf5957ea05", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "symfony/finder": "~2.8|~3.0", - "symfony/polyfill-apcu": "~1.1" - }, - "suggest": { - "symfony/polyfill-apcu": "For using ApcClassLoader on HHVM" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\ClassLoader\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony ClassLoader Component", - "homepage": "https://symfony.com", - "time": "2016-03-30 10:41:47" - }, - { - "name": "symfony/config", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/config.git", - "reference": "2d23e8b661e2d9658932902f5a40445cc5e5b359" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/2d23e8b661e2d9658932902f5a40445cc5e5b359", - "reference": "2d23e8b661e2d9658932902f5a40445cc5e5b359", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/filesystem": "~2.8|~3.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Config\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Config Component", - "homepage": "https://symfony.com", - "time": "2016-03-04 07:56:56" - }, - { - "name": "symfony/debug", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "5f4f7b4aaf3615f62183e818f5efa542d4fb95f2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/5f4f7b4aaf3615f62183e818f5efa542d4fb95f2", - "reference": "5f4f7b4aaf3615f62183e818f5efa542d4fb95f2", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "psr/log": "~1.0" - }, - "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" - }, - "require-dev": { - "symfony/class-loader": "~2.8|~3.0", - "symfony/http-kernel": "~2.8|~3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Debug Component", - "homepage": "https://symfony.com", - "time": "2016-03-30 10:41:47" - }, - { - "name": "symfony/dependency-injection", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/dependency-injection.git", - "reference": "4d11d8088d395b7fa0762e474cdda2259efba9e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/4d11d8088d395b7fa0762e474cdda2259efba9e5", - "reference": "4d11d8088d395b7fa0762e474cdda2259efba9e5", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "symfony/config": "~2.8|~3.0", - "symfony/expression-language": "~2.8|~3.0", - "symfony/yaml": "~2.8|~3.0" - }, - "suggest": { - "symfony/config": "", - "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\DependencyInjection\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony DependencyInjection Component", - "homepage": "https://symfony.com", - "time": "2016-04-07 12:29:40" - }, - { - "name": "symfony/event-dispatcher", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "3433bfec93209ce539751591c3a1d9a1ac5ff53b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3433bfec93209ce539751591c3a1d9a1ac5ff53b", - "reference": "3433bfec93209ce539751591c3a1d9a1ac5ff53b", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/dependency-injection": "~2.8|~3.0", - "symfony/expression-language": "~2.8|~3.0", - "symfony/stopwatch": "~2.8|~3.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "https://symfony.com", - "time": "2016-03-10 11:16:56" - }, - { - "name": "symfony/filesystem", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "3402bb927c2ae25caca38d6faf901f25fc42a926" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/3402bb927c2ae25caca38d6faf901f25fc42a926", - "reference": "3402bb927c2ae25caca38d6faf901f25fc42a926", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Filesystem Component", - "homepage": "https://symfony.com", - "time": "2016-03-27 16:15:51" - }, - { - "name": "symfony/finder", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "c3e7b8a86d3044a3dff2cc5a89f2c523ccf0e0fb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/c3e7b8a86d3044a3dff2cc5a89f2c523ccf0e0fb", - "reference": "c3e7b8a86d3044a3dff2cc5a89f2c523ccf0e0fb", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Finder Component", - "homepage": "https://symfony.com", - "time": "2016-03-10 11:16:56" - }, - { - "name": "symfony/framework-bundle", - "version": "3.0.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/framework-bundle.git", - "reference": "bddf1936ac20ecc7147929d803c1820d55d10b6d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/bddf1936ac20ecc7147929d803c1820d55d10b6d", - "reference": "bddf1936ac20ecc7147929d803c1820d55d10b6d", - "shasum": "" - }, - "require": { - "doctrine/annotations": "~1.0", - "doctrine/cache": "~1.0", - "php": ">=5.5.9", - "symfony/asset": "~2.8|~3.0", - "symfony/class-loader": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0", - "symfony/dependency-injection": "~2.8|~3.0", - "symfony/event-dispatcher": "~2.8|~3.0", - "symfony/filesystem": "~2.8|~3.0", - "symfony/finder": "~2.8|~3.0", - "symfony/http-foundation": "~2.8|~3.0", - "symfony/http-kernel": "~2.8|~3.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/routing": "~3.0", - "symfony/security-core": "~2.8|~3.0", - "symfony/security-csrf": "~2.8|~3.0", - "symfony/stopwatch": "~2.8|~3.0", - "symfony/templating": "~2.8|~3.0", - "symfony/translation": "~2.8|~3.0" - }, - "require-dev": { - "phpdocumentor/reflection": "^1.0.7", - "symfony/browser-kit": "~2.8|~3.0", - "symfony/console": "~2.8|~3.0", - "symfony/css-selector": "~2.8|~3.0", - "symfony/dom-crawler": "~2.8|~3.0", - "symfony/expression-language": "~2.8|~3.0", - "symfony/form": "~2.8|~3.0", - "symfony/polyfill-intl-icu": "~1.0", - "symfony/process": "~2.8|~3.0", - "symfony/property-info": "~2.8|~3.0", - "symfony/security": "~2.8|~3.0", - "symfony/validator": "~2.8|~3.0", - "symfony/yaml": "~2.8|~3.0", - "twig/twig": "~1.23|~2.0" - }, - "suggest": { - "symfony/console": "For using the console commands", - "symfony/form": "For using forms", - "symfony/process": "For using the server:run, server:start, server:stop, and server:status commands", - "symfony/property-info": "For using the property_info service", - "symfony/serializer": "For using the serializer service", - "symfony/validator": "For using validation", - "symfony/yaml": "For using the debug:config and lint:yaml commands" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Bundle\\FrameworkBundle\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony FrameworkBundle", - "homepage": "https://symfony.com", - "time": "2016-04-02 08:04:34" - }, - { - "name": "symfony/http-foundation", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-foundation.git", - "reference": "d55e325bbb40117d879c3285886d3711a4f4f623" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d55e325bbb40117d879c3285886d3711a4f4f623", - "reference": "d55e325bbb40117d879c3285886d3711a4f4f623", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/polyfill-mbstring": "~1.1" - }, - "require-dev": { - "symfony/expression-language": "~2.8|~3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpFoundation\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony HttpFoundation Component", - "homepage": "https://symfony.com", - "time": "2016-04-02 08:08:03" - }, - { - "name": "symfony/http-kernel", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-kernel.git", - "reference": "7f662675772a7dfa0f423779744ef48a003e6f91" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/7f662675772a7dfa0f423779744ef48a003e6f91", - "reference": "7f662675772a7dfa0f423779744ef48a003e6f91", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "psr/log": "~1.0", - "symfony/debug": "~2.8|~3.0", - "symfony/event-dispatcher": "~2.8|~3.0", - "symfony/http-foundation": "~2.8|~3.0" - }, - "conflict": { - "symfony/config": "<2.8" - }, - "require-dev": { - "symfony/browser-kit": "~2.8|~3.0", - "symfony/class-loader": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0", - "symfony/console": "~2.8|~3.0", - "symfony/css-selector": "~2.8|~3.0", - "symfony/dependency-injection": "~2.8|~3.0", - "symfony/dom-crawler": "~2.8|~3.0", - "symfony/expression-language": "~2.8|~3.0", - "symfony/finder": "~2.8|~3.0", - "symfony/process": "~2.8|~3.0", - "symfony/routing": "~2.8|~3.0", - "symfony/stopwatch": "~2.8|~3.0", - "symfony/templating": "~2.8|~3.0", - "symfony/translation": "~2.8|~3.0", - "symfony/var-dumper": "~2.8|~3.0" - }, - "suggest": { - "symfony/browser-kit": "", - "symfony/class-loader": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "", - "symfony/finder": "", - "symfony/var-dumper": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpKernel\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony HttpKernel Component", - "homepage": "https://symfony.com", - "time": "2016-04-11 08:32:34" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "1289d16209491b584839022f29257ad859b8532d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d", - "reference": "1289d16209491b584839022f29257ad859b8532d", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "time": "2016-01-20 09:13:37" - }, - { - "name": "symfony/polyfill-php56", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php56.git", - "reference": "4d891fff050101a53a4caabb03277284942d1ad9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/4d891fff050101a53a4caabb03277284942d1ad9", - "reference": "4d891fff050101a53a4caabb03277284942d1ad9", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/polyfill-util": "~1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php56\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2016-01-20 09:13:37" - }, - { - "name": "symfony/polyfill-php70", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "386c1be9cad3ab531425211919e78c37971be4ce" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/386c1be9cad3ab531425211919e78c37971be4ce", - "reference": "386c1be9cad3ab531425211919e78c37971be4ce", - "shasum": "" - }, - "require": { - "paragonie/random_compat": "~1.0", - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2016-01-28 22:42:02" - }, - { - "name": "symfony/polyfill-util", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-util.git", - "reference": "8de62801aa12bc4dfcf85eef5d21981ae7bb3cc4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/8de62801aa12bc4dfcf85eef5d21981ae7bb3cc4", - "reference": "8de62801aa12bc4dfcf85eef5d21981ae7bb3cc4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Util\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony utilities for portability of PHP codes", - "homepage": "https://symfony.com", - "keywords": [ - "compat", - "compatibility", - "polyfill", - "shim" - ], - "time": "2016-01-20 09:13:37" - }, - { - "name": "symfony/routing", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/routing.git", - "reference": "496038466add75c605e83037d5b94d2b6491c8d8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/496038466add75c605e83037d5b94d2b6491c8d8", - "reference": "496038466add75c605e83037d5b94d2b6491c8d8", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "conflict": { - "symfony/config": "<2.8" - }, - "require-dev": { - "doctrine/annotations": "~1.0", - "doctrine/common": "~2.2", - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/expression-language": "~2.8|~3.0", - "symfony/http-foundation": "~2.8|~3.0", - "symfony/yaml": "~2.8|~3.0" - }, - "suggest": { - "doctrine/annotations": "For using the annotation loader", - "symfony/config": "For using the all-in-one router or any loader", - "symfony/dependency-injection": "For loading routes from a service", - "symfony/expression-language": "For using expression matching", - "symfony/http-foundation": "For using a Symfony Request object", - "symfony/yaml": "For using the YAML loader" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Routing\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Routing Component", - "homepage": "https://symfony.com", - "keywords": [ - "router", - "routing", - "uri", - "url" - ], - "time": "2016-04-02 08:08:03" - }, - { - "name": "symfony/security-core", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/security-core.git", - "reference": "58a25a43c876bb6ce12d50645bda6765e831b67b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/security-core/zipball/58a25a43c876bb6ce12d50645bda6765e831b67b", - "reference": "58a25a43c876bb6ce12d50645bda6765e831b67b", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/polyfill-php56": "~1.0", - "symfony/polyfill-util": "~1.0" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.8|~3.0", - "symfony/expression-language": "~2.8|~3.0", - "symfony/http-foundation": "~2.8|~3.0", - "symfony/ldap": "~3.1", - "symfony/validator": "~2.8|~3.0" - }, - "suggest": { - "symfony/event-dispatcher": "", - "symfony/expression-language": "For using the expression voter", - "symfony/http-foundation": "", - "symfony/ldap": "For using LDAP integration", - "symfony/validator": "For using the user password constraint" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Security\\Core\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Security Component - Core Library", - "homepage": "https://symfony.com", - "time": "2016-03-10 11:16:56" - }, - { - "name": "symfony/security-csrf", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/security-csrf.git", - "reference": "94057944fb53ad1f38c3633c8bca388d7d1864ba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/security-csrf/zipball/94057944fb53ad1f38c3633c8bca388d7d1864ba", - "reference": "94057944fb53ad1f38c3633c8bca388d7d1864ba", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/polyfill-php56": "~1.0", - "symfony/polyfill-php70": "~1.0", - "symfony/security-core": "~2.8|~3.0" - }, - "require-dev": { - "symfony/http-foundation": "~2.8|~3.0" - }, - "suggest": { - "symfony/http-foundation": "For using the class SessionTokenStorage." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Security\\Csrf\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Security Component - CSRF Library", - "homepage": "https://symfony.com", - "time": "2016-03-10 11:16:56" - }, - { - "name": "symfony/stopwatch", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/stopwatch.git", - "reference": "4670f122fa32a4900003a6802f6b8575f3f0b17e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/4670f122fa32a4900003a6802f6b8575f3f0b17e", - "reference": "4670f122fa32a4900003a6802f6b8575f3f0b17e", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Stopwatch\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Stopwatch Component", - "homepage": "https://symfony.com", - "time": "2016-03-04 07:56:56" - }, - { - "name": "symfony/templating", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/templating.git", - "reference": "710a9d568d231c84152e055d9b79851a6fff099c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/templating/zipball/710a9d568d231c84152e055d9b79851a6fff099c", - "reference": "710a9d568d231c84152e055d9b79851a6fff099c", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "psr/log": "~1.0" - }, - "suggest": { - "psr/log": "For using debug logging in loaders" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Templating\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Templating Component", - "homepage": "https://symfony.com", - "time": "2016-03-27 16:15:51" - }, - { - "name": "symfony/translation", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "82a923279e03c8cab7bfdcad706b1bf51afddd0f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/82a923279e03c8cab7bfdcad706b1bf51afddd0f", - "reference": "82a923279e03c8cab7bfdcad706b1bf51afddd0f", - "shasum": "" - }, - "require": { - "php": ">=5.5.9", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/config": "<2.8" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/intl": "~2.8|~3.0", - "symfony/yaml": "~2.8|~3.0" - }, - "suggest": { - "psr/log": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Translation\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Translation Component", - "homepage": "https://symfony.com", - "time": "2016-03-31 18:23:24" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": ">=5.0.0" - }, - "platform-dev": [] -}