{"id":20660581,"url":"https://github.com/esadewater/livewire-maps","last_synced_at":"2025-05-10T12:32:19.048Z","repository":{"id":59404437,"uuid":"534215225","full_name":"esadewater/livewire-maps","owner":"esadewater","description":"Basic Google Maps-implementation for Laravel-Livewire currently supporting map-markers and map-move-listeners.","archived":true,"fork":false,"pushed_at":"2023-04-19T20:13:23.000Z","size":1263,"stargazers_count":16,"open_issues_count":5,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-16T21:15:30.344Z","etag":null,"topics":["laravel","livewire","livewire-component"],"latest_commit_sha":null,"homepage":"","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/esadewater.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-09-08T13:04:43.000Z","updated_at":"2024-12-31T15:13:30.000Z","dependencies_parsed_at":"2024-11-16T17:38:37.193Z","dependency_job_id":"e40f762a-f6b0-493e-8a4a-f5ce17a0698b","html_url":"https://github.com/esadewater/livewire-maps","commit_stats":{"total_commits":33,"total_committers":4,"mean_commits":8.25,"dds":"0.36363636363636365","last_synced_commit":"70382894f96fbf2678370048ce8370176a0fc9a5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esadewater%2Flivewire-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esadewater%2Flivewire-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esadewater%2Flivewire-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esadewater%2Flivewire-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esadewater","download_url":"https://codeload.github.com/esadewater/livewire-maps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253415726,"owners_count":21904918,"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":["laravel","livewire","livewire-component"],"created_at":"2024-11-16T19:04:13.278Z","updated_at":"2025-05-10T12:32:18.584Z","avatar_url":"https://github.com/esadewater.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e :warning: **ALPHA status**: This project is still in the early stages of development. It is not yet ready for production use. Further development is postponed until the release of Livewire v3.\n\n# Livewire-Maps\n\nBasic Google Maps-implementation for Laravel-Livewire currently supporting:\n- Map-Markers ([view docs](./docs/MapMarkers.md))\n- Map-Move-Listeners ([view docs](./docs/MapMoveListener.md))\n\n## Example\nYou can find an example here: [esadewater/livewire-maps-sample](https://github.com/esadewater/livewire-maps-sample)\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require esadewater/livewire-maps\n```\n\n[//]: # (You can publish the assets with:)\n\n[//]: # ()\n[//]: # (```bash)\n\n[//]: # (php artisan vendor:publish --tag=\"livewire-maps-assets\")\n\n[//]: # (```)\n\nInstall the map marker npm package:\n\n```bash\nnpm install @googlemaps/markerclusterer\n```\n\nThen include the JavaScript resources in your app.js:\n\n```javascript\nimport {init} from \"../../vendor/esadewater/livewire-maps/resources/js/LiveWireMaps\";\ninit();\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"livewire-maps-config\"\n```\n\nYou can publish the views using\n\n```bash\nphp artisan vendor:publish --tag=\"livewire-maps-views\"\n```\n\n## Usage\n\nGet an API-key for the Google Maps Platform from [here](https://console.cloud.google.com/google/maps-apis/start) and add it to your .env-file:\n\n```dotenv\nGOOGLE_MAPS_API_KEY=YOUR_KEY_GOES_HERE\n```\n\nAdd the @livewireMapsScripts directive right after @livewireScripts and your app.js:\n\n```php\n\u003cscript src=\"/js/app.js\"\u003e\u003c/script\u003e\n@livewireScripts\n@livewireMapsScripts\n```\n\nThen you are ready to start with a basic map with a center point and a zoom:\n\n```php\n\u003clivewire:map-view center-lat=\"52.004021\" center-lng=\"7.710472\" zoom=\"3\" style=\"100vh\" /\u003e\n```\n\n[//]: # (## Testing)\n\n[//]: # ()\n[//]: # (```bash)\n\n[//]: # (composer test)\n```\n\n## Credits\n\n- [Erik Sadewater](https://github.com/esadewater)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesadewater%2Flivewire-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesadewater%2Flivewire-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesadewater%2Flivewire-maps/lists"}