{"id":19443780,"url":"https://github.com/aretecode/marriage","last_synced_at":"2025-10-28T16:04:24.226Z","repository":{"id":34308891,"uuid":"38225674","full_name":"aretecode/Marriage","owner":"aretecode","description":"MarriagES is an example event sourced system for dealing with (2 or more) partners (gender \u0026 sex do not matter, you don't even have to be human) getting married with the future in mind.","archived":false,"fork":false,"pushed_at":"2015-06-29T03:58:37.000Z","size":264,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-16T19:37:55.732Z","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/aretecode.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}},"created_at":"2015-06-29T03:25:35.000Z","updated_at":"2015-06-29T03:33:23.000Z","dependencies_parsed_at":"2022-09-22T03:51:20.485Z","dependency_job_id":null,"html_url":"https://github.com/aretecode/Marriage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aretecode/Marriage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aretecode%2FMarriage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aretecode%2FMarriage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aretecode%2FMarriage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aretecode%2FMarriage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aretecode","download_url":"https://codeload.github.com/aretecode/Marriage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aretecode%2FMarriage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281467395,"owners_count":26506483,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-10T15:44:08.067Z","updated_at":"2025-10-28T16:04:24.142Z","avatar_url":"https://github.com/aretecode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Event Sourced MarriagES\nMarriagES is an example event sourced system for dealing with (2 or more) partners getting married with the future in mind.\n\nAfter reading [Gay marriage: the database engineering perspective:](http://qntm.org/gay), I set a timer for 2 hours (had to set it again) and made an example approach to the problem.\n\n## Todo \n\n### .Partner\n* can EventSource as well, use standard types, extend with *noun* details \u0026 could be queried\n\n### .Marriage\n* easy to extend to add additional data such as ```[location] [guests \u003e rank (best, normal, parent)] [preacher] [vows] [comments] [engagement]```\n* could abstract to make ```Marry``` the same as ```Create Marriage```\n\n### Naming \u0026 Syntax\n* could change all ```PartnerIds``` to ```Partners```\n* could format it according to the [PSR-2 standard](http://www.php-fig.org/psr/psr-2/)\n* ::transferFromWriteToRead is a real lame/shamefull hack, suggestions on how to change are welcome\n\n### Libraries \u0026 Implementation\n* would love to see it using Doctrine, Aura.SQL \u0026 using SQL or Mongo or anything else.\n* cool to see a little html \u0026 js page using it\n* could have Divorce|MarryAll application usage\n* use a lib (maybe put mine up) for Specification\n\n### Tests\n* If people show interest in this, I'll write tests\n* Try [Travis](travis-ci.org)\n\n###Examples\n* Flush out the examples in the index for more uses, pre-tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faretecode%2Fmarriage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faretecode%2Fmarriage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faretecode%2Fmarriage/lists"}