{"id":23384645,"url":"https://github.com/romanturas/customize-email-laravel","last_synced_at":"2025-04-08T11:24:36.677Z","repository":{"id":224415069,"uuid":"379800202","full_name":"RomanTuras/customize-email-laravel","owner":"RomanTuras","description":"Customize email in Laravel 8","archived":false,"fork":false,"pushed_at":"2021-06-24T04:53:04.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T07:37:59.168Z","etag":null,"topics":[],"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/RomanTuras.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-06-24T04:12:13.000Z","updated_at":"2021-06-24T04:53:07.000Z","dependencies_parsed_at":"2024-02-25T21:03:34.107Z","dependency_job_id":null,"html_url":"https://github.com/RomanTuras/customize-email-laravel","commit_stats":null,"previous_names":["romanturas/customize-email-laravel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanTuras%2Fcustomize-email-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanTuras%2Fcustomize-email-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanTuras%2Fcustomize-email-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanTuras%2Fcustomize-email-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RomanTuras","download_url":"https://codeload.github.com/RomanTuras/customize-email-laravel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247831062,"owners_count":21003307,"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":[],"created_at":"2024-12-21T23:28:40.505Z","updated_at":"2025-04-08T11:24:36.652Z","avatar_url":"https://github.com/RomanTuras.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to customize email notifications in Laravel 8\n\n### Generate class app/Notifications/NotifyUser.php\n\n```\nphp artisan make:notification NotifyUser\n```\n\n### For use this NotifyUser class open a User model and add:\n\n```php\npublic function sendPasswordResetNotification($token)\n{\n    $this-\u003enotify(new NotifyUser($token));\n}\n```\n\n### In my case, I store translate messages in the:\n\n_resources/lang/\\_en/passwords.php_\n\n### For publish the email templates:\n\n```\nphp artisan vendor:publish --tag=laravel-notifications\n```\n\n_Result is: resources/views/vendor/notifications/email.blade.php_\n\n### For publish all components:\n\n```\nphp artisan vendor:publish --tag=laravel-mail\n```\n\n_The result will be in: /resources/views/vendor/mail_\n\n### At last, for change a theme of email notification, go to:\n\n_config/mail.php_\n\n### and change the default theme\n\n---\n\n## For setup sending mail, open .env and\n\n- change all founding `127.0.0.1` to `localhost`\n- setup mail settings:\n\n```\nMAIL_MAILER=smtp\nMAIL_HOST=smtp.nei**ica.com\nMAIL_PORT=587\nMAIL_USERNAME=info@nei**ica.com\nMAIL_PASSWORD=***\nMAIL_ENCRYPTION=null\nMAIL_FROM_ADDRESS=info@nei**ica.com\nMAIL_FROM_NAME=\"${APP_NAME}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanturas%2Fcustomize-email-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromanturas%2Fcustomize-email-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanturas%2Fcustomize-email-laravel/lists"}