承接 satmaelstorm/large-array-writer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

satmaelstorm/large-array-writer

最新稳定版本:2.0.1

Composer 安装命令:

composer require satmaelstorm/large-array-writer

包简介

Large Array Writer (sample: sitemap writer)

README 文档

README

It was originally created for recording SiteMap files with their limitations of 50 MB and 50,000 lines per 1 file. Later useful for recording all sorts of feeds.

Simple Version (1.0)

Usage

$writer = new LargeArrayWriter(
"sitemap_%NUM%.xml",
"/tmp/" ,
true,
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n",
"</urlset>",
50000,
50 * 1000 * 1000,
1000
);

Add string to file:

$writer->addString("<url><loc>URL</loc><lastmod>DATE</lastmod><changefreq>daily</changefreq></url>\n");

After all, finalize writer:

$files = $writer->finalize();

Extended Version (2.0)

FileNumerator

Saver

LAWriter

统计信息

  • 总下载量: 2.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固