Download the PHP package yogcloud/easyswoole-orm without Composer

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

Easyswoole-ORM

项目背景

由于swoole协程环境不可以直接使用php-fpm的orm组件(由于存在静态全局变量、连接层没有做好协程处理,无法协程安全地使用)

所以easyswoole花费大量时间精力维护orm组件,连贯操作等功能设计借鉴TP5.0的ORM组件。

有疑问、功能建议、bug反馈请在QQ群、github issue、直接联系宣言提交。

问题反馈模板

一个完整的提问需要包含以下几点:

安装

RFC

Model Invoke

查询

1.1、获取单个数据

1.2、获取多个数据

1.3、获取某个字段或者某个列的值

1.4、数据分批处理

新增

1.5、添加1条数据

1.6、获取自增id

1.7、添加多条数据

更新

1.8、查找并更新

1.9、直接更新数据

1.10、批量更新数据

批量更新仅能根据主键值进行更新,其它情况请使用foreach遍历更新。

1.11、使用 update 方法进行更新

1.12、闭包方法更新

1.13、自动识别

删除

1.14、删除当前模型

1.15、根据主键删除

1.16、条件删除

聚合

1.17、count

1.18、max

1.19、min

1.20、avg

1.21、sum

官网文档

http://www.easyswoole.com/Cn/Components/Orm/changeLog.html

单元测试

推荐使用mysql著名的employees样例库进行测试和学习mysql: https://github.com/datacharmer/test_db

主要项目负责人

参与贡献方式

开源协议

Apache-2.0

功能介绍

设计层级

设计层级


All versions of easyswoole-orm with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-swoole Version >=4.4.7
ext-json Version *
easyswoole/component Version ^2.0
easyswoole/mysqli Version ^2.0
easyswoole/ddl Version ^1.0
easyswoole/pool Version ^1.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 yogcloud/easyswoole-orm contains the following files

Loading the files please wait ....