{"id":30897389,"url":"https://github.com/yieldstudio/nova-google-polygon","last_synced_at":"2025-09-09T00:08:48.872Z","repository":{"id":58269794,"uuid":"530879782","full_name":"YieldStudio/nova-google-polygon","owner":"YieldStudio","description":"A Laravel Nova Google polygon field.","archived":false,"fork":false,"pushed_at":"2024-05-21T08:00:08.000Z","size":2470,"stargazers_count":5,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-08T14:51:29.323Z","etag":null,"topics":["area","google","laravel","map","nova","polygon"],"latest_commit_sha":null,"homepage":null,"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/YieldStudio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-31T00:29:06.000Z","updated_at":"2024-06-10T07:21:47.000Z","dependencies_parsed_at":"2022-08-31T07:01:40.098Z","dependency_job_id":null,"html_url":"https://github.com/YieldStudio/nova-google-polygon","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/YieldStudio/nova-google-polygon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldStudio%2Fnova-google-polygon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldStudio%2Fnova-google-polygon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldStudio%2Fnova-google-polygon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldStudio%2Fnova-google-polygon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YieldStudio","download_url":"https://codeload.github.com/YieldStudio/nova-google-polygon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldStudio%2Fnova-google-polygon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231126,"owners_count":25245685,"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-09-08T02:00:09.813Z","response_time":121,"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":["area","google","laravel","map","nova","polygon"],"created_at":"2025-09-09T00:08:45.848Z","updated_at":"2025-09-09T00:08:48.781Z","avatar_url":"https://github.com/YieldStudio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nova Google Polygon Field\n\n[![Latest Version](https://img.shields.io/github/release/yieldstudio/nova-google-polygon?style=flat-square)](https://github.com/yieldstudio/nova-google-polygon/releases)\n[![Total Downloads](https://img.shields.io/packagist/dt/yieldstudio/nova-google-polygon?style=flat-square)](https://packagist.org/packages/yieldstudio/nova-google-polygon)\n\nThis package allows you to add a Google Map polygon editor on your Laravel Nova resources.\n\n![screenshot](https://raw.githubusercontent.com/YieldStudio/nova-google-polygon/main/screenshot.gif)\n\n## Requirements\n\n- PHP **8.1+**\n- Laravel Nova **4.0+**\n- Laravel Framework **8.0+**\n\n## Installation\n\nYou can install the package in to a Laravel app that uses Nova via composer:\n\n```bash\ncomposer require yieldstudio/nova-google-polygon\n```\n\nPublish config file (optional):\n\n```shell\nphp artisan vendor:publish --provider=\"YieldStudio\\NovaGooglePolygon\\FieldServiceProvider\"\n```\n\nCreate an app and enable Places API and create credentials to get your API key\n[https://console.developers.google.com](https://console.developers.google.com)\n\nAdd the below to your `.env` file\n\n```shell\nNOVA_GOOGLE_POLYGON_API_KEY=############################\nNOVA_GOOGLE_POLYGON_CENTER_LAT=48.858361\nNOVA_GOOGLE_POLYGON_CENTER_LNG=2.336164\n```\n\n## Usage\n\nAdd the use declaration to your resource and use the fields:\n\n```php\nuse YieldStudio\\NovaGooglePolygon\\GooglePolygon;\n// ....\n\nGooglePolygon::make('Delivery area'),\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n### Security\n\nIf you've found a bug regarding security please mail [contact@yieldstudio.fr](mailto:contact@yieldstudio.fr) instead of using the issue tracker.\n\n## Credits\n\n- [James Hemery](https://github.com/jameshemery) - Developer\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%2Fyieldstudio%2Fnova-google-polygon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyieldstudio%2Fnova-google-polygon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyieldstudio%2Fnova-google-polygon/lists"}