Skip to content

LocationErag provides a free and efficient way to look up locations in India. Simply input a PIN code and receive instant access to detailed area information.

License

Notifications You must be signed in to change notification settings

eramitgupta/LocationErag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LocationErag – Free and Easy Location Lookup for Indian Areas

Explore Indian locations effortlessly using our software, Locationerag. Simply add a PIN code as a parameter, and instantly get an array of the entire area of India. It's a quick and easy way to find locations – simplify your searches with Locationerag!

Screenshot

Screenshot 2024-08-07 at 11 32 57 PM

Getting Started

Installation

To get started with Locationerag, run the following command to install it via Composer:

composer require erag/locationerag

Step 1: Register the Service Provider

For Laravel 11.x

Ensure that the service provider is registered in /bootstrap/providers.php:

return [
    // ...
    LocationErag\LocationEragServiceProvider::class
];

For Laravel 10.x

Add the service provider in config/app.php:

'providers' => [
    // ...
    LocationErag\LocationEragServiceProvider::class,
];

Step 2: Usage Example

Now, use the Locationerag package in your routes:

<?php

use Illuminate\Support\Facades\Route;
use LocationErag\Get\Location;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
| Register web routes for your application.
|--------------------------------------------------------------------------
*/

Route::get('/', function () {
    echo '<pre>';
    print_r(Location::MapData(226010)); // Example: Get location data using a PIN code.
});

About

LocationErag provides a free and efficient way to look up locations in India. Simply input a PIN code and receive instant access to detailed area information.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages