{"id":24741176,"url":"https://github.com/interserver/mailbaby-mail-api-old","last_synced_at":"2026-05-02T01:33:18.490Z","repository":{"id":41152457,"uuid":"352871031","full_name":"interserver/mailbaby-mail-api-old","owner":"interserver","description":"API Server for the MailBaby Email Services","archived":false,"fork":false,"pushed_at":"2022-11-24T10:26:51.000Z","size":8112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T23:49:09.722Z","etag":null,"topics":["email","openapi","webman-framework","workerman"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interserver.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}},"created_at":"2021-03-30T04:35:03.000Z","updated_at":"2022-11-24T10:26:57.000Z","dependencies_parsed_at":"2023-01-21T17:48:14.929Z","dependency_job_id":null,"html_url":"https://github.com/interserver/mailbaby-mail-api-old","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interserver%2Fmailbaby-mail-api-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interserver%2Fmailbaby-mail-api-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interserver%2Fmailbaby-mail-api-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interserver%2Fmailbaby-mail-api-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interserver","download_url":"https://codeload.github.com/interserver/mailbaby-mail-api-old/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013994,"owners_count":20547181,"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":["email","openapi","webman-framework","workerman"],"created_at":"2025-01-27T23:49:20.437Z","updated_at":"2026-05-02T01:33:18.454Z","avatar_url":"https://github.com/interserver.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MailBaby API\n\nAPI service for accessing the Mail.Baby services.\n\n# API Sample Clients\n\nSample clients for the API are available in many languages\n\n* https://github.com/interserver/mailbaby-api-samples\n\n# Development\n\nThis is built on top of Webman, a high performance HTTP Service Framework for PHP based on [Workerman](https://github.com/walkor/workerman).\n\n## API Specification\n\nWe are utilizing the OpenAPI (formerly known as Swagger) spec for this API.  It is basically the next evolution of SOAP API's with well defined functions, parameters, and responses.  While there are many editors out there I'm currently using SwaggerHub to do most of the editing of the spec.\n\n* [SwaggerHub editor for MailBaby API Spec](https://app.swaggerhub.com/apis/InterServer/MailBaby/1.0.0)\n* [Swagger/OpenAPI Spec Documentation](https://swagger.io/docs/specification/describing-responses/)\n\n## Webman Framework\n\nAfter testing *every* PHP library out there dealing with concurrent/asynchronous processing many times over the years I've found [Workerman](https://github.com/walkor/workerman) to be the overall best.  It has proven more stable and by far faster than the alternatives with the one big downside being that its documentation and code comments are all in Chinese.  [Webman](https://github.com/walkor/webman) is a fairly recently created web framework on top of [Workerman](https://github.com/walkor/workerman).  There had been many previously created frameworks based on workerman and while some were good Webman seemed to hit that perfect balance between ease-of-use and power.\n\nThe Chinese documentation is easily readable Using either the auto translate in Chrome or an addon like [Translate Web Pages](https://addons.mozilla.org/en-US/firefox/addon/traduzir-paginas-web/) for Firefox.\n\n* [WebMan Manual](https://www.workerman.net/doc/webman) WebMan framework documentation\n\n## Documentation\n\n* [Illuminate Database Docs](https://laravel.com/docs/8.x/queries)\n* [StopLight Elements](https://github.com/stoplightio/elements) OpenAPI Documentor\n* [MailBaby Swagger-UI](https://api.mailbaby.net/doc/index.html)\n* [MailBaby generator HTML2  Docs](https://mystage.interserver.net/html2/)\n* [MailBaby generated PHP Client](https://github.com/interserver/mailbaby-client-php) PHP Client generated by the OpenAPI Generator/Swagger Codegen\n* [Redoc - OpenAPI/Swagger-generated API Reference Documentation](https://github.com/Redocly/redoc)\n* [RapiDoc - Custom-Element for OpenAPI Spec](https://github.com/mrin9/RapiDoc)\n* [OpenDocumenter is a automatic documentation generator for OpenAPI v3 schemas. Simply provide your schema file in JSON or YAML, then sit back and enjoy the documentation. ](https://github.com/ouropencode/OpenDocumenter)\n* [OpenAPI Explorer - OpenAPI Web component to generate a UI from the spec.](https://github.com/Rhosys/openapi-explorer)\n* [oas3-api-snippet-enricher Enrich your OpenAPI 3.0 JSON with code samples ](https://github.com/cdwv/oas3-api-snippet-enricher/)\n* [OpenAPI-Viewer - OpenApi viewer Implemented using Vue](https://github.com/mrin9/OpenAPI-Viewer)\n* [LucyBot Documentation Starter - Interactive REST API Documentation ](https://github.com/LucyBot-Inc/documentation-starter)\n\n\nBuilding Elements:\n\n```\ngit clone git@github.com:stoplightio/elements.git\ncd elements\nsed s#\"\\\"httpsnippet\\\".*$\"#\"\\\"httpsnippet\\\": \\\"detain/httpsnippet\\#master\\\",\"#g -i packages/elements-core/package.json\nsrc=\"https://raw.githubusercontent.com/stoplightio/Public-APIs/master/reference/zoom/openapi.yaml\"\ndst=\"https://raw.githubusercontent.com/interserver/mailbaby-mail-api/master/public/spec/openapi.yaml\"\nfor i in examples/angular/src/app/api/api.component.ts examples/react-gatsby/src/pages/zoom-api.tsx examples/react-cra/src/components/API.tsx; do\n  sed s#\"${src}\"#\"${dst}\"#g -i $i\ndone\nsed s#\"https://api.apis.guru/v2/specs/github.com/1.1.4/openapi.yaml\"#\"${dst}\"#g -i examples/bootstrap/index.html\nyarn\nyarn build\nyarn build:angular\nyarn build:react-gatsby\nyarn build:react-cra\n```\n\n## Code Samples\n\n* [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)\n* [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator/)\n* [httpsnippet](https://github.com/detain/httpsnippet)\n\n## TODO\n\n* Customize 404 Page\n* Testing\n* Additional error checking and handling\n* Auto Updates\n* Placing Orders\n\n## URLs of interest in this project\n\n* [OpenAPI Tools](https://openapi.tools/) Listing of OpenAPI relatd tools by category (Documentors, Parsers, Mockers, etc)\n* [OpenAPI PSR-7 Message Validator](https://github.com/thephpleague/openapi-psr7-validator)\n* [PHPMailer](https://github.com/PHPMailer/PHPMailer/) email sending library for PHP\n* [Swagger UI](https://github.com/swagger-api/swagger-ui)\n* [Swagger Editor](https://github.com/swagger-api/swagger-editor)\n* [OpenAPI GUI](https://github.com/Mermade/openapi-gui)\n\n## Benchmarks\n\nhttps://www.techempower.com/benchmarks/#section=test\u0026runid=9716e3cd-9e53-433c-b6c5-d2c48c9593c1\u0026hw=ph\u0026test=db\u0026l=zg24n3-1r\u0026a=2\n![image](https://user-images.githubusercontent.com/6073368/96447814-120fc980-1245-11eb-938d-6ea408716c72.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterserver%2Fmailbaby-mail-api-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterserver%2Fmailbaby-mail-api-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterserver%2Fmailbaby-mail-api-old/lists"}