Download the PHP package lerko/p-hero without Composer

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

介绍

phero是一个数据库查询的orm类库,注解形式的model以及方便快速的数据库操作方法

这是一个兴趣使然的ORM(手动斜眼笑)

V1.0.3

支持下列特性:

文档位于doc 可以查看test中单元测试的例子

安装

第一个ORM

创建一个Unit

对应的表结构为

进行一些基础的查询

单表

子查询

关键字 对应sql符号
where{and/or}Eq =
where{and/or}Neq \<> (!=)
where{and/or}In in
where{and/or}Not_in not in
where{and/or}Between between
where{and/or}Like like
where{and/or}Not_like not like
where{and/or}Lt <
where{and/or}Lr <=
where{and/or}Gt >
where{and/or}Ge >=
where{and/or}Regexp regexp
where{and/or}Isnotnull is not null
where{and/or}Isnull is null
where{and/or}Exists exists
where{and/or}Not_exists not exists
where{Lt/Lr/Gt/Ge}{and/or}All all
where{Lt/Lr/Gt/Ge}{and/or}Any any

删除

更新

插入


All versions of p-hero with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
symfony/cache Version v3.3.5
league/climate Version 3.2.1
zendframework/zend-code Version 3.1.0
predis/predis Version ^1.1
symfony/console Version ^3.3
webmozart/console Version 1.0.0-beta5
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 lerko/p-hero contains the following files

Loading the files please wait ....