PHPackages                             elseyyid/laravel-json-mysql-locations-manager - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. elseyyid/laravel-json-mysql-locations-manager

ActivePackage[Localization &amp; i18n](/categories/localization)

elseyyid/laravel-json-mysql-locations-manager
=============================================

Laravel Json Locations Manager. Import all app language strings from lang folder

1.1.1(2y ago)042.4k—3.8%MITPHPPHP &gt;=5.3.0

Since Dec 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/OmarElseyyid/laravel-json-mysql-locations-manager)[ Packagist](https://packagist.org/packages/elseyyid/laravel-json-mysql-locations-manager)[ RSS](/packages/elseyyid-laravel-json-mysql-locations-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (13)Used By (0)

Laravel Json Localization Manager
=================================

[](#laravel-json-localization-manager)

This is a package to manage json strings for Laravel 5.4 and higher Localization Translation Strings As Keys With MySQL. [Using Translation Strings As Keys](https://laravel.com/docs/5.4/localization#using-translation-strings-as-keys "Using Translation Strings As Keys")

Composer require
----------------

[](#composer-require)

```
$ composer require elseyyid/laravel-json-mysql-locations-manager
```

Add Provider into config/app.php
--------------------------------

[](#add-provider-into-configappphp)

```
Elseyyid\LaravelJsonLocationsManager\Providers\LaravelJsonLocationsManagerServiceProvider::class,
```

### For Only local environment

[](#for-only-local-environment)

Add the following to the AppServiceProvider in the register function:

#### app/Providers/AppServiceProvider.php

[](#appprovidersappserviceproviderphp)

```
 if ($this->app->environment() == 'local' || $this->app->environment() == 'testing') {
     /*
      * Load third party local providers
      */
     $this->app->register(\Elseyyid\LaravelJsonLocationsManager\Providers\LaravelJsonLocationsManagerServiceProvider::class);
 }
```

Package install
---------------

[](#package-install)

Run in console this command

```
$ php artisan elseyyid:location:install
```

This command install database and will ask if you want to import the existing locations in the application. There are 2 questions, the first to import the strings in arrays and the second to import the existing strings into json files. This will pupulate the database with all strings. You don't need to run artisan migrate, this package uses an independent database (sqlite).

### Other Console Command

[](#other-console-command)

You can publish all languages Json files in console running

```
$ php artisan elseyyid:location:publish
```

Of course you also can do that in browser views.

Manage Locations
----------------

[](#manage-locations)

Now you can access to /translations/home in your browser and manage all langs strings.

- Search Language Strings
- Add new Language
- Add new Strings
- Edit Strings
- Publish / Update json Files

Publish the views and config file
---------------------------------

[](#publish-the-views-and-config-file)

```
$ php artisan vendor:publish --provider='Elseyyid\LaravelJsonLocationsManager\Providers\LaravelJsonLocationsManagerServiceProvider'
```

### In the config file you can call your custom layout, the content section and the scripts section (this is important for the edit views) and routes prefix and middlewares.

[](#in-the-config-file-you-can-call-your-custom-layout-the-content-section-and-the-scripts-section-this-is-important-for-the-edit-views-and-routes-prefix-and-middlewares)

Routes middlewares
------------------

[](#routes-middlewares)

in config file you can add your middlewares, by default is only 'web' middleware

### Feel free to send improvements

[](#feel-free-to-send-improvements)

Created by [elseyyid](https://github.com/OmarElseyyid "https://github.com/OmarElseyyid")

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

12

Last Release

845d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc0762333d7c2e5893b8bde0b0a1cf567d61b1e8ac314862a29c647ce4fea2fa?d=identicon)[OmarElseyyid](/maintainers/OmarElseyyid)

---

Top Contributors

[![OmarElseyyid](https://avatars.githubusercontent.com/u/76188067?v=4)](https://github.com/OmarElseyyid "OmarElseyyid (12 commits)")

---

Tags

laravellaravel 8laravel 9laravel 10laravel 11laravel 5.4Laravel Json Locations ManagerLaravel Json Locations Manager MySQLLaravel Localization Using Translation Strings As Keys

### Embed Badge

![Health badge](/badges/elseyyid-laravel-json-mysql-locations-manager/health.svg)

```
[![Health](https://phpackages.com/badges/elseyyid-laravel-json-mysql-locations-manager/health.svg)](https://phpackages.com/packages/elseyyid-laravel-json-mysql-locations-manager)
```

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[ip2location/ip2location-laravel

Lookup for visitor's IP information, such as country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type.

83516.9k1](/packages/ip2location-ip2location-laravel)[novu/novu-laravel

Novu for Laravel

12204.3k](/packages/novu-novu-laravel)[ip2location/ip2proxy-laravel

Allows user to query an IP address if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.

1063.2k](/packages/ip2location-ip2proxy-laravel)[goodway/laravel-nats

Nats jetstream queue driver with client for Laravel

304.8k](/packages/goodway-laravel-nats)[itsmurumba/laravel-mpesa

Laravel Package for Mpesa Daraja API

191.6k](/packages/itsmurumba-laravel-mpesa)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
