PHPackages                             baraear/laravel-thailand-js - 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. baraear/laravel-thailand-js

ActiveLibrary

baraear/laravel-thailand-js
===========================

From the most popular tool for help user fill the thailand address deploy it for Laravel Framework.

v1.0.0(8y ago)0731MITJavaScript

Since Jan 11Pushed 8y ago2 watchersCompare

[ Source](https://github.com/HiQStd/laravel-thailand-js)[ Packagist](https://packagist.org/packages/baraear/laravel-thailand-js)[ RSS](/packages/baraear-laravel-thailand-js/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ThailandJS for Laravel Framework
================================

[](#thailandjs-for-laravel-framework)

จากตัวที่กรอกที่อยู่ที่ดีที่สุดในไทยถูกปรับให้ใช้งานกับ Laravel ได้ง่ายขึ้น

[![Latest Stable Version](https://camo.githubusercontent.com/949e2abe7c7852d46d49df1f52a4e157ff5b52ae4feaa3c39f1cb54db77a7341/68747470733a2f2f706f7365722e707567782e6f72672f626172616561722f6c61726176656c2d746861696c616e642d6a732f762f737461626c65)](https://packagist.org/packages/baraear/laravel-thailand-js)[![Latest Unstable Version](https://camo.githubusercontent.com/5484e9ec6424305d30e389658da501040703db64cf2f9fbe7e5627ce84b676f2/68747470733a2f2f706f7365722e707567782e6f72672f626172616561722f6c61726176656c2d746861696c616e642d6a732f762f756e737461626c65)](https://packagist.org/packages/baraear/laravel-thailand-js)[![License](https://camo.githubusercontent.com/184be605ce547007208f10e6492256ed0957c26391bcb0bca0d670bc9efbaf4e/68747470733a2f2f706f7365722e707567782e6f72672f626172616561722f6c61726176656c2d746861696c616e642d6a732f6c6963656e7365)](https://packagist.org/packages/baraear/laravel-thailand-js)[![Total Downloads](https://camo.githubusercontent.com/873571c49a3e80f9f21822755124629adb04c8c375c40fdf43d507a52f1cc203/68747470733a2f2f706f7365722e707567782e6f72672f626172616561722f6c61726176656c2d746861696c616e642d6a732f646f776e6c6f616473)](https://packagist.org/packages/baraear/laravel-thailand-js)[![StyleCI](https://camo.githubusercontent.com/277ff9c98de0e6c4efd3d5e4cf0096f1908293af65c883645fec180aaf772770/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131363935333634312f736869656c643f7374796c653d666c6174266272616e63683d6d6173746572)](https://styleci.io/repos/116953641)[![Scrutinizer](https://camo.githubusercontent.com/1c71c06ef3cbb73571cad4f61fea7b75f2572fd2965dd36ad57a91487ceb8872/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f626172616561722f6c61726176656c2d746861696c616e642d6a732e7376673f6272616e63683d6d6173746572)](https://scrutinizer-ci.com/g/baraear/laravel-thailand-js/?branch=master)

### การติดตั้ง

[](#การติดตั้ง)

1. คุณสามารถติดตั้งแพคเกจนี้ได้ผ่านทาง Composer

```
composer require baraear/laravel-thailand-js
```

2. เมื่อติดตั้งเสร็จแล้วให้ทำการเพิ่ม Service Provider ของแพคเกจที่ไฟล์ `config/app.php`

```
/*
 * Package Service Providers...
 */
Baraear\ThailandJS\ThailandJSServiceProvider::class,
```

3. ทำการเพิ่ม Facade ของแพคเกจที่ไฟล์ `config/app.php`

```
/*
 * Package Service Providers...
 */
'aliases' => [
    'ThailandJS' => Baraear\ThailandJS\ThailandJSFacade::class,
]
```

4. ปรับปรุงไฟล์ `autoload.php`

```
composer dump-autoload
```

### การตั้งค่า

[](#การตั้งค่า)

1. สร้างไฟล์สำหรับการตั้งค่าของแพคเกจ

```
php artisan vendor:publish --provider="Baraear\ThailandJS\ThailandJSServiceProvider" --tag="config"
```

2. ตรวจสอบการตั้งค่าที่ไฟล์ `config/thailandjs.php`

```
