{"id":31530155,"url":"https://github.com/thelia-modules/zipcode","last_synced_at":"2025-10-04T01:18:52.963Z","repository":{"id":24487744,"uuid":"101734714","full_name":"thelia-modules/ZipCode","owner":"thelia-modules","description":"Autocomplete city by zipcode and vice versa","archived":false,"fork":false,"pushed_at":"2024-02-01T12:05:24.000Z","size":241,"stargazers_count":1,"open_issues_count":4,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-23T01:09:27.077Z","etag":null,"topics":["autocomplete","thelia","zipcode"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thelia-modules.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-29T07:52:25.000Z","updated_at":"2024-02-01T12:05:28.000Z","dependencies_parsed_at":"2023-01-14T08:00:21.342Z","dependency_job_id":null,"html_url":"https://github.com/thelia-modules/ZipCode","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/thelia-modules/ZipCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thelia-modules%2FZipCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thelia-modules%2FZipCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thelia-modules%2FZipCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thelia-modules%2FZipCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thelia-modules","download_url":"https://codeload.github.com/thelia-modules/ZipCode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thelia-modules%2FZipCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278252064,"owners_count":25956231,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","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":["autocomplete","thelia","zipcode"],"created_at":"2025-10-04T01:18:47.235Z","updated_at":"2025-10-04T01:18:52.952Z","avatar_url":"https://github.com/thelia-modules.png","language":"PHP","readme":"# Zip Code\n\nThis module add two auto suggestion :\n* for CITY, based on zipcode + country \n* for ZIPCODE, based on city + country \n\n(country is optionnal, by default the module will search in France)\n\n## Installation\n\n### Manually\n\n* Copy the module into ```\u003cthelia_root\u003e/local/modules/``` directory and be sure that the name of the module is ZipCode.\n* Activate it in your thelia administration panel\n\n### Composer\n\nAdd it in your main thelia composer.json file\n\n```\ncomposer require thelia/zip-code-module:~2.0\n```\n\n## Usage\n\nTo use this module you need to create an account here : http://www.geonames.org/login\nthen go to ZipCode module configuration and set your geonames username and that's all, \nif you have don't touch to the thelia hooks and inputs id (for zipcode and city) the module will now suggest zipcode and city\nin register and address creation form.\nElse if you have modify that you just have to puts all hooks describe below and add the ids ```zipcode``` and ```city``` to correponding inputs. \n\n## Hook\n\n```main.javascript-initialization``` is used to add the javascript\n\n```main.stylesheet``` is used to add the stylesheet\n\n```main.after-javascript-include``` is used to add variable for javascript\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthelia-modules%2Fzipcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthelia-modules%2Fzipcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthelia-modules%2Fzipcode/lists"}