i have added LIB yookassa to laravel/vendor/omnipay/yookassa, but after call
$gateway = Omnipay::create('YooKassa');
it was error Class '\Omnipay\YooKassa\Gateway' not found
The main composer.json (require section)
"omnipay/paypal": "*",
"omnipay/stripe": "*",
"omnipay/yookassa": "*",
"yoomoney/yookassa-sdk-php": "^2.4",
"hiqdev/omnipay-yandex-kassa": "^3.0",
"igor-tv/omnipay-yookassa": "^4.0",
Try first clear the cache
php artisan optimize:clear
after you need
composer install
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.