{"id":48821622,"url":"https://github.com/g4code/mailer","last_synced_at":"2026-04-14T15:03:09.620Z","repository":{"id":3936647,"uuid":"51429684","full_name":"g4code/mailer","owner":"g4code","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-31T12:50:33.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-11T04:04:53.197Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/g4code.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":"2016-02-10T08:46:08.000Z","updated_at":"2022-06-02T13:40:13.000Z","dependencies_parsed_at":"2024-02-27T11:33:20.808Z","dependency_job_id":"9e34ccb9-1784-4988-a2ff-634e38af81eb","html_url":"https://github.com/g4code/mailer","commit_stats":{"total_commits":30,"total_committers":4,"mean_commits":7.5,"dds":0.3666666666666667,"last_synced_commit":"8c5d400cc63e86f8701bfda5ba2af3b541fdc9c1"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/g4code/mailer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4code%2Fmailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4code%2Fmailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4code%2Fmailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4code%2Fmailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g4code","download_url":"https://codeload.github.com/g4code/mailer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4code%2Fmailer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31801629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2026-04-14T15:03:08.738Z","updated_at":"2026-04-14T15:03:09.612Z","avatar_url":"https://github.com/g4code.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"mailer\n======\n\n\u003e mailer - [php](http://php.net) library\n\n## Install\nVia Composer\n\n```sh\ncomposer require g4/mailer\n```\n\n## Usage\n\n```php\n\u003c?php \n\n// Config data\n$options = [\n    'delivery' =\u003e \"smtp\",\n    'adapter'  =\u003e \"smtp\",\n    'params'   =\u003e [\n        'host'              =\u003e \"smtp.example.com\",\n        'port'              =\u003e \"587\",\n        'connection_class'  =\u003e \"plain\",\n        'connection_config' =\u003e [\n            'ssl'      =\u003e \"tls\",\n            'username' =\u003e \"smtp_username\",\n            'password' =\u003e \"smtp_password\"\n        ]\n    ]\n];\n\n// Create message\n$message = new \\G4\\Mailer\\Message(\n    'receiver@example.com',\n    'sender@example.com',\n    'Email subject',\n    'This is a \u003cstrong\u003ehtml\u003c/strong\u003e email part',\n    'This is a text email part'\n);\n\n// Create mailer instance\n$mailer = \\G4\\Mailer\\Mailer::factory($options);\n\n// send message\n$mailer-\u003esend($message);\n\n?\u003e\n```\n\n## Development\n\n### Install dependencies\n\n    $ make install\n\n### Run tests\n\n    $ make test\n\n## License\n\n(The MIT License)\nsee LICENSE file for details...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4code%2Fmailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg4code%2Fmailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4code%2Fmailer/lists"}