{"id":16464810,"url":"https://github.com/abr4xas/gmaps-input-backpack","last_synced_at":"2025-07-20T06:04:29.393Z","repository":{"id":56939564,"uuid":"233599527","full_name":"abr4xas/gmaps-input-backpack","owner":"abr4xas","description":"Custom Google Maps Input for Laravel Backpack","archived":false,"fork":false,"pushed_at":"2023-01-29T21:19:57.000Z","size":224,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-07-08T20:19:05.180Z","etag":null,"topics":["google","google-maps","laravel-backpack","maps"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/abr4xas/gmaps-input-backpack","language":"Blade","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/abr4xas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"abr4xas"}},"created_at":"2020-01-13T13:16:41.000Z","updated_at":"2023-03-08T04:03:54.000Z","dependencies_parsed_at":"2023-02-16T01:16:07.197Z","dependency_job_id":null,"html_url":"https://github.com/abr4xas/gmaps-input-backpack","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/abr4xas/gmaps-input-backpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Fgmaps-input-backpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Fgmaps-input-backpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Fgmaps-input-backpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Fgmaps-input-backpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abr4xas","download_url":"https://codeload.github.com/abr4xas/gmaps-input-backpack/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Fgmaps-input-backpack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076036,"owners_count":23872729,"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":["google","google-maps","laravel-backpack","maps"],"created_at":"2024-10-11T11:29:55.704Z","updated_at":"2025-07-20T06:04:29.356Z","avatar_url":"https://github.com/abr4xas.png","language":"Blade","funding_links":["https://github.com/sponsors/abr4xas"],"categories":[],"sub_categories":[],"readme":"#### Custom Google Maps Input for Laravel Backpack\n\n\n#### How to install\n\nwith composer:\n\n```bash\ncomposer require abr4xas/gmaps-input-backpack\n```\n\n#### How to use\n\nAdd your Google Api Key to the env file:\n\n```\nGOOGLE_MAPS_API_KEY=\n```\n\nAdd this to your backpack controller:\n\n```php\n$this-\u003ecrud-\u003eaddField([\n    'name'  =\u003e 'address-input', // do not change this\n    'type'  =\u003e 'customGoogleMaps', // do not change this\n    'label' =\u003e \"Google Maps\",\n    'hint'  =\u003e 'Help text',\n    'attributes' =\u003e [\n        'class' =\u003e 'form-control map-input', // do not change this, add more classes if needed\n    ],\n    'view_namespace' =\u003e 'custom-google-maps-field-for-backpack::fields',\n]);\n```\n\u003e Notice the view_namespace attribute - make sure that is exactly as above, to tell Backpack to load the field from this addon package, instead of assuming it's inside the Backpack\\CRUD package.\n\n\n\n#### Preview:\n\n![Custom Google Maps Input for Laravel Backpack](custom-google-map-input-backpack-field.png \"Custom Google Maps Input for Laravel Backpack\")\n\n\n\nThanks to https://laraveldaily.com/laravel-find-addresses-with-coordinates-via-google-maps-api/ for the inspiration.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabr4xas%2Fgmaps-input-backpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabr4xas%2Fgmaps-input-backpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabr4xas%2Fgmaps-input-backpack/lists"}