Overview

Alfred has several ready integrations (Imgix, Mailchimp, Pardot, Stripe, PayPal and so on). Their code is available in App/Integrations (app/Integrations folder). Basic Alfred version has got only one built-in integration with Imgix (described on the next page of this documentation). The other integrations are ready to be used and exist in separate code repositories.

If you ever need to create your own integration, with a 3rd party API etc., please create a folder in the app/Integrations one and use the App\Integrations\<YOUR INTEGRATION> namespace. Each integration should be independent, possible to be used in any controller or service. Ideally if it consists of provider, service (+ facade) and controller (if needed).

Do not forget to register the integration in the config/app.php file to create an alias that can be used to call specific integration methods (if needed).