Home > Download >  Library download

  • Patchwork UTF-8 is a portable class library for processing UTF-8 format strings. Interested friends can download it and use it in their own projects.

    String processing class14422017-02-27
  • ANSI to HTML5 A class library that converts ANSI to HTML5, ANSI to HTML5: A class library that converts ANSI to HTML5

    String processing class18272017-02-27
  • Lex is a lightweight template parser class library. Interested friends can download it and use it in their own projects.

    Template engine library51412017-02-27
  • Interested friends can download the HAML template language class library implemented in PHP and use it in their own projects.

    Template engine library47892017-02-27
  • Interested friends can download the Mustache template language class library implemented in PHP and use it in their own projects.

    Template engine library53542017-02-27
  • Template fragment caching class library for Twig. Interested friends can download it and use it in their own projects.

    Template engine library50722017-02-27
  • PHP generates a complete class library for QR codes. Interested friends can download it and use it in their own projects.

    QR code74012017-02-27
  • Verification code class implemented in PHP

    Verification code library14912017-02-27
  • Image processing classes in DreamWeaver cms, including: 1.Generate thumbnails 2.Picture watermark 3. Use gd to generate thumbnails 4. Use gd for watermarking

    Picture library15342017-02-27
  • This is a very simple class file that uses php to back up mysql database. We only need to simply configure the connection address username and database in dbmange. Function: Implement mysql database volume backup, select tables for backup, and implement single sql file and volume sql import.

    Database operation class32502017-02-27
  • The commonly used methods of data file caching include php file caching and using memcache to cache data. Below I have summarized memcache caching data and data file caching respectively. Friends in need can refer to it. 1. For general variables, change the variable into the format of PHP language and write it to the file. When using, just include the file, which is equivalent to loading the cache. 2. For array-type variables, convert the array into a string that defines the array in the PHP language, and write it to the file. It only takes the time to include it, which is equivalent to loading the cache. 3. Control the cache time by obtaining the creation time of the cache file and comparing it with the current time. If the update time is not reached, the cache is read directly. If the update time is reached, the database is queried.

    caching library14842017-02-27
  • PHP cache Memcache Queue class library Let’s take a look at the usage. The code is as follows: MQ::setupMq('127.0.0.1','11211');//Connection MQ::add($key, $value);//Add data to the queue MQ::add($key, $value);//Add data to the queue MQ::add($key, $value);//Add data to the queue MQ::add($key, $value);//Add data to the queue MQ::add($key, $value);//Add data to the queue MQ::add($key, $value);//Add data to the queue MQ:get($key, 10);//Retrieve a certain amount of data

    caching library12022017-02-27