{"id":21540483,"url":"https://github.com/othercodes/hexagonal-architecture-example-in-php","last_synced_at":"2025-03-17T21:45:51.053Z","repository":{"id":239746425,"uuid":"800445682","full_name":"othercodes/hexagonal-architecture-example-in-php","owner":"othercodes","description":"Small example of Hexagonal Architecture.","archived":false,"fork":false,"pushed_at":"2024-05-23T01:14:20.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-23T02:28:24.256Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/othercodes.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}},"created_at":"2024-05-14T10:53:20.000Z","updated_at":"2024-05-30T05:07:09.419Z","dependencies_parsed_at":"2024-05-30T05:16:58.150Z","dependency_job_id":null,"html_url":"https://github.com/othercodes/hexagonal-architecture-example-in-php","commit_stats":null,"previous_names":["othercodes/hexagonal-architecture-example-in-php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othercodes%2Fhexagonal-architecture-example-in-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othercodes%2Fhexagonal-architecture-example-in-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othercodes%2Fhexagonal-architecture-example-in-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othercodes%2Fhexagonal-architecture-example-in-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/othercodes","download_url":"https://codeload.github.com/othercodes/hexagonal-architecture-example-in-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244117097,"owners_count":20400739,"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":[],"created_at":"2024-11-24T04:19:06.183Z","updated_at":"2025-03-17T21:45:51.021Z","avatar_url":"https://github.com/othercodes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hexagonal Architecture Example in PHP\n\n[![Test](https://github.com/othercodes/hexagonal-architecture-example-in-php/actions/workflows/test.yml/badge.svg)](https://github.com/othercodes/hexagonal-architecture-example-in-php/actions/workflows/test.yml)\n\nCode example for [Hexagonal Architecture](https://othercode.io/blog/hexagonal-architecture) article.\n\n# Usage \n\nFirst, install the dependencies and deploy the database schema.\n\n```bash\ncomposer install\ncomposer db:initialize\n```\n\nNext, run the commands:\n\n```bash\nphp bin/UserListController\nphp bin/UserCreateController \"Vincent Vega\"\n```\n\n## Testing\n\nRunning tests is quite easy, just execute the following command:\n\n```bash\ncomposer test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothercodes%2Fhexagonal-architecture-example-in-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fothercodes%2Fhexagonal-architecture-example-in-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothercodes%2Fhexagonal-architecture-example-in-php/lists"}