https://github.com/takuya/php-helper-functions
https://github.com/takuya/php-helper-functions
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/takuya/php-helper-functions
- Owner: takuya
- License: gpl-3.0
- Created: 2025-05-05T03:49:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-04T02:39:12.000Z (10 months ago)
- Last Synced: 2025-08-04T05:06:12.897Z (10 months ago)
- Language: PHP
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-helper-functions
ちょっとした関数を何度も書くのすら面倒になったのでここに集めておく。
# 使い方
```shell
name='php-helper-functions'
composer config repositories.$name \
vcs https://github.com/takuya/$name
composer require takuya/$name
```
# 関数を増やすとき
```shell
php src/bin/gen_func.php Array array_first;
```
### テスト作成
```shell
php tests/gen_tests.php
```
# テスト
paratest が速くていい。
```shell
vendor/bin/paratest
```