I personally find the example application very useful when developing on a gateway, and also as the first point of call when trying to understand OmniPay for the first time. There are so many different platforms to develop on these days, that it helps to have this flexibility. I tend to have so many things on the go at once, that it is easier to plonk a bunch of projects on one server than to have a gazzillion servers brought up all over the place. But YMMV, naturally :-)
I've tested this in a sub-directory and also the root folder of a domain, with mod_php 5.4, and it works for me, though there could always be some path I've not taken into account.
https://github.com/thephpleague/omnipay-example/issues/3
Here you go - take it or leave it :-)
I personally find the example application very useful when developing on a gateway, and also as the first point of call when trying to understand OmniPay for the first time. There are so many different platforms to develop on these days, that it helps to have this flexibility. I tend to have so many things on the go at once, that it is easier to plonk a bunch of projects on one server than to have a gazzillion servers brought up all over the place. But YMMV, naturally :-)
I've tested this in a sub-directory and also the root folder of a domain, with mod_php 5.4, and it works for me, though there could always be some path I've not taken into account.