{"id":15293729,"url":"https://github.com/ryanito/nova-country-flag","last_synced_at":"2025-07-26T08:33:03.377Z","repository":{"id":65017374,"uuid":"580475104","full_name":"ryanito/nova-country-flag","owner":"ryanito","description":"A Laravel Nova field for displaying country flags","archived":false,"fork":false,"pushed_at":"2022-12-21T15:35:48.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T20:22:26.451Z","etag":null,"topics":["laravel-nova","laravel-nova-field"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/ryanito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-20T16:48:07.000Z","updated_at":"2024-11-07T04:12:18.000Z","dependencies_parsed_at":"2023-01-01T11:39:34.735Z","dependency_job_id":null,"html_url":"https://github.com/ryanito/nova-country-flag","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ryanito/nova-country-flag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fnova-country-flag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fnova-country-flag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fnova-country-flag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fnova-country-flag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanito","download_url":"https://codeload.github.com/ryanito/nova-country-flag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fnova-country-flag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267140681,"owners_count":24041970,"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-07-26T02:00:08.937Z","response_time":62,"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":["laravel-nova","laravel-nova-field"],"created_at":"2024-09-30T16:53:10.874Z","updated_at":"2025-07-26T08:33:02.962Z","avatar_url":"https://github.com/ryanito.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Nova Country Flag Field\n\nA Laravel Nova field for displaying country flags using [Flagcdn.com](https://flagcdn.com).\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/ryanito/nova-country-flag.svg?style=flat-square)](https://packagist.org/packages/ryanito/nova-country-flag)\n[![Total Downloads](https://img.shields.io/packagist/dt/ryanito/nova-country-flag.svg?style=flat-square)](https://packagist.org/packages/ryanito/nova-country-flag)\n\n\u003cimg width=\"100%\" alt=\"Screenshot of index view\" src=\"https://user-images.githubusercontent.com/7041605/208942573-ff461ca0-1ede-4d33-8eb2-c0e61a738669.png\"\u003e\n\n\u003cimg width=\"100%\" alt=\"Screenshot of detail view\" src=\"https://user-images.githubusercontent.com/7041605/208943005-1efd8c6f-0a26-4c9e-b0ee-94522b63a1b4.png\"\u003e\n\n## Installation\n\nInstall the package into a Laravel app that uses [Nova](https://nova.laravel.com) with Composer:\n\n```bash\ncomposer require ryanito/nova-country-flag\n```\n\n## Usage\n\nAdd the field to your resource in the `fields` method:\n\n```php\nuse Ryanito\\CountryFlag\\CountryFlag;\n\nCountryFlag::make('Country')\n-\u003ewithCode($this-\u003ecountry_code)\n-\u003ewithName($this-\u003ecountry_name),\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanito%2Fnova-country-flag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanito%2Fnova-country-flag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanito%2Fnova-country-flag/lists"}