Download the PHP package xtlsoft/xdo without Composer
On this page you can find all versions of the php package xtlsoft/xdo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package xdo
XDO - PHP Data Object
Notice: This Project is no longer supported. Please see https://github.com/xtlsoft/NonDB
XDO is a PHP Data Object includes Database, Cache and Upload.
XDO 是一个 PHP 数据类,它包括了 数据库,缓存和上传。
Author 作者
The Author of XDO is Tianle Xu([email protected]).
XDO 的作者是徐天乐([email protected])。
Dependency 依赖项
We only need PHP! (PHP>=5.4) This is a portable software!
我们只需要PHP! (PHP>=5.4) 这是一个绿色软件!
Install 安装
1. Common
- Install PHP.
- Clone this project.
- Move the
XDO-master
directory intovendor/XDO
-
add one line code to your PHP Script:
-
Enjoy!
2. One-Key Script
Note: Please install
wget
first.
If you want to use this way to install XDO, please add aPATH
env for PHP first. -
Run the script
-
add one line code to your PHP Script:
- Enjoy!
3. Use composer
1. 通用
- 安装PHP。
- Clone 这个项目。
- 把
XDO-master
文件夹移动到vendor
下并重命名为XDO
-
向你的程序添加一行:
-
Enjoy!
2. 一键脚本
Note: 请先安装
wget
。
请先为PHP设置环境变量。 -
运行脚本
-
向你的程序添加一行:
- Enjoy!
3. Use composer
Usage 使用
- Install XDO.
-
Include XDO class:
- Set a Data dir:
Please clone the
Data
branch into your project. Replace thepath/to/data
string into the path to theData
branch you cloned. It includes some sample Data.
-
Create a Database object:
-
Do some tests:
- More: put,ins,del ::: Read our document
- 安装 XDO.
-
引入 XDO 类:
- 设置一个 Data 目录:
请 clone
Data
分支。 把path/to/data
替换成你 clone 的Data
分支. 它包括一些测试数据。
-
创建一个 Database 实例:
-
做一些测试:
- 更多方法: put,ins,del ::: 阅读我们的 文档