{"id":37236778,"url":"https://github.com/czepter/cake-mailjet","last_synced_at":"2026-01-16T04:53:23.506Z","repository":{"id":56960922,"uuid":"182146569","full_name":"czepter/cake-mailjet","owner":"czepter","description":"Mailjet plugin for CakePHP. Allows sending emails via Mailjet by using the provided Mailjet SDK.","archived":false,"fork":false,"pushed_at":"2023-09-11T08:15:17.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-24T16:08:25.402Z","etag":null,"topics":["cakephp","cakephp-plugin","cakephp3","mailer-class","mailjet","mailjet-sdk"],"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/czepter.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":"2019-04-18T19:34:59.000Z","updated_at":"2019-04-18T19:55:07.000Z","dependencies_parsed_at":"2022-08-21T05:10:20.379Z","dependency_job_id":null,"html_url":"https://github.com/czepter/cake-mailjet","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/czepter/cake-mailjet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czepter%2Fcake-mailjet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czepter%2Fcake-mailjet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czepter%2Fcake-mailjet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czepter%2Fcake-mailjet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/czepter","download_url":"https://codeload.github.com/czepter/cake-mailjet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czepter%2Fcake-mailjet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cakephp","cakephp-plugin","cakephp3","mailer-class","mailjet","mailjet-sdk"],"created_at":"2026-01-15T04:17:06.930Z","updated_at":"2026-01-15T04:17:07.530Z","avatar_url":"https://github.com/czepter.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mailjet plugin for CakePHP\n\nAllows sending emails via Mailjet by using the provided Mailjet SDK.\n\n## Requirements\nPHP \u003e= 7.0\nCakePHP \u003e= 3.7\nComposer\n\n## Installation\n\nYou can install this plugin into your CakePHP application using [composer](https://getcomposer.org).\n\nThe recommended way to install composer packages is:\n\n```\ncomposer require czepter/cake-mailjet\n```\n\nload this plugin into your src/AppController.php with:\n\n```\nbin/cake plugin load Mailjet\n```\n\nor modify the file by your own inside of bootstrap():\n\n``` php\n$this-\u003eaddPlugin('Mailjet');\n```\n\n## Example configuration\n\nexample content of your config/app.php:\n\n```php\n'EmailTransport' =\u003e [\n\t'default' =\u003e [\n\t\t...\n\t],\n\t'mailjet' =\u003e [\n\t\t'className' =\u003e 'Mailjet.Mailjet',\n\t\t'apiKey' =\u003e 'your-api-key',\n\t\t'apiSecret' =\u003e 'your-api-secret'\n\t]\n],\n\n'Email' =\u003e [\n\t'default' =\u003e [\n\t\t'transport' =\u003e 'mailjet',\n\n\t\t'from' =\u003e 'no-reply@example.org',\n\t\t'charset' =\u003e 'utf-8',\n\t\t'headerCharset' =\u003e 'utf-8',\n\t\t],\n\t]\n];\n```\n\n## Email setup\n\nto write a mail using the templates use the following configuration in your Mailer class:\n\n```php\n$email\n   -\u003eemailFormat('html')\n   -\u003esubject('some text')\n   -\u003eto('hi@example.org')\n   -\u003efrom('app@example.org')\n   -\u003eaddHeaders([\n\t   'TemplateID' =\u003e 123456,\n   ])\n   -\u003esetViewVars([\n\t   \"greetings\" =\u003e \"a text wich replaces the var:greetings in your template\",\n\t   ...\n   ])\n   -\u003esend();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczepter%2Fcake-mailjet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fczepter%2Fcake-mailjet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczepter%2Fcake-mailjet/lists"}