{"id":15159590,"url":"https://github.com/rey26/settlement-reader","last_synced_at":"2026-01-21T16:34:02.028Z","repository":{"id":190924298,"uuid":"683600248","full_name":"rey26/settlement-reader","owner":"rey26","description":"Feeds database by reading external website about cities and villages in Slovakia, consolidate the data and provide as API","archived":false,"fork":false,"pushed_at":"2023-10-24T04:28:42.000Z","size":694,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T19:17:58.541Z","etag":null,"topics":["easyadmin","phpunit","symfony6"],"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/rey26.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":"2023-08-27T05:15:16.000Z","updated_at":"2023-10-22T16:20:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecb2b468-4b83-4354-a3fc-f06117187a6f","html_url":"https://github.com/rey26/settlement-reader","commit_stats":null,"previous_names":["rey26/settlement-reader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rey26%2Fsettlement-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rey26%2Fsettlement-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rey26%2Fsettlement-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rey26%2Fsettlement-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rey26","download_url":"https://codeload.github.com/rey26/settlement-reader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694892,"owners_count":20980731,"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":["easyadmin","phpunit","symfony6"],"created_at":"2024-09-26T21:40:29.111Z","updated_at":"2026-01-21T16:34:02.000Z","avatar_url":"https://github.com/rey26.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Settlement reader\n\nReads data about cities and villages in Slovakia from website [e-obce.sk](https://www.e-obce.sk) and stores structured data in DB. The data can be viewed in admin view provided by EasyAdmin bundle and accessed by API in future releases.\n\n## Installation\n\n1. `docker-compose up -d --build` inside main directory\n\n## Usage\n\n### ImportSettlementsCommand\n\nThis command downloads data from external site, maps it to project entities and stores to DB. In order to also download coat of arms of each available city/village, run the command with option `coa-download`.\nThe option to delete all settlements is also available.\n\n```sh\ndocker-compose exec php /bin/bash\nphp bin/console app:import-settlements\n# download coat of arms locally\nphp bin/console app:import-settlements --coa-download\n# delete settlements\nphp bin/console app:import-settlements --delete-settlements\n```\n\n## Testing\n\n1. run `php bin/phpunit` inside php container (`docker-compose exec php /bin/bash`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frey26%2Fsettlement-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frey26%2Fsettlement-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frey26%2Fsettlement-reader/lists"}