{"id":20548239,"url":"https://github.com/robrogers3/larajet","last_synced_at":"2026-03-08T02:05:54.941Z","repository":{"id":57047349,"uuid":"73509344","full_name":"robrogers3/larajet","owner":"robrogers3","description":"Mailjet Mail Transport for Laravel using Mailjet API V3","archived":false,"fork":false,"pushed_at":"2019-12-20T05:20:22.000Z","size":73,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T06:33:55.710Z","etag":null,"topics":["driver","laravel","mailjet","mailjet-api","transport"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robrogers3.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-11T20:31:15.000Z","updated_at":"2019-12-20T05:20:24.000Z","dependencies_parsed_at":"2022-08-23T19:00:22.967Z","dependency_job_id":null,"html_url":"https://github.com/robrogers3/larajet","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/robrogers3/larajet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrogers3%2Flarajet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrogers3%2Flarajet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrogers3%2Flarajet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrogers3%2Flarajet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robrogers3","download_url":"https://codeload.github.com/robrogers3/larajet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrogers3%2Flarajet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30242405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["driver","laravel","mailjet","mailjet-api","transport"],"created_at":"2024-11-16T02:12:41.156Z","updated_at":"2026-03-08T02:05:54.913Z","avatar_url":"https://github.com/robrogers3.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Larajet\n\n[![Package version](https://img.shields.io/packagist/v/robrogers/larajet.svg?style=flat-square)](https://packagist.org/packages/robrogers/larajet)\n[![Software License][ico-license]](LICENSE.md)\n[![Total downloads](http://img.shields.io/packagist/dt/robrogers/larajet.svg?style=flat-square)](https://packagist.org/packages/robrogers/larajet)\n\nLarajet is a mail transport for Laravel. It is a MailJet integration package. Much like Mailgun, this allows for sending Mail via the mailjet api (based on Mailjet API v3.) \nIt supports Mailables and Notifables.\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require robrogers/larajet\n```\n\n## Configure\n\nYou will need to update app.php in the config directory:\n\nIn Package Service Providers section add:\n```\nLarajet\\MailjetServiceProvider::class\n```\n\nAlso, add this line to the 'aliases' array\n```\n'MailJet' =\u003e Larajet\\Facades\\MailJet::class,\n```\n\nThen you need to update config/services.php. Add this under Third Party Services:\n\n``` php\n    'mailjet' =\u003e [\n        'public_key' =\u003e env('MAILJET_PUBLIC_KEY'),\n        'private_key' =\u003e env('MAILJET_PRIVATE_KEY'),\n        'from' =\u003e env('MAIL_FROM'),\n        'driver' =\u003e env('MAIL_DRIVER'),\n        'guzzle' =\u003e [],\n        'api_url' =\u003e 'https://api.mailjet.com/v3/send'\n    ],\n```\n\nLasty, you will need to update your .env file accordingly to set your MailJet Public and Private keys.\n\n```\nMAILJET_PUBLIC_KEY=YOUR_PUBLIC_KEY\nMAILJET_PRIVATE_KEY=YOUR_PRIVATE_KEY\n```\n\n## Usage\n\nThe best way is to create a Mailable. e.g. \n\n``` bash\nphp artisan make:mail TestMail\n```\n\nThen just mail it!\n\n``` php\nuse App\\Mail\\TestMail;\n\nMail::to(fred@example.com)\n        -\u003esubject('Test Mail')\n        -\u003esend(new TestMail);\n```\n\nLearn about [Mailables](https://laravel.com/docs/5.3/mail) on laravel.com\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Testing\n\n``` bash\n$ composer test\n```\nThere is only one test. It tests the mail was sent.\n\nBasically the steps are:\n* Call a console command, or hit a route that sends an email.\n* There are no more steps.\n\nA route might look like:\n``` php\nuse App\\Mail\\TestMail;\n\nRoute::get('/sendmail', function() {\n    Mail::to(\\App\\User::first()-\u003eemail)\n        -\u003esend(new TestMail);\n    return 'sent?';\n});\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email robrogers@me.com instead of using the issue tracker.\n\n## Credits\n\n- [Rob Rogers][link-author]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/robrogers3/larajet.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/robrogers3/larajet/master.svg?style=flat-square\n[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/robrogers3/larajet.svg?style=flat-square\n[ico-code-quality]: https://img.shields.io/scrutinizer/g/robrogers3/larajet.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/robrogers3/larajet.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/robrogers3/larajet\n[link-travis]: https://travis-ci.org/robrogers3/larajet\n[link-scrutinizer]: https://scrutinizer-ci.com/g/robrogers3/larajet/code-structure\n[link-code-quality]: https://scrutinizer-ci.com/g/robrogers3/larajet\n[link-downloads]: https://packagist.org/packages/robrogers3/larajet\n[link-author]: https://github.com/robrogers3\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrogers3%2Flarajet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobrogers3%2Flarajet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrogers3%2Flarajet/lists"}