{"repo":"nnjeim/world","free":true,"listed":false,"github":"https://github.com/nnjeim/world","clone":"git clone https://github.com/nnjeim/world.git","description":"A Laravel package which provides a list of the countries, states, cities, currencies, timezones, languages and IP Geolocation.","language":"PHP","stars":990,"topics":["laravel","laravel-package","countries-api","countries","states","cities","timezones","currencies","languages","language"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"The World is a Laravel package that provides a comprehensive list of countries, states, cities, timezones, currencies, languages and IP geolocation. You can access the data using the World Facade or through defined API routes. --- 🌍 New in v1.1.38: IP Geolocation Module Detect user location from IP address with automatic fallback to free API. World::geolocate() · GET /api/geolocate Learn more → --- Table of Contents - Installation - Automated Installation - Manual Installation - What's New in v1.1.38 - Changelog - Contributing - Examples - Usage - List All Countries - Fetch Country with States & Cities - List All Cities by Country ID - Available Actions - Available API Routes - Countries - States - Cities - Timezones - Currencies - Languages - Geolocate - Localization - Schema - Configuration - Testing - Installation First, set your application environment to local: Then, install the package via composer: Optionally, set the WORLD DB CONNECTION environment variable to your desired database connection. Automated Installation Run the following Artisan command to automate the installation process: Manual Installation If you prefer to install the package manually, follow these steps: 1. Publish the package configuration file: 2. Run the migrations: 3. Seed the database: Upgrading ⚠️ Important: When upgrading to a new version, you must re-publish the configuration file to ensure all new features work correctly: This command updates the config/world.php file with new configuration","default_branch":null,"files":null,"tree":[],"storefront":"/r/nnjeim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nnjeim/world/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}