{"id":23697957,"url":"https://github.com/dan-leech/laravel-elixir-foundation-emails","last_synced_at":"2026-04-14T04:32:02.151Z","repository":{"id":97234265,"uuid":"79915821","full_name":"dan-leech/laravel-elixir-foundation-emails","owner":"dan-leech","description":"Laravel Foundation Emails 2 integration","archived":false,"fork":false,"pushed_at":"2017-08-09T19:57:20.000Z","size":7,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T00:49:39.699Z","etag":null,"topics":["foundation-emails","integration","laravel","laravel-elixir"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dan-leech.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,"zenodo":null}},"created_at":"2017-01-24T13:53:06.000Z","updated_at":"2019-03-08T17:58:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecda2af7-c665-4bc4-8dcb-d1084d362d67","html_url":"https://github.com/dan-leech/laravel-elixir-foundation-emails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dan-leech/laravel-elixir-foundation-emails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-leech%2Flaravel-elixir-foundation-emails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-leech%2Flaravel-elixir-foundation-emails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-leech%2Flaravel-elixir-foundation-emails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-leech%2Flaravel-elixir-foundation-emails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dan-leech","download_url":"https://codeload.github.com/dan-leech/laravel-elixir-foundation-emails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-leech%2Flaravel-elixir-foundation-emails/sbom","scorecard":{"id":318323,"data":{"date":"2025-08-11","repo":{"name":"github.com/dan-leech/laravel-elixir-foundation-emails","commit":"f6f5035d5527565901a394136e388a995aa59e3e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T00:47:24.696Z","repository_id":97234265,"created_at":"2025-08-18T00:47:24.696Z","updated_at":"2025-08-18T00:47:24.696Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["foundation-emails","integration","laravel","laravel-elixir"],"created_at":"2024-12-30T07:12:12.093Z","updated_at":"2026-04-14T04:32:02.133Z","avatar_url":"https://github.com/dan-leech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Elixir Foundation Emails 2 Integration\n\nThis extension brings Foundation Emails 2 support to Laravel Elixir, version 6 and up.\n\n## Step 1: Install\n\n```js\nnpm install laravel-elixir-foundation-emails --save-dev\n```\n\n## Step 2: Usage\n\nThe `foundationEmails` method may be used to compile email blade templates, sass, images into blade views.\n\n```javascript\nelixir(function(mix) {\n    mix.foundationEmails();\n});\n```\nDefault options are:\n\n```javascript\noptions = {\n    sass: 'resources/assets/sass/emails/email.scss',\n    source: 'resources/emails',\n    views: 'resources/views/emails',\n    images: 'resources/emails/images',\n    imagesDist: 'public/images/emails',\n    publicCss: 'public/css',\n    compiled: 'resources/emails/dist'\n};\n```\n\u003cul\u003e\n\u003cli\u003e`sass:`  email.scss - compiled into email.css, saves to `compiled` and `publicCss`.\u003c/li\u003e\n\u003cli\u003e`source` blade emails folder before inky and inlining css\u003c/li\u003e\n\u003cli\u003e`views`  destination - compiled templates for use in Laravel\u003c/li\u003e\n\u003cli\u003e`images` images folder before minifing\u003c/li\u003e\n\u003cli\u003e`imagesDist` images ready for use\u003c/li\u003e\n\u003cli\u003e`compiled` tmprorary folder\u003c/li\u003e\n\u003c/ul\u003e\n\nTo choose a different options or rewrite one of them you can use method argument.\n\n```javascript\nelixir(function(mix) {\n    mix.foundationEmails({\n        copiled: 'public/compiled/emails'\n    });\n});\n```\n\nOr can use `foundation-emails.config.js` file in your project root. Example:\n```javascript\nmodule.exports = {\n     sass: 'resources/assets/sass/emails/email.scss',\n     source: 'resources/emails',\n     views: 'resources/views/emails',\n     images: 'resources/emails/images',\n     imagesDist: 'public/images/emails',\n     publicCss: 'public/css',\n     compiled: 'resources/emails/dist'\n};\n```\n\n## Step 3: Plugins\n\nIf you've created a plugin, and need to hook your own FoundationEmails config into Elixir's defaults, add the following to your script:\n\n```js\nElixir.foundationEmails.mergeConfig({\nsass: 'resources/assets/sass/emails/email.scss',\n});\n```\n\n`Elixir.foundationEmails.mergeConfig(newConfig)` will recursively merge your provided configuration with ours.\n\n## Notices\n\nCurrent plugin freezes gulp flow until all it's works will be done. Because I can't find better way to run several streams in elixir gulp task without callback.\n\nCss inliner removes all `\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"*\"\u003e` tags in production mode.\nTo add styles to compiled styles in head put it into `\u003cstyle type=\"text/css\" media=\"screen\"\u003e\u003c/style` in head.\nYou can add @font-face and etc. Or correct bugs in compiled styles. Supports blade syntax as well.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan-leech%2Flaravel-elixir-foundation-emails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdan-leech%2Flaravel-elixir-foundation-emails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan-leech%2Flaravel-elixir-foundation-emails/lists"}