{"id":15293812,"url":"https://github.com/jsdecena/mailchimp","last_synced_at":"2026-03-07T19:31:20.331Z","repository":{"id":54485159,"uuid":"60585631","full_name":"jsdecena/mailchimp","owner":"jsdecena","description":"Laravel 5 package for mailchimp","archived":false,"fork":false,"pushed_at":"2021-02-16T08:09:31.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T13:28:28.983Z","etag":null,"topics":["laravel","mailchimp","middleware","php","test-driven-development"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsdecena.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-07T05:46:57.000Z","updated_at":"2018-10-09T10:54:16.000Z","dependencies_parsed_at":"2022-08-13T17:30:29.807Z","dependency_job_id":null,"html_url":"https://github.com/jsdecena/mailchimp","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/jsdecena/mailchimp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdecena%2Fmailchimp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdecena%2Fmailchimp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdecena%2Fmailchimp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdecena%2Fmailchimp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsdecena","download_url":"https://codeload.github.com/jsdecena/mailchimp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdecena%2Fmailchimp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30227785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","mailchimp","middleware","php","test-driven-development"],"created_at":"2024-09-30T16:53:22.688Z","updated_at":"2026-03-07T19:31:20.309Z","avatar_url":"https://github.com/jsdecena.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/jsdecena/mailchimp.svg?branch=master)](https://travis-ci.org/jsdecena/mailchimp)\n[![Latest Stable Version](https://poser.pugx.org/jsdecena/mailchimp/v/stable)](https://packagist.org/packages/jsdecena/mailchimp)\n[![Total Downloads](https://poser.pugx.org/jsdecena/mailchimp/downloads)](https://packagist.org/packages/jsdecena/mailchimp)\n[![License](https://poser.pugx.org/jsdecena/mailchimp/license)](https://packagist.org/packages/jsdecena/mailchimp)\n\n## MailChimp API v2.0 Laravel PHP Example\n\n## Installation\n\n- Step1: Add this to your root `composer.json` \n\n```json\n\n\t\"require\": {\n\t    \"jsdecena/mailchimp\": \"^7.0\"\n\t}\n```\nOr issue this command:\n\n`composer require jsdecena/mailchimp`\n\n- Step2: Add this to your `config/app.php` in `providers` array\n\n```json\n\n\t'providers' =\u003e [\n\t    Jsdecena\\MailChimp\\MailChimpServiceProvider::class,\n\t]\n\n```\n\n- Step3: Run this in your terminal\n\n`php artisan vendor:publish --provider=\"Jsdecena\\MailChimp\\MailChimpServiceProvider\"`\n\n- Step4: Include the template anywhere in your template `@include('mailchimp::mailchimp')`\n\n- Step5: Set the variable in your `.env` file\n\n`MAILCHIMP_API_KEY=YourMailChimpAPIKey`\n\n`MAILCHIMP_LIST_ID=YourMailChimpListId`\n\n- Step6: Enjoy!\n\n\n## Overriding the template file?\n\n\n- Yes you can. Override the file in `/resources/views/vendor/mailchimp/mailchimp.blade.php`\n\n\n## What is new with 1.6?\n\n\n- Recently, I learned the power of doing TDD (test driven development) on applications using PHPUnit. So now, I am already throwing exception messages whenever there is an issue on the request!\n\n## What are the exception messages we are returning?\n\n\n- Email that MailChimp does not allow\n\n```json\n  {\n    \"error\": \"List_RoleEmailMember: test@test.com is an invalid email address and cannot be imported.\"\n  }\n```\n\n- Wrong API key provided\n\n```json\n  {\n    \"error\":\"Invalid MailChimp API key: 1112e36f7f44ef4cc3c5a584747abb05be\"\n  }\n```\n\n- Wrong List ID provided\n\n```json\n  {\n    \"error\":\"Invalid MailChimp List ID: accf6b0a0e111\"\n  }\n```\n\n## And if the subscription is successful, it will return the email, euid, leid on the data object\n\n```json\n  {\n    \"data\": {\n      \"email\":\"super@mario.com\",\n      \"euid\":\"b0b8fdacbd\",\n      \"leid\":\"430369209\"\n    }\n  }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdecena%2Fmailchimp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsdecena%2Fmailchimp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdecena%2Fmailchimp/lists"}