Download the PHP package zxf/tools without Composer

On this page you can find all versions of the php package zxf/tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tools

zxf

基于 php 的项目模块开发 调用命名空间 使用 use zxf\…… 例如 use zxf\Login\QqOauth; use zxf\Min\JsMin;

在线文档

引用

涵盖模块

模块 需要包含的文件夹/说明
zxf\Tools\Collection [Collection] 数据集合操作
QQ登录 Qqlogin
微信 WeChat
支付 支付
截图 ScreenShot
微博登录 sina
zxf\Min\JsMin js 压缩工具
zxf\Min\JS js 压缩工具(推荐)
zxf\Min\CSS css 压缩工具(推荐)
QrCode 生成二维码
BarCode 生成条形码 (支持Code128、Code11、Code39、Code39Extended、Ean128、Gs1128、I25、Isbn、Msi、Postnet、S25、Upca、Upce)
Compressor 图片压缩类
Cache 文件缓存
TextToPNG 文字转图片
TextToImg 文字转图片
PHPMailer 发送邮件
Curl http 网络请求
Sms 发送短信: ali(阿里云)[默认] 或者 tencent(腾讯云)
MysqlTool 创建mysql数据库字典
Database 数据库模型
Img 修改图片尺寸、给图片上添加文字等
Pinyin 中文转拼音
Menu 生成目录菜单(adminlte、layuiadmin、nazox、inspinia)
Random 生成随机数
ImgToIco 图片转ico 格式
Modules laravel 多模块应用
Command 命令行解析工具
Tree 树形结构化
Dom 简单快速的 HTML 解析器,此模块来源:https://github.com/Imangazaliev/DiDOM
Encryption AES、RSA加密解密
其他 Collection、Tree、Command、图片处理、文件操作等工具类

微信

Curl 网络请求

QQ登录

说明:不同框架可根据实际修改

提示:config('login.qq.default') 中需要包含3个元素 appid、appkey、callbackUrl

新浪微博登录

说明:不同框架可根据实际修改

提示:config('login.sina.default') 中需要包含3个元素 wb_akey、wb_skey、wb_callback_url

Cache 文件缓存

实例化

缓存 api

jsMin 压缩

js压缩

css压缩

QrCode 创建二维码

如果想直接输出到浏览器上,而不是获取 base64 文件流,可以使用draw() 方法输出,例如

设置二维码文字字体

使用自定义字体

使用内置的字体

支持的字体

BarCode 创建条形码

例如:

直接输出条形码到浏览器

可以把$code = $barcode->generate(); 这行代码用用$barcode->draw(); 代替就可以直接输出图片到浏览器了,例如

设置条形码文字字体

使用自定义字体

使用内置的字体

其他参数

设置分辨率

设置高度

GS1-128删除 48 个字符的限制

GS1-128允许未知标识符

Compressor 图片压缩类

TextToPNG 文字转图片

TextToImage 文字转图片

附 文字转图片 可使用的字体参照

Sms 发送短信

图片转ICO格式

Tree 树形结构化,

网页截图

使用前需要提前到phantomjs 下载相应的可执行应用程序

laravel 多模块应用

多模文档说明

Command 命令行参数解析

在项目根目录新建一个command 脚本,测试内容如下

更多

查看更多


All versions of tools with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-pdo Version *
ext-gd Version *
ext-dom Version *
ext-iconv Version *
ext-openssl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zxf/tools contains the following files

Loading the files please wait ....