{"id":15021925,"url":"https://github.com/nucleos/nucleosmapsbundle","last_synced_at":"2025-04-10T20:33:38.571Z","repository":{"id":37081293,"uuid":"273538467","full_name":"nucleos/NucleosMapsBundle","owner":"nucleos","description":"📍 This bundle provides simple map rendering in symfony application.","archived":false,"fork":false,"pushed_at":"2025-03-22T22:33:51.000Z","size":3931,"stargazers_count":5,"open_issues_count":8,"forks_count":2,"subscribers_count":1,"default_branch":"3.5.x","last_synced_at":"2025-03-22T23:25:33.268Z","etag":null,"topics":["bundle","googlemaps","hacktoberfest","maps","openstreetmap","php","sonata","sonata-block","symfony","symfony-bundle","symfony-ux"],"latest_commit_sha":null,"homepage":"https://nucleos.rocks","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/nucleos.png","metadata":{"funding":{"github":"core23","open_collective":"core23","ko_fi":"core23","custom":"https://donate.core23.de"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-19T16:23:33.000Z","updated_at":"2025-02-09T19:28:42.000Z","dependencies_parsed_at":"2023-02-17T10:00:40.090Z","dependency_job_id":"36005c5a-a09e-4d2d-8d37-bce48f84e0cd","html_url":"https://github.com/nucleos/NucleosMapsBundle","commit_stats":{"total_commits":862,"total_committers":6,"mean_commits":"143.66666666666666","dds":"0.19953596287703013","last_synced_commit":"7476eed54e233074d2316c3483a6f2bfcf61d4fc"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMapsBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMapsBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMapsBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMapsBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucleos","download_url":"https://codeload.github.com/nucleos/NucleosMapsBundle/tar.gz/refs/heads/3.5.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290044,"owners_count":21078923,"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":["bundle","googlemaps","hacktoberfest","maps","openstreetmap","php","sonata","sonata-block","symfony","symfony-bundle","symfony-ux"],"created_at":"2024-09-24T19:57:13.670Z","updated_at":"2025-04-10T20:33:38.550Z","avatar_url":"https://github.com/nucleos.png","language":"PHP","readme":"NucleosMapsBundle\n=================\n[![Latest Stable Version](https://poser.pugx.org/nucleos/maps-bundle/v/stable)](https://packagist.org/packages/nucleos/maps-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/nucleos/maps-bundle/v/unstable)](https://packagist.org/packages/nucleos/maps-bundle)\n[![License](https://poser.pugx.org/nucleos/maps-bundle/license)](LICENSE.md)\n\n[![Total Downloads](https://poser.pugx.org/nucleos/maps-bundle/downloads)](https://packagist.org/packages/nucleos/maps-bundle)\n[![Monthly Downloads](https://poser.pugx.org/nucleos/maps-bundle/d/monthly)](https://packagist.org/packages/nucleos/maps-bundle)\n[![Daily Downloads](https://poser.pugx.org/nucleos/maps-bundle/d/daily)](https://packagist.org/packages/nucleos/maps-bundle)\n\n[![Continuous Integration](https://github.com/nucleos/NucleosMapsBundle/actions/workflows/continuous-integration.yml/badge.svg?event=push)](https://github.com/nucleos/NucleosMapsBundle/actions?query=workflow%3A\"Continuous+Integration\"+event%3Apush)\n[![Code Coverage](https://codecov.io/gh/nucleos/NucleosMapsBundle/graph/badge.svg)](https://codecov.io/gh/nucleos/NucleosMapsBundle)\n\nThis bundle provides simple map rendering in symfony application.\n\n## Installation\n\nOpen a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:\n\n```\ncomposer require nucleos/maps-bundle\n\ncomposer require geocoder-php/nominatim-provider # if you want OpenStreetMaps Geocoder\n```\n\n### Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles in `config/bundles.php` file of your project:\n\n```php\n// config/bundles.php\n\nreturn [\n    // ...\n    Nucleos\\MapsBundle\\NucleosMapsBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n### Configure the Bundle\n\nCreate a configuration file called `nucleos_maps.yaml` and define geocoders:\n\n```yaml\n# config/packages/nucleos_maps.yaml\n\nbazinga_geocoder:\n  providers:\n    nominatim:\n        factory: Bazinga\\GeocoderBundle\\ProviderFactory\\NominatimFactory\n        cache: 'cache.geocoder' # PSR16 Cache pool\n        cache_lifetime: 3600\n        cache_precision: 4\n\nnucleos_maps:\n    geocoder:\n        service: 'bazinga_geocoder.provider.nominatim'\n```\n\n## Usage\n\nIf you want dynamic address resultion:\n\n```twig\n{# template.twig #}\n\n{{ sonata_block_render({ 'type': 'nucleos_maps.block.map' }, {\n    'address': 'Hamburg',\n    'service': 'openstreetmap'\n}) }}\n```\n\nIf you know the exact coordinates:\n\n```twig\n{# template.twig #}\n\n{{ sonata_block_render({ 'type': 'nucleos_maps.block.map' }, {\n    'longitude': '9.993682',\n    'latitude': '53.551086',\n    'service': 'openstreetmap'\n}) }}\n```\n\n### Assets\n\nThe assets can be loaded via [stimulus](https://stimulusjs.org/).\nWhen using [webpack-encore](https://github.com/symfony/webpack-encore) with `enableStimulusBridge` everything is pre-configured for you.\n\n## License\n\nThis bundle is under the [MIT license](LICENSE.md).\n","funding_links":["https://github.com/sponsors/core23","https://opencollective.com/core23","https://ko-fi.com/core23","https://donate.core23.de"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosmapsbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucleos%2Fnucleosmapsbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosmapsbundle/lists"}