I try to use OmniPay in my Laravel 5.2 project by adding the following line in my composer.json
"ignited/laravel-omnipay": "2.*",
"lokielse/omnipay-alipay": "dev-master"
Then after I add the following line in bootstrap/app.php line 46,
$app->configure('laravel-omnipay');
and create a new controller, I hit error
PHP Fatal error: Call to undefined method Illuminate\Foundation\Application::configure() in /home/xxx/src/bootstrap/app.php on line 46
Any idea will be welcomed. Thanks!
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2mf4QtE
via IFTTT
Aucun commentaire:
Enregistrer un commentaire