PHP code example of horaceho / tradize

1. Go to this page and download the library: Download horaceho/tradize 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/ */

    

horaceho / tradize example snippets

 php
app('tradize')->convert('陈艳丽');

=> [
     "陳豔麗",
     "陳艷麗",
   ]

app('tradize')->convert('张小华');

=> [
     "張小華",
   ]
 php
app('tradize')->invert('陳艷麗');

=> [
     "陈艳丽",
   ]