Laravel Mailchimp OAuth Integration Boilerplate

<p>The Global Search Boilerplate integrates Laravel Livewire, Scout, and Tailwind CSS to create a powerful global search feature in Laravel applications. This setup provides a straightforward implementation for searching across multiple models with real-time updates.</p>


The Global Search Boilerplate integrates Laravel Livewire, Scout, and Tailwind CSS to create a powerful global search feature in Laravel applications. This setup provides a straightforward implementation for searching across multiple models with real-time updates.

1. System Requirements

Ensure you have the latest versions of Composer and PHP.

Composer version 2.7.6 or above PHP version 8.1.10 or above

2. Package Used

If you are integrating into an existing Laravel app, you need to install this package using Composer; otherwise, simply run composer install.

composer require mailchimp/marketing

3. Mailchimp App Settings

# in .env file

MAILCHIMP_CLIENT_ID=
MAILCHIMP_CLIENT_SECRET=

4. Where to Find Necessary Files

MailchimpOAuthController: Located in the app/Http/Controllers directory.Handles page view, redirect and callback functionalities.

MailchimpOAuthService: Located in the app/Http/Services directory. Manages requests to the Mailchimp API and handles interactions.

web.php: Located in the routes directory. Defines the routes for the Mailchimp OAuth integration.

config/services.php: Located in the config directory. Contains configuration settings for Mailchimp application.

5. Installation

For detailed installation and setup instructions, refer to the project's GitHub repository. Follow the setup steps to integrate and use the global search feature in your Laravel application.