file-chainer:具有插入支持的可链接文件流编写器

时间:2021-07-07 02:46:58
【文件属性】:
文件名称:file-chainer:具有插入支持的可链接文件流编写器
文件大小:12KB
文件格式:ZIP
更新时间:2021-07-07 02:46:58
PHP 文件链器 它是什么? 一些 php 文件流函数的小包装器,支持将数据插入流中而不会覆盖。 (另外:可链接。) 安装 添加到作曲家: require: { " prewk/file-chainer " : " dev-master " } 并运行composer install 。 用法 两种新的文件流方法: finsert在当前文件流位置插入一个字符串 finsertcsv在当前文件流位置插入一个 csv(如 )行 插入和链接 Prewk \ FileChainer :: make () -> fopen ( "/foo/bar.txt" , "w+" ) -> fwrite ( "foo" ) -> rewind () -> finsert ( "bar" ) -> fclose (); echo file_get_content
【文件预览】:
file-chainer-master
----.gitignore(14B)
----src()
--------FileChainer()
--------FileChainerInterface.php(3KB)
----.travis.yml(136B)
----composer.json(519B)
----composer.lock(3KB)
----README.md(1KB)
----phpunit.xml(586B)
----tests()
--------integration()
--------bootstrap.php(190B)

网友评论