{"id":15524832,"url":"https://github.com/simonschaufi/laravel-dkim","last_synced_at":"2026-03-05T16:40:39.566Z","repository":{"id":40432047,"uuid":"259904149","full_name":"simonschaufi/laravel-dkim","owner":"simonschaufi","description":"Laravel package for signing outgoing messages with DKIM","archived":false,"fork":false,"pushed_at":"2025-03-13T10:18:12.000Z","size":21,"stargazers_count":27,"open_issues_count":1,"forks_count":10,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-29T19:01:19.574Z","etag":null,"topics":["dkim","dkim-signature","laravel","laravel-package"],"latest_commit_sha":null,"homepage":"https://www.simonschaufelberger.de/de/projekte/laravel-packages/laravel-dkim.html","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/simonschaufi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"simonschaufi","custom":["https://www.paypal.me/simonschaufi/10"]}},"created_at":"2020-04-29T11:15:44.000Z","updated_at":"2025-03-12T16:33:45.000Z","dependencies_parsed_at":"2024-04-25T13:47:24.814Z","dependency_job_id":"e6c5ae88-d0a6-4dd0-92a4-32cab522f72f","html_url":"https://github.com/simonschaufi/laravel-dkim","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":"0.16666666666666663","last_synced_commit":"f016908fdf7886ac8ee4d4421c71fd2a4de1fa0e"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Flaravel-dkim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Flaravel-dkim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Flaravel-dkim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Flaravel-dkim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonschaufi","download_url":"https://codeload.github.com/simonschaufi/laravel-dkim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393552,"owners_count":20931811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dkim","dkim-signature","laravel","laravel-package"],"created_at":"2024-10-02T10:53:21.263Z","updated_at":"2026-03-05T16:40:39.559Z","avatar_url":"https://github.com/simonschaufi.png","language":"PHP","funding_links":["https://github.com/sponsors/simonschaufi","https://www.paypal.me/simonschaufi/10","https://www.paypal.me/simonschaufi/20","https://www.buymeacoffee.com/simonschaufi"],"categories":[],"sub_categories":[],"readme":"# Laravel DKIM\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.me/simonschaufi/20)\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/simonschaufi?label=GitHub%20Sponsors)](https://github.com/sponsors/simonschaufi)\n[![Buy me a coffee](https://img.shields.io/badge/-Buy_me_a_coffee-gray?logo=buymeacoffee)](https://www.buymeacoffee.com/simonschaufi)\n![GitHub](https://img.shields.io/github/license/simonschaufi/laravel-dkim)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/simonschaufi/laravel-dkim)](https://packagist.org/packages/simonschaufi/laravel-dkim)\n[![Laravel 9/10/11/12/13](https://img.shields.io/badge/Laravel-9/10/11/12/13-ff2d20)](https://laravel.com)\n\nA Laravel package, that allows signing emails with DKIM.\n\n## Installation\n\n```bash\ncomposer require simonschaufi/laravel-dkim\n```\n\nIn **Laravel version before 11**, the providers array in `config/app.php` has an entry with `Illuminate\\Mail\\MailServiceProvider::class`. Comment this \nline out and add your own service provider entry (in the \"Package Service Providers\" section):\n\n```php\n/*\n * Package Service Providers...\n */\nSimonSchaufi\\LaravelDKIM\\DKIMMailServiceProvider::class,\n```\n\nIn **Laravel 11/12**, add this to your `bootstrap/app.php`:\n```php\n-\u003ewithProviders([\n    \\SimonSchaufi\\LaravelDKIM\\DKIMMailServiceProvider::class,\n])\n```\n\nThe DKIMMailServiceProvider extends the MailServiceProvider and overwrites a method that we need for our own behavior.\n\nAfter that, you should publish the config file with:\n\n```bash\nphp artisan vendor:publish --provider=\"SimonSchaufi\\LaravelDKIM\\DKIMMailServiceProvider\" --tag dkim-config\n```\n\nNext we need to create a private and public key pair for signing and verifying the email.\n\nThere are many tools available to generate the necessary keys but here is one which is easy to use:\n\nhttps://tools.socketlabs.com/dkim/generator\n\nEnter your domain and in the \"selector\" field enter `default`, or adjust the \"selector\" in the laravel config file accordingly. Leave the remaining fields as they are.\n\nAfter you have generated the keys and added the public key to your dns record, here is a tool to validate it:\n\nhttps://www.mail-tester.com/spf-dkim-check\n\nFinally, store the private key for example in `storage/app/dkim/private_key.txt` and configure your settings in `.env`:\n\n```ini\nDKIM_DOMAIN=example.com\n```\n\nIf you placed the private key somewhere else, you need to set the **full absolute path** in the environment variable \nor adjust the storage path in the config file.\n\n**If you find this package helpful, please consider a donation!** Links are on top of this file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonschaufi%2Flaravel-dkim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonschaufi%2Flaravel-dkim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonschaufi%2Flaravel-dkim/lists"}