title: PAYUM: Custom Gateway Method
body: <p>I use an existing symfony project with sylius bundle and included payum bundle.
  I have already some bundle in the src folder.</p>
  
  <p>I need to create a custom gateway.
  For this I found that : <a href="https://github.com/Payum/Payum/blob/master/src/Payum/Core/Resources/docs/develop-gateway-with-payum.md" rel="nofollow">https://github.com/Payum/Payum/blob/master/src/Payum/Core/Resources/docs/develop-gateway-with-payum.md</a></p>
  
  <p>But, <em>what about <strong>where</strong> to execute the command line "composer create-project payum/skeleton", it seems to be important to apply new skeleton into current project ?</em></p>
  
  <p>And then in the documentation, there are these informations : </p>
  
  <ul>
  <li><p>Replace all occurrences of payum with your vendor name. It may be your github name, for now let's say you choose: acme</p></li>
  <li><p>Replace all occurrences of skeleton with a payment gateway name. For example Stripe, Paypal etc. For now let's say you choose: paypal.</p></li>
  </ul>
  
  <p><em>What does that mean ? replace all folder name, all file name, all terms in files ?</em></p>
  
  <p>And finally, this documentation talks about : "Register a gateway factory to the payum's builder and create a gateway"</p>
  
  <p><em>Where to do that ? How to do that ? Is there a command line or something like that ?</em></p>
  
  <p>Many thanks</p>