Skip to content

helloooideeeeea/php-kakasi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-kakasi For PHP 7.2

In the case of PHP 5.6,  see https://github.com/kokukuma/php-kakasi

If you install dockerd on your computer, you can check quickly.

$ git clone https://github.com/helloooideeeeea/php-kakasi.git

$ cd php-kakasi

$ docker build -t php -f docker/Dockerfile docker/

$ docker run -it -v $(pwd):/home/ec2-user/develop/ php:latest /bin/bash

[ec2-user@xxxxxxx ~]$ cd develop

[ec2-user@xxxxxxx develop]$ php test.php 
array(4) {
  ["base"]=>
  string(15) "狩野達也君"
  ["hira"]=>
  string(21) "かのたつやくん"
  ["kata"]=>
  string(21) "カノタツヤクン"
  ["alph"]=>
  string(14) "kanotatsuyakun"
}
array(3) {
  [0]=>
  string(6) "狩野"
  [1]=>
  string(6) "達也"
  [2]=>
  string(3) "君"
}

How to Install
Please check docker/Dockerfile
Written there

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published