{"id":17161005,"url":"https://github.com/ezitisitis/laravel-countries","last_synced_at":"2025-07-06T13:40:32.505Z","repository":{"id":65166725,"uuid":"585107011","full_name":"ezitisitis/laravel-countries","owner":"ezitisitis","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-16T07:18:58.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T19:18:40.426Z","etag":null,"topics":[],"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/ezitisitis.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":"2023-01-04T10:36:27.000Z","updated_at":"2024-09-16T07:19:01.000Z","dependencies_parsed_at":"2024-09-16T08:45:22.795Z","dependency_job_id":"c70c1114-d34c-40ba-b1da-0c478eb02725","html_url":"https://github.com/ezitisitis/laravel-countries","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"d2da90e99a9e9256d67eac359ebd641dcd72563c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-countries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-countries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-countries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-countries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezitisitis","download_url":"https://codeload.github.com/ezitisitis/laravel-countries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240086624,"owners_count":19745842,"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":[],"created_at":"2024-10-14T22:26:49.515Z","updated_at":"2025-02-23T13:30:51.090Z","avatar_url":"https://github.com/ezitisitis.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Countries\n\nBundle for Laravel, which provides ISO 3166_2, 3166_3, currency, Capital, and more data for all countries\n\n**Notice: this version is for Laravel 8 and above**\n\n## Installation\n\nAdd `ezitisitis/laravel-countries` to your `composer.json` by running:\n```bash\ncomposer require ezitisitis/laravel-countries\n```\n\nRun installation command:\n```bash\nphp artisan countries:install\n```\n\n**NB** Installation command supports `--force` flag/option to force publishing\n\nRun migration command:\n```bash\nphp artisan migrate\n```\n\n## Model and data\n\nTo change model table go to `config/countries.php` and change `table_name` value.\n\n**NB** You will need to make sure that old table is removed.\n\nNow you can seed database by executing:\n```bash\nphp artisan db:seed --class=CountriesSeeder\n```\n\nOr by adding seeder to your DatabaseSeeder:\n```php\n$this-\u003ecall(CountriesSeeder::class);\n```\n\nand executing:\n```bash\nphp artisan db:seed\n```\n\n## Credits\n\n- [Marks Bogdanovs](https://www.ezitisitis.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezitisitis%2Flaravel-countries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezitisitis%2Flaravel-countries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezitisitis%2Flaravel-countries/lists"}