How can I change the administratives divisions prefix code?

Information:

By default, LaraClassifier uses the Geonames database for city and administrative division data. Since this database may be incomplete, you can update it through the Admin panel under International > Countries > [Admin. division 1] or [Cities] to add, edit, or delete entries.

To distinguish between Geonames-imported data and your custom additions, the script applies a prefix to administrative division codes.

Changing the Prefix

Modify the administratives divisions prefix in the config/larapen/core.php file at line 186:

/*
|----------------------------------------------------------------------
| Custom Prefix for the new locations (Administratives Divisions) Codes |
|----------------------------------------------------------------------
|
*/
'location_code_prefix' => 'Z',

Replace the value with your preferred prefix character to customize how new location codes are identified in the system.

Was this article helpful?

Thank you for your feedback!

Still need help? Create a support ticket

Create a Ticket