What is the best practice when using third-party SDKs with Laravel?
After loading Authorize.net SDK via composer like so...
composer require authorizenet/authorizenet:~1.8
Authorizenet\AuthorizeNetARB::class, to /config/app.php
No you don't need to add it to your
config/app.php because it's not a Laravel-package.
You can directly use
AuthorizeNetARB because it's not namespaced.
$example = New \AuthorizeNetARB();