{"id":22667074,"url":"https://github.com/pdir/geocode-cache-bundle","last_synced_at":"2025-06-11T23:03:24.962Z","repository":{"id":57037242,"uuid":"192878339","full_name":"pdir/geocode-cache-bundle","owner":"pdir","description":"GeoCode Bundle extension for Contao 4","archived":false,"fork":false,"pushed_at":"2020-10-28T10:36:55.000Z","size":32,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T10:24:27.259Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pdir.de","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pdir.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":"2019-06-20T08:12:46.000Z","updated_at":"2020-10-27T09:37:31.000Z","dependencies_parsed_at":"2022-08-23T21:00:27.296Z","dependency_job_id":null,"html_url":"https://github.com/pdir/geocode-cache-bundle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pdir/geocode-cache-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdir%2Fgeocode-cache-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdir%2Fgeocode-cache-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdir%2Fgeocode-cache-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdir%2Fgeocode-cache-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdir","download_url":"https://codeload.github.com/pdir/geocode-cache-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdir%2Fgeocode-cache-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259360728,"owners_count":22845817,"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-12-09T14:33:25.282Z","updated_at":"2025-06-11T23:03:24.942Z","avatar_url":"https://github.com/pdir.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"GeoCode Bundle extension for Contao 4\n============================================================\n\n[![Latest Stable Version](https://poser.pugx.org/pdir/geocode-cache-bundle/v/stable)](https://packagist.org/packages/pdir/geocode-cache-bundle)\n[![Total Downloads](https://poser.pugx.org/pdir/geocode-cache-bundle/downloads)](https://packagist.org/packages/pdir/geocode-cache-bundle)\n[![License](https://poser.pugx.org/pdir/geocode-cache-bundle/license)](https://packagist.org/packages/pdir/geocode-cache-bundle)\n\nAbout\n-----\n\nThe extension adds a new route */api/geocode/* to Contao and determines the latitude and longitude of an address.\nAs a service, the OpenCage geocoder is used. 2000 requests per day are free - see https://opencagedata.com/pricing.  \nAll requests are stored in a database table.\n\n**Deutsch**\n\nDie Erweiterung fügt eine neue Route api/geocode zu Contao hinzu und ermittelt die Latitude und Longitude Angaben einer Adresse. \nAls Dienst wird der OpenCage Geocoder verwendet. 2000 Anfrage pro Tag sind frei - see https://opencagedata.com/pricing.  \nAlle Anfragen werden in einer Datenbanktabelle gespeichert.\n\nExample\n-------\nCalling https://example.org/api/geocode/Ringstraße+9+28309+Bremen returns the following Json:\n    \n    { \"lat\": \"53.0529439\", \"lng\": \"8.887199\"}\n\nSet API key and other parameters\n-----------\napp/config/parameters.yml\n\n    parameters:    \n        pdir_gcb_opengage_api_key: INSERT_YOUR_OPENCAGE_API_KEY_HERE\n        pdir_gcb_cache_time: 1 day (default is 1 hour if noting is set)\n\nSystem requirements\n-------------------\n\n* [Contao 4.0](https://github.com/contao/contao-bundle) or higher\n\nInstallation \u0026 Configuration\n----------------------------\n* [Dokumentation](https://docs.pdir.de/#/geocode-cache-bundle/index)\n\n\nDependencies\n------------\n\n- [opencage/geocode](https://github.com/opencagedata/php-opencage-geocode)\n\nLicense\n-------\nGNU Lesser General Public License v3.0\n\n\nTests \u0026 Coding Standard Checks\n------------------------------\n\nRun the PHP-CS-Fixer and the unit test before you release your bundle:\n\n```bash\nvendor/bin/php-cs-fixer fix -v\nvendor/bin/phpunit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdir%2Fgeocode-cache-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdir%2Fgeocode-cache-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdir%2Fgeocode-cache-bundle/lists"}