Download the PHP package aestheticraza/laravelglobe without Composer

On this page you can find all versions of the php package aestheticraza/laravelglobe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravelglobe

🌍 LaravelGlobe

Enterprise-Grade, Fully Independent Geographic & Localization Package for Laravel


LaravelGlobe is a highly normalized, strictly typed, and independently maintained geographic engine for Laravel. Instead of relying on bloated external APIs (which cause rate limits and slow load times), LaravelGlobe ships with its own proprietary internal JSON datasets for Countries, States, 150,000+ Cities, Currencies, Timezones, and Postal Codes.

This package gracefully solves geographical overlap anomalies via Advanced Many-to-Many Pivot tables (e.g., countries with multiple timezones, border-cities with dual currencies).


🚀 Why LaravelGlobe? (The Benefits)


💻 Installation

  1. Install the Package via Composer:

  2. Run the Automated Master Install Command: This powerful command auto-publishes properties, bindings, caching setups, and migrations. Then it automatically asks to run migrate and triggers the chunked data seeders—all within one console execution.

🛠️ Practical Real-World Examples

Here is how you actually use LaravelGlobe's data efficiently in your own application modules.

Example 1: The HasLocation Trait (Users & Orders)

You can assign geographical behavior to any application model instantly. Add use HasLocation; to a User, Employee, or Order model.

Step 1: In your migration, just ensure your table has country_id, state_id, and city_id columns. Step 2: In your Model:

Step 3: Access it in your Controllers!

Example 2: Finding Nearby Entities (Spatial SQL Search)

When building food delivery apps, cab services, or store locators, you often need to find objects within an X kilometer radius. LaravelGlobe does the heavy math for you.

Example 3: Pivot Tables (Resolving Currencies & Timezones)

A Country does not always have just 1 Currency or 1 Timezone. LaravelGlobe introduces native Pivot Tables so your app can support enterprise payment architectures logic out of the box.

Example 4: Deep Geography & Postal Codes

Need to know the specific Latitude/Longitude and Postal Codes of a City without an external API request?


🖥️ Intelligent CLI Commands

We treat Database Syncing and Control very seriously. LaravelGlobe brings tailored Artisan commands:

(Note for Uninstall: This permanently wipes all populated geographic package data. A confirmation prompt will prevent accidental data loss.)


⚙️ Configuration & Performance Tuning

Toggling massive modules or adjusting the internal caching is just a boolean away in your config/laravelglobe.php:


🌐 Data Sources & Integrity

All structured underlying JSON buffers (/data/cities/chunk_*.json, custom_countries.json, etc.) originate from validated country-state-city and REST Countries data engines. They are shipped completely offline inside this package, meaning your production API servers will never be blocked by 3rd party rate limits or downtime.


🛡️ Author & License

Developed by: Ali Raza (@aestheticraza)
Email: [email protected]

Proprietary & Independent Geographic Engine. Maintained securely for Enterprise scaling Laravel applications.


All versions of laravelglobe with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aestheticraza/laravelglobe contains the following files

Loading the files please wait ...