{"id":21420082,"url":"https://github.com/antibodies-online/bootstrap-email","last_synced_at":"2026-03-06T16:04:55.553Z","repository":{"id":42028865,"uuid":"472797252","full_name":"antibodies-online/bootstrap-email","owner":"antibodies-online","description":"This Project is a port of bootstrap-email of @stuyam","archived":false,"fork":false,"pushed_at":"2024-10-10T22:10:31.000Z","size":259,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-11T12:45:21.815Z","etag":null,"topics":["bootstrap","email","mail","php","responsive"],"latest_commit_sha":null,"homepage":"https://www.antibodies-online.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antibodies-online.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":"2022-03-22T14:11:32.000Z","updated_at":"2024-10-10T22:10:35.000Z","dependencies_parsed_at":"2025-07-14T06:32:04.394Z","dependency_job_id":"aecdfdb1-348f-4c77-a4e9-5e331bd9ff23","html_url":"https://github.com/antibodies-online/bootstrap-email","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":"0.46341463414634143","last_synced_commit":"5026c47449d00ad9ce46b37e98fa89dabc37bc48"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/antibodies-online/bootstrap-email","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antibodies-online%2Fbootstrap-email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antibodies-online%2Fbootstrap-email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antibodies-online%2Fbootstrap-email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antibodies-online%2Fbootstrap-email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antibodies-online","download_url":"https://codeload.github.com/antibodies-online/bootstrap-email/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antibodies-online%2Fbootstrap-email/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30184885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"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":["bootstrap","email","mail","php","responsive"],"created_at":"2024-11-22T20:11:25.002Z","updated_at":"2026-03-06T16:04:55.505Z","avatar_url":"https://github.com/antibodies-online.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bootstrap-email\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/antibodies-online/bootstrap-email/master/LICENSE)\n[![Packagist](https://img.shields.io/packagist/v/antibodies-online/bootstrap-email.svg)](https://packagist.org/packages/antibodies-online/bootstrap-email)\n[![GitHub issues](https://img.shields.io/github/issues/antibodies-online/bootstrap-email.svg)](https://github.com/antibodies-online/bootstrap-email/issues)\n[![PHP Composer Test](https://github.com/antibodies-online/bootstrap-email/actions/workflows/php.yml/badge.svg)](https://github.com/antibodies-online/bootstrap-email/actions/workflows/php.yml)\n\nThis is a port of [Bootstrap Email](https://github.com/bootstrap-email/bootstrap-email). Thanks to @stuyam!\n\n## Installation\n\nTo install, add it to your `composer.json` file:\n\n```json\n{\n  \"require\": {\n      \"antibodies-online/bootstrap-email\": \"master\"\n  }\n}\n```\n\nor direct from [packagist](https://packagist.org/packages/antibodies-online/bootstrap-email)\n\n```shell\ncomposer require antibodies-online/bootstrap-email\n```\n\n## Usage\n\nYou can use different methods to convert your boostrap-email html to an email client compatible html.\n\n### Use DomDocument\n\n```php\n$scss = new ScssCompiler();\n\n// Create a DOM Document\n$doc = new DOMDocument('1.0', 'UTF-8');\n\\libxml_use_internal_errors(true);\n$doc-\u003eloadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));\n\\libxml_clear_errors();\n\n$converter = new Compiler($scss);\n$doc = $converter-\u003econvert($doc);\n$html = $doc-\u003esaveHTML();\n```\n\n### Use Html\n\n```php\n$scss = new ScssCompiler();\n$converter = new Compiler($scss);\n$html = $converter-\u003ecompileHtml(\u003cMY HTML STRING\u003e);\n```\n\n### Use Custom Scss\n```php\n$scss = new ScssCompiler();\n$scss-\u003esetScssFile(\u003cPATH TO YOUR CUSTOM SCSS FILE);\n$scss-\u003esetScssHeadFile(\u003cPATH TO YOUR CUSTOM HEAD SCSS FILE);\n$converter = new Compiler($scss);\n$html = $converter-\u003ecompileHtml(\u003cMY HTML STRING\u003e);\n```\n\n## Run Unit-Tests\n```shell\ncomposer test\n```\n\n## Features missing\n\n- Add Stack https://bootstrapemail.com/docs/stack\n\n## Documentations\nFor full documentation, visit [bootstrapemail.com](https://bootstrapemail.com/docs/introduction)\n\n## Contributing\nReally appreciate bug reports. Feel free to ask for additional functionality/fields. \nBut be aware not all feature may be implemented.\nA Pull Request for your Features would be amazing.\n\n## Community\nFor help, discussion about best practices, or any other conversation that would benefit from being searchable:\n\n[Discuss Bootstrap Email on GitHub](https://github.com/bootstrap-email/bootstrap-email/discussions)\n\nFor PHP Port related questions, please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantibodies-online%2Fbootstrap-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantibodies-online%2Fbootstrap-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantibodies-online%2Fbootstrap-email/lists"}