PHPackages                             drag-and-publish/ip2location-sync - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. drag-and-publish/ip2location-sync

ActiveLibrary[Database &amp; ORM](/categories/database)

drag-and-publish/ip2location-sync
=================================

Ip2Location database sync package for laravel

v1.0.0(2y ago)111MITPHPPHP ^8.1

Since Jan 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/drag-and-publish/ip2location-sync)[ Packagist](https://packagist.org/packages/drag-and-publish/ip2location-sync)[ RSS](/packages/drag-and-publish-ip2location-sync/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (11)Versions (3)Used By (0)

ip2location-sync
================

[](#ip2location-sync)

Ip2Location database sync package for Laravel apps. This package is designed for `DB3LITECSV` and it requires a database to store the data.

Differences between `docker-ip2location-mysql` and this package
---------------------------------------------------------------

[](#differences-between-docker-ip2location-mysql-and-this-package)

- The official docker image [docker-ip2location-mysql](https://github.com/ip2location/docker-ip2location-mysql) provides a database with the data but there is no custom sync option. This package provides a custom sync option.
- It is not designed for complex use cases. If you need more features, please use the official docker image.
- Sometimes the official docker image causes a quota exceeded error. This may break your application. This package uses a cache to prevent this error.

Installation
------------

[](#installation)

```
composer require drag-and-publish/ip2location-sync
```

Usage
-----

[](#usage)

Run required jobs in the console.

```
