PHP code example of ryofujimotox / php_library

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

    

ryofujimotox / php_library example snippets

 json
"ryofujimotox/php_library": "^1"
},
"repositories": [
    {
    "type": "git",
    "url": "https://github.com/ryofujimotox/php_library"
    }
],
 php
// todo FW使ってる場合はいらない
\Extended\ArrayKit;

// インストールできたことを確認するだけ
function installTest() {
    $Prefs = new Prefecturer();
    var_dump($Prefs);

    $test = ArrayKit::slice_firla([1, 2, 3, 4, 5], 1, 2);
    var_dump($test);
}
installTest();
exit;