Download the PHP package yhbyun/nova-kakao-address without Composer

On this page you can find all versions of the php package yhbyun/nova-kakao-address. 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 nova-kakao-address

Nova Kakao Address Field

주소 입력시 주소에 해당하는 위도, 경도를 카카오 지도을 이용하여 입력할 수 있게 해주는 Laravel Nova Field

Installation

.env 파일에 카카오 API 키 추가

카카오 API 키 발급

사용방법

데이타베이스 post 테이블에 address, latitide, longitude, address_1level, address_2level, address_3level, address_others 컬럼이 있다고 가정하자.

app/post.php

app\Nova\Post.php

동작원리

Laravel Nova 필드는 한개의 폼 값 만을 반환하기 때문에 다음과 같은 주소 정보를 갖는 json 객체를 반환하도록 구현했다.

해당 모델의 creating, 'updating` 이벤트 시 address 속성에 이 json 데이터가 들어 있게 되고, 이 데이터로부터 전체주소, 시도, 구, 동, 나머지 주소, 위도, 경도 값을 구해서 해당 속성을 갱신한다.

화면켭쳐


All versions of nova-kakao-address with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.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 yhbyun/nova-kakao-address contains the following files

Loading the files please wait ....