ryofujimotox / php_library
php library
v2.1.4
2023-07-09 01:33 UTC
Requires
Requires (Dev)
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-05-09 03:10:22 UTC
README
- write composer.json
"require": { "ryofujimotox/php_library": "^1" }, "repositories": [ { "type": "git", "url": "https://github.com/ryofujimotox/php_library" } ],
- install
composer install
- use
// todo FW使ってる場合はいらない require_once 'vendor/autoload.php'; use FrUtility\Table\Prefecturer; use FrUtility\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;
update
composer update
Tests
- install
composer install
- run
./vendor/bin/phpunit tests