{"id":16674227,"url":"https://github.com/lezhnev74/ema","last_synced_at":"2025-03-21T18:31:19.100Z","repository":{"id":65257101,"uuid":"88133122","full_name":"lezhnev74/ema","owner":"lezhnev74","description":"External memory app - allows one to quickly post and search text notes","archived":false,"fork":false,"pushed_at":"2019-05-03T19:47:41.000Z","size":380,"stargazers_count":51,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T03:22:41.072Z","etag":null,"topics":["clean-architecture","ddd","php","tdd"],"latest_commit_sha":null,"homepage":"https://lessthan12ms.com/clean-architecture-implemented-as-a-php-app/","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/lezhnev74.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":"2017-04-13T06:36:51.000Z","updated_at":"2023-11-09T21:49:53.000Z","dependencies_parsed_at":"2023-01-16T15:00:33.955Z","dependency_job_id":null,"html_url":"https://github.com/lezhnev74/ema","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lezhnev74","download_url":"https://codeload.github.com/lezhnev74/ema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244848497,"owners_count":20520533,"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":["clean-architecture","ddd","php","tdd"],"created_at":"2024-10-12T12:29:48.384Z","updated_at":"2025-03-21T18:31:18.709Z","avatar_url":"https://github.com/lezhnev74.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/lezhnev74/ema/master/LICENSE)\n[![Build Status](https://travis-ci.org/lezhnev74/ema.svg?branch=master)](https://travis-ci.org/lezhnev74/ema)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/lezhnev74/ema/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/lezhnev74/ema/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/lezhnev74/ema/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/lezhnev74/ema/?branch=master)\n\n# Overview\nExternal memory app - allows one to quickly post and search text notes.\nThis repo represents the backend app - it offers http API for clients. \n\n* Blog post: https://lessthan12ms.com/clean-architecture-implemented-as-a-php-app/\n* Demo: https://ema.lessthan12ms.com\n* UI/Client repo: https://github.com/lezhnev74/ema-web-client\n\n![](ema.jpg)\n\n## Why?\n\n\n* I needed something better than a todo app to practice Clean Architecture inspired by Uncle Bob's talks\n* Evernote, disk files (like Quiver app) and other tools disappointed me. I needed a light, fast post-n-search app for storing code snippets and linux commands. \n* Secondly I needed a simple app to play with the DDD concepts along with Service Bus oriented architecture. All these things found its places in this project.  \n\n  \n## Installation\n\n```\n#requires php7.1-apcu module (for DI-container caching), see function `container()` in helpers file\ncd \u003cproject root\u003e\n# sqlite database will be located in there\nmkdir storage \ncp .env.example .env\n# then edit .env file\ncomposer update\n# then run database migrations\nphp migrations/doctrine.php migrations:migrate\n```\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flezhnev74%2Fema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flezhnev74%2Fema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flezhnev74%2Fema/lists"}