{"id":20252358,"url":"https://github.com/filipefernandes007/eav-slim3","last_synced_at":"2026-05-27T23:31:33.882Z","repository":{"id":81434333,"uuid":"56631646","full_name":"filipefernandes007/eav-slim3","owner":"filipefernandes007","description":"EAV pattern based on Slim 3 ","archived":false,"fork":false,"pushed_at":"2016-05-18T13:29:12.000Z","size":226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T16:49:56.238Z","etag":null,"topics":["eav","entity-attribute-value","slim-framework"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/filipefernandes007.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":"2016-04-19T21:00:17.000Z","updated_at":"2018-09-21T20:10:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c72afbe-2d2b-4268-aa71-b92608a3497a","html_url":"https://github.com/filipefernandes007/eav-slim3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/filipefernandes007/eav-slim3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipefernandes007%2Feav-slim3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipefernandes007%2Feav-slim3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipefernandes007%2Feav-slim3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipefernandes007%2Feav-slim3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filipefernandes007","download_url":"https://codeload.github.com/filipefernandes007/eav-slim3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipefernandes007%2Feav-slim3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33588345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":["eav","entity-attribute-value","slim-framework"],"created_at":"2024-11-14T10:16:21.611Z","updated_at":"2026-05-27T23:31:33.877Z","avatar_url":"https://github.com/filipefernandes007.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EAV - Slim 3 MVC Skeleton\n\nThis is a skeleton MVC project based on [Entity Attribute Value Model](https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model) for Slim 3,\nand includes Doctrine, Twig, Flash messages and Monolog.\n\nBase on https://github.com/vhchung/slim3-skeleton-mvc\n\n## Prepare\n\n1. Create your project:\n\n       ```\n       $ git clone https://github.com/filipefernandes007/eav-slim3.git`\n       $ cd eav-slim3\n       $ git composer install\n\n       ```\n\n2. Execute `eav-slim3\\sql\\eav_slim3_db.sql` to create sample database (MySQL)\n\n### Run it\n\n1. `$ cd eav-slim3`\n2. `$ php -S localhost:8000 -t ./public`\n3. Browse to http://localhost:8888\n\n### Doctrine:\n\nYou can call doctrine CLI directly with:\n\n`$ php vendor/doctrine/orm/bin/doctrine`\n\n### Notice\n\nSet `logs` and `cache` folder permission to writable when deploy to production environment\n\n## Key directories\n\n* `app`: Application code\n* `app/src`: All class files within the `App` namespace\n* `app/templates`: Twig template files\n* `cache/twig`: Twig's Autocreated cache files\n* `log`: Log files\n* `public`: Webserver root\n* `vendor`: Composer dependencies\n* `sql`: sql dump file for sample database\n\n## Key files\n\n* `public/index.php`: Entry point to application\n* `app/templates`: Twig template directory\n* `app/settings.php`: Configuration\n* `app/dependencies.php`: Services for Pimple\n* `app/middleware.php`: Application middleware\n* `app/routes.php`: All application routes are here\n* `app/src/controllers`: Controller class directory\n* `app/src/entities`: Entity class directory\n* `app/src/repository`: Repository class directory\n* `app/src/Core`: Essential code\n\nThe EAV Structure\n\n- Application 1\n-\t...\n- Application N\n\t- Module 1\n\t-\t...\n\t- Module 2\n\t- ...\t\n\t- Module N\n\t-\tState 1 is related with Entity 1, and Entity 1 is defined by {'id':1, 'name':'X', 'description':'Blah!'} \n\t\t\t...\n\t-\tState N is related with Entity M\n\t-\t\tRegister N + 1 \n\t\t\t\tAttributeValue M\n\t\t\t\tAttributeValue M + 1\n\t\t\t\tAttributeValue M + 2\n\t-\t\tRegister N + 2\n\t\t\n\t-\t\tRegister N + 3\n\t\t\t...\n\t\t\tRegister N + N\n\n- Entity M\n\t- Attribute 1\n\t\t- Type Int\n\t- Attribute 2\n\t\t- Type String32\n\t- Attribute 3\n\t\t- Type String32\n\t- ...\n\t- Attribute N\n\t\t- Type String256\n\n###\n\nFeel free to play with this EAV base, but i must remind you that is not ready for production.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipefernandes007%2Feav-slim3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipefernandes007%2Feav-slim3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipefernandes007%2Feav-slim3/lists"}