PHP code example of kongoon / yii2-bootstrap-datepicker-thai
1. Go to this page and download the library: Download kongoon/yii2-bootstrap-datepicker-thai library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kongoon / yii2-bootstrap-datepicker-thai example snippets
use kongoon\yii2\datepickerthai\BootstrapDatepickerThai;
echo BootstrapDatepickerThai::widget([
'options' => [
'id' => 'yourid',
'format' => 'dd/mm/yyyy',
'language' => 'th-th',
]
]);