定制 hotelmah/write-file 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hotelmah/write-file

最新稳定版本:v1.0.1

Composer 安装命令:

composer require hotelmah/write-file

包简介

Write File is a rudimentary PHP write a file to disk class. Data can be added incrementally to memory using the saveData method which can then be written at once to a file via the write method. This library is used by the MySQL Table Editor (MTE) project.

README 文档

README

This library/package has a saveData method that can add data incrementally or at once into memory which can then be written at once to a file using the write method. This library is used by the MySQL Table Editor (MTE) project referenced here.

Notice

  • This package is rudimentary and not meant for widespread use. If you would like me to further develop this class to be more robust, please open an issue or discussion. Thank you.

Files Not Included in Packagist Package

  • .gitattributes
  • WriteFile-Test-1.php

Test File

  • WriteFile-Test-1.php
  • This is a sample of how the package works.

In your Script

  • Add the following (see the test file for an example):

require_once('vendor/autoload.php');

use WriteFile\ClsWriteFile;

Installation - Composer

  • run this command in your project root:

composer require hotelmah/write-file

  • There is no need to manually create/update a composer.json file in your project root since this command does it automatically.
  • The package is listed on Packagist, but is hosted on GitHub where the source is pulled from.

Installation - Manual

  • Copy the src directory contents to an appropriately named directory like includes/ in your LAMP web hosting provider.
  • Refer to the 'In your Script' heading above and/or test file.

Feedback

  • Forks and Pull Requests are welcomed.
  • Suggestions and comments for improvement are requested.
  • Thank you for reading!

License

  • GNU GENERAL PUBLIC LICENSE, Version 3.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2024-12-22