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 yesterday

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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

2038d 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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