{"id":16464809,"url":"https://github.com/abr4xas/location","last_synced_at":"2025-03-23T10:34:43.257Z","repository":{"id":47686688,"uuid":"304961599","full_name":"abr4xas/location","owner":"abr4xas","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-09T19:57:39.000Z","size":63,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-11T11:30:25.505Z","etag":null,"topics":["cities","country","hacktoberfest","laravel","laravel-package","neighborhood"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/abr4xas/location","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/abr4xas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"abr4xas"}},"created_at":"2020-10-17T20:15:40.000Z","updated_at":"2023-03-08T04:03:54.000Z","dependencies_parsed_at":"2024-10-11T11:30:04.359Z","dependency_job_id":"90b390f2-181d-452b-8676-1f4542b53bd7","html_url":"https://github.com/abr4xas/location","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":0.5909090909090908,"last_synced_commit":"931b58af6b059c1cb2e48726ce0f77b9115a5317"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Flocation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Flocation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Flocation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abr4xas%2Flocation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abr4xas","download_url":"https://codeload.github.com/abr4xas/location/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221849609,"owners_count":16891496,"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":["cities","country","hacktoberfest","laravel","laravel-package","neighborhood"],"created_at":"2024-10-11T11:29:55.694Z","updated_at":"2024-10-28T15:38:10.756Z","avatar_url":"https://github.com/abr4xas.png","language":"PHP","funding_links":["https://github.com/sponsors/abr4xas"],"categories":[],"sub_categories":[],"readme":"# Import states \u003e cities \u003e neighborhood\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/abr4xas/location.svg?style=flat-square)](https://packagist.org/packages/abr4xas/location)\n[![GitHub Tests Action Status](https://github.com/abr4xas/location/workflows/Tests/badge.svg?style=flat-square)](https://github.com/abr4xas/location/actions?query=workflow%3Arun-tests+branch%3Amaster)\n[![Total Downloads](https://img.shields.io/packagist/dt/abr4xas/location.svg?style=flat-square)](https://packagist.org/packages/abr4xas/location)\n\n\nImport states \u003e cities \u003e neighborhood from specific country.\n\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require abr4xas/location\n```\n\nYou can publish and run the migrations with:\n\n```bash\nphp artisan vendor:publish --provider=\"Abr4xas\\Location\\LocationServiceProvider\" --tag=\"location-migrations\"\nphp artisan migrate\n```\n## Usage\n\n``` bash\nphp artisan import:states-from AR \u003ctoken\u003e\nphp artisan import:cities \u003ctoken\u003e\nphp artisan import:neighborhoods \u003ctoken\u003e\n```\n\n\u003e NOTE: You need to generate an access token. You can do that \u003ca href=\"https://meli.tepuilabs.dev/\" target=\"_blank\"\u003ehere\u003c/a\u003e.\n\n\u003cdetails\u003e\n    \u003csummary\u003ecountry list:\u003c/summary\u003e\n\n```\ncountry: AR,\nname: Argentina,\ncountry: BO,\nname: Bolivia,\ncountry: BR,\nname: Brasil,\ncountry: CL,\nname: Chile,\ncountry: CN,\nname: China,\ncountry: CO,\nname: Colombia,\ncountry: CR,\nname: Costa Rica,\ncountry: CBT,\nname: Cross Border Trade,\ncountry: EC,\nname: Ecuador,\ncountry: SV,\nname: El Salvador,\ncountry: GT,\nname: Guatemala,\ncountry: HN,\nname: Honduras,\ncountry: MX,\nname: Mexico,\ncountry: NI,\nname: Nicaragua,\ncountry: PA,\nname: Panamá,\ncountry: PY,\nname: Paraguay,\ncountry: PE,\nname: Peru,\ncountry: PT,\nname: Portugal,\ncountry: PR,\nname: Puerto Rico,\ncountry: GB,\nname: Reino Unido,\ncountry: DO,\nname: República Dominicana,\ncountry: UY,\nname: Uruguay,\ncountry: VE,\nname: Venezuela,\n```\n\n\u003c/details\u003e\n\n\n\n## Testing\n\n``` bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Credits\n\n- [angel cruz](https://github.com/abr4xas)\n- [All Contributors](../../contributors)\n\n\u003e I'm using Mercado Libre API for this package. Kudos to all MeLi devs \u003c3\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%2Fabr4xas%2Flocation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabr4xas%2Flocation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabr4xas%2Flocation/lists"}