PHP code example of omoon / php-kansai-dialect

1. Go to this page and download the library: Download omoon/php-kansai-dialect 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/ */

    

omoon / php-kansai-dialect example snippets


KansaiDialect::translate('いいね'); // ええやん
KansaiDialect::translate('シェア'); // わけわけ
KansaiDialect::translate('僕は男です。'); // 僕は男やねん。
KansaiDialect::translate('とても面白いですね。'); // めっちゃおもろいやん。

{
    "  "omoon/php-kansai-dialect": "*"
    }
}

$ php composer.phar install
$ php vendor/bin/phpunit