承接 jezevec10/lz-string-php 相关项目开发

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

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

jezevec10/lz-string-php

Composer 安装命令:

composer require jezevec10/lz-string-php

包简介

PHP Class implementation of LZ-String javascript.

README 文档

README

PHP Class implementation of LZ-String javascript (http://pieroxy.net/blog/pages/lz-string)

lz-string was designed to fulfill the need of storing large amounts of data in localStorage, specifically on mobile devices. localStorage being usually limited to 5MB, all you can compress is that much more data you can store. In case you want to transfer your stored data from / to a php backend you can use this library to (en)code the data.

This code is originally based on the LZ-String javascript version found here: http://pieroxy.net/blog/pages/lz-string/index.html and is a 1:1 copy/translation into php.

Usage

<?php
\LZCompressor\LZString::compressToBase64($rawstr);

Installation

Composer

composer require nullpunkt/lz-string-php

Changelog

2016-03-23

  • v1.2.0 Added utf16 functionality

2016-02-28

  • v1.1.0 Completely rewritten LZString component to match the output of js-lz-string version 1.4.4
  • PHPUnit tests for continuous testing / comparision of lz-string js

2016-02-25

  • Added v1.0.0 to packagist/composer nullpunkt/lz-string-php

2016-02-04

2014-03-12

  • Small Bugfix added (Thanks to Filipe)

2014-05-09

  • Added support for special chars like é,È, ... [Thanks to @carlholmberg]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2020-12-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固