ryofujimotox / php_library
php library
Installs: 72
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ryofujimotox/php_library
Requires
Requires (Dev)
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2025-10-09 06:08:50 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