Download the PHP package dxcswl/ft without Composer

On this page you can find all versions of the php package dxcswl/ft. 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 ft

The Fture base code Package

地址

https://github.com/dxcswl/ft

注意

我们需要一个核心驱动的类哦

目前处于测试和调试阶段 我们需要一个来支持他们正常

安装

composer require dxcswl/ft

使用

  1.缓存入口 SetCache GetCache
    0  名称为表的名称 系统缓存
    1  名称为方法名 common/Event/Cache.php 中的方法  自定义的缓存
    2  名称为方法名 common/Event/Inlay.php 中的方法  内部保留扩展缓存

    示例: 缓存 表 (前缀)user表,整个表缓存,key为自增字段

    \ft\Cache::setCache('user');

    GetCache 同上  主要获取缓存的数据

    建议使用 
        \ft\Cache::setetCache('demo',1);
        增加 common/Event/Cache.php demo的方法

  2.核心方法
    1.hxListToTree($list = [], $pk = 'id', $pid = 'pid', $child = '_child', $root = 0)
        遍历数组形成层级数组
        list 原始数据
        pk 关系id
        pid 对应id
        child 下级数组对应关系名称
        root 遍历开始id 对应 $pid
    2.hxStrRandom($sing = 1, $type = 0)
        生成随机字符串
        sing 生成字符串长度 默认1个长度
        type 生成字符串类型 1.数字 2.大写字母 3.小写字母 默认.数字+大写字母+小写字母

All versions of ft with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
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 dxcswl/ft contains the following files

Loading the files please wait ...