Download the PHP package trinityrank/geo-location without Composer
On this page you can find all versions of the php package trinityrank/geo-location. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trinityrank/geo-location
More information about trinityrank/geo-location
Files in trinityrank/geo-location
Package geo-location
Short Description GeoLocation - show or hide operaters in selected countries
License MIT
Homepage https://github.com/trinity-rank/geo-location
Informations about the package geo-location
Very short description of the package
Choose to show or hide Operaters by choosing the countries from list.
Installation
Step 1: Install package
To get started with Laravel Geo Location, use Composer command to add the package to your composer.json project's dependencies:
Step 2: Migration
-
You need to publish migration from package
-
And then you need to run migration for alltenant(s)
- Or only for one speciffic tenant
Step 3: Operaters Model database
Add this fields to '$fillable' inside Operaters model
Step 4: Add field
-
Add field to your (Operater) resource into "fields" method
- Or if you use conditional fields than just add this into "fields" method
Step 5: If you are using conditional fields
Add this in tenant config
Step 6: Frontend part
-
Without token
- With token
Add new variable in .ENV file
You can connect with 'config/main.php' file
Then we can use our Geo Location