Download the PHP package soovey/laravel-dadata-geocode without Composer

On this page you can find all versions of the php package soovey/laravel-dadata-geocode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-dadata-geocode

Laravel DaData.Геокодирование

Laravel пакет для геокодирования с помощью сервиса DaData (https://dadata.ru)

Latest Stable Version Total Downloads License

Установка

Установить пакет с помощью composer

Laravel настройка пакета

После установки пакета с помощью composer, зарегистрируйте сервис пакета в файле bootstrap/app.php:

Затем для быстрого вызов класса пакета, добавьте псевдоним в этот же файле:

Инициализация пакета

Добавление ключей в свой .env

или

Копируем файл настроек dadata-geoconfig.php в config папку

API-ключ

Секретный ключ

Использование

Методы

Большинство методов на версии 1.0.5 не протестированы и возможно не работают.

  1. Получить сырые данные ответа
  2. Получить данные ответа
  3. Получить имя страны
  4. Получить имя области
  5. Получить имя района
  6. Получить имя населенного пункта
  7. Получить имя улицы
  8. Получить номер дома
  9. Получить полный сырой адрес
  10. Получить полный адрес
  11. Получить широту
  12. Получить долготу
  13. Получить тип

Methods - Методы:

getRawData()

getData()

getCountry()

getRegion()

getDistrict()

getLocality()

getStreet()

getHouseNumber()

getRawFullAddress()

getFullAddress()

getLatitude()

getLongitude()

getType()

The documentation in English is not ready. At all. I highly recommend using the documentation in Russian with the help of a translator.

Laravel Dadata.Geocoding

Simply package laravel Yandex.Geocoding

Installation

Run composer require command.

Laravel Setting

After updating composer, register the service provider in bootstrap\app.php

Add then alias YaGeo adding its facade to the aliases array in the same file:

Configuration parameters package

Copy file config yandex-geocoding.php in config folder

Select Tag: yandex-geocoding-config

or

Api key

Api version

Language api response

Skip object in query

Usage

Methods

  1. Get raw data response
  2. Get data response
  3. Get name country
  4. Get name region
  5. Get name district
  6. Get name locality
  7. Get name street
  8. Get house number
  9. Get full raw address
  10. Get full address
  11. Get latitude
  12. Get longitude
  13. Get type

All versions of laravel-dadata-geocode with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package soovey/laravel-dadata-geocode contains the following files

Loading the files please wait ....