0

I am installing OmniPay but do not see it anywhere that classes should I put in the file app.php

Documentation only tells how to install with composer, but it shows what i have to put in the file app.php, that put classes.

https://github.com/thephpleague/omnipay

'providers' => [
...

],

'alianses' => [
...

]

what should i put into providers and alianses?

John Slegers
  • 45,213
  • 22
  • 199
  • 169
Radames E. Hernandez
  • 4,235
  • 27
  • 37
  • Have you checked out a Laravel specific Omnipay package at all? I use this and it does the trick nicely, it is still Omnipay but comes with the service provider all ready to go; https://github.com/ignited/laravel-omnipay – James Dec 12 '15 at 04:20
  • hoho thank you so much, it is the package that i need, thanks bro :) – Radames E. Hernandez Dec 12 '15 at 16:05

1 Answers1

0

Just posting my comment as an answer to wrap the question up and provide a reference for anyone who comes across it later on.

The default OmniPay package doesn't have a service provider built for Laravel, so instead we should use a Laravel specific OmniPay package to make life easier for ourselves: such as this one.

James
  • 15,754
  • 12
  • 73
  • 91