PHPackages                             laurel/lardi-trans - 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. [API Development](/categories/api)
4. /
5. laurel/lardi-trans

ActiveLibrary[API Development](/categories/api)

laurel/lardi-trans
==================

Adapter for lardi-trans api

1.0.8(5y ago)036MITPHP

Since Aug 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/prokhorenko-vladyslav/LaurelLardiTrans)[ Packagist](https://packagist.org/packages/laurel/lardi-trans)[ RSS](/packages/laurel-lardi-trans/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)DependenciesVersions (10)Used By (0)

This package provides tools that allow add to your application location autocomplete. Search works using Lardi Trans API.

Installing with Composer
========================

[](#installing-with-composer)

You can install this package via Composer with this command

> composer require laurel/lardi-trans

Installation in Laravel
=======================

[](#installation-in-laravel)

To install in Laravel you need to modify the `providers` array in `config/app.php` to include the service provider

> 'providers' =&gt; \[
>
> ```
>   //..
>   Laurel\LardiTrans\App\Providers\LardiTransServiceProvider::class,
>
> ```
>
>
>
> \],

Then run `composer update`.

After that you need to publish config files. To do this run next command:

> php artisan vendor:publish --tag=config --provider=Laurel\\LardiTrans\\App\\Providers\\LardiTransServiceProvider

Specify in the package config file models, fields and relation method for Countries, Regions, Cities and PostalCodes.

Using
=====

[](#using)

You can get LardiTrans API predictions using next code. As additional parameters, you can set query limit and language:

> $service = new \\Laurel\\LardiTrans\\App\\Services\\LardiTransService; $cities = $service-&gt;autocompleteCity('Киев')

For fetching countries use next code. As parameters, you can set an array with regions ids and language:

> $service = new \\Laurel\\LardiTrans\\App\\Services\\LardiTransService; $countries = $service-&gt;fetchCountries()

For fetching regions use next code. As parameters, you can set array with countries signs and language:

> $service = new \\Laurel\\LardiTrans\\App\\Services\\LardiTransService; $regions = $service-&gt;fetchRegions()

Also, for fetching list with all countries, you can use next console command:

> php artisan laurel/lardi-trans/fetch:countries

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~8 days

Total

9

Last Release

2089d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8728675?v=4)[Laurel](/maintainers/Laurel)[@laurel](https://github.com/laurel)

---

Top Contributors

[![prokhorenko-vladyslav](https://avatars.githubusercontent.com/u/38713205?v=4)](https://github.com/prokhorenko-vladyslav "prokhorenko-vladyslav (19 commits)")

### Embed Badge

![Health badge](/badges/laurel-lardi-trans/health.svg)

```
[![Health](https://phpackages.com/badges/laurel-lardi-trans/health.svg)](https://phpackages.com/packages/laurel-lardi-trans)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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