Download the PHP package zw2582/jessica without Composer

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

杰西卡 Jessica

项目介绍

自己写的一个快速开发框架

安装

开发实例

controller:控制器层

如果请求为:site/test,创建controller/Site.php,创建方法test()即可

Controller.php是基础控制器,不想继承也ok,控制器方法返回的字符串会渲染到页面,目前没有继承页面渲染框架,只能返回字符串

数据库配置

数据库操作也很简单,基于pdo操作mysql,别的数据库都不支持

如果要修改配置直接去utils\db\Connection.php中去修改,不要觉得low,自己用够了

数据库简便操作

数据库的简单操作投提供了方法,对于复杂的链表查询自己写sql查询,目前只支持?占位符哦

querySql($sql, $data):直接sql查询,data使用占位符?传递参数

简单查询:

db($tablename):创建查询器

field(array $field):查询字段,默认全部

where(array $param):拼装条件

offset($offset)->limit($limit):分页

queryOne():查询一条

queryAll():查询多条

count(string $field):统计数量,field默认:"*"

insert(array $data):新增数据,返回最后一条插入的数据

update(array $data):修改数据,返回行数


All versions of jessica with dependencies

PHP Build Version
Package Version
Requires eaglewu/swoole-ide-helper Version dev-master
rakit/validation Version 0.16.0
php Version >=5.5.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 zw2582/jessica contains the following files

Loading the files please wait ....