{"id":15025586,"url":"https://github.com/kepawni/twilted","last_synced_at":"2026-01-17T03:45:52.514Z","repository":{"id":57005661,"uuid":"162275167","full_name":"kepawni/twilted","owner":"kepawni","description":"A strictly typed PHP 7 library/framework suited for PhpSpec and striving for highest IDE intellisense comfort","archived":false,"fork":false,"pushed_at":"2020-09-24T12:40:58.000Z","size":116,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-09T21:20:09.039Z","etag":null,"topics":["cqrs-framework","event-sourcing","intellisense","library","php-library","php-traits","php71","phpspec","plantuml-diagrams","scrutinizer","strict-types","traits","uml-class-diagram"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kepawni.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":"2018-12-18T11:05:05.000Z","updated_at":"2023-02-05T21:03:52.000Z","dependencies_parsed_at":"2022-08-21T14:30:28.022Z","dependency_job_id":null,"html_url":"https://github.com/kepawni/twilted","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/kepawni/twilted","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kepawni%2Ftwilted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kepawni%2Ftwilted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kepawni%2Ftwilted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kepawni%2Ftwilted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kepawni","download_url":"https://codeload.github.com/kepawni/twilted/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kepawni%2Ftwilted/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28493674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"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":["cqrs-framework","event-sourcing","intellisense","library","php-library","php-traits","php71","phpspec","plantuml-diagrams","scrutinizer","strict-types","traits","uml-class-diagram"],"created_at":"2024-09-24T20:02:38.038Z","updated_at":"2026-01-17T03:45:52.494Z","avatar_url":"https://github.com/kepawni.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twilted\nCQRS and Event Sourcing—The Way I Like To Engineer Domains\n\n## Status\n\n[![Build Status](https://travis-ci.org/kepawni/twilted.svg)](https://travis-ci.org/kepawni/twilted)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kepawni/twilted/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/kepawni/twilted/?branch=master)\n[![Code Intelligence Status](https://scrutinizer-ci.com/g/kepawni/twilted/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)\n\n[read more...](doc/status.md)\n\n## Concepts\n\n### Serializing instances\n\nInstead of relying on PHP's built-in serialization format on the one hand or enforcing the use of a certain format like JSON (even if it is a wise option) on the other hand, we decided to use an own way of simplifying instances for storing them that doesn't get in your way too much but won't cause a lot of extra work either.\n\n[read more...](doc/serializing-instances.md)\n\n### Immutability\n\nIt is important to eliminate side effects, which also means waving good-bye to setters. For configuring complex instances we use with…($value) methods that can be chained and always return a new instance.\n\n[read more...](doc/immutability.md)\n\n### Project structure\n\nThe core namespace \\Kepawni\\Twilted contains nothing but essential interfaces and an abstract class.\n\nHowever, some basic convenience classes that can be used as an out-of-the-box solution can be found in \\Kepawni\\Twilted\\Basic. These rely heavily on traits to cater for easy reuse while causing minimal coding.\n\n\n[read more...](doc/structure.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkepawni%2Ftwilted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkepawni%2Ftwilted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkepawni%2Ftwilted/lists"}