Download the PHP package szjcomo/szjcore without Composer

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

思智捷科技ODAPHP框架核心库

odaphp 是一款基于easyswoole的快速开发的php框架,在原有的easyswoole的基础上增强了定时器、任务投递等功能,简化了配置操作、缓存操作、路由操作、以及reqeust、response等操作的复杂性和安全性,完全兼容easyswoole内的所有方法 具体可以查看easyswoole官方文档

核心库扩展说明

Controller类扩展

类型 方法名称 参数说明 方法说明
public index() easyswoole 规定继承自控制器必须实现index方法
public sessions($key,$value) key,value 获取session和设置session的值
public appResult($info,$data,$err) info,data,err 统一app返回值,info 返回说明 data的数据 err是否正确
public appJson($data,$code) data,code 响应JSON数据,code默认是200
public initialize() 全局拦截事件,如做权限控制请在子类中自行完成,返回false不继续执行后面的程序 返回true继续执行
public onRequest() 重写了easyswoole的onRequest()事件,增强了context功能,不建议子类重写,子类可以实现initialize()事件即可
public onException() 重写了easyswoole的onException事件,如果控制器出错,统一返回json格式错误信息
public _emtpy($action) action 未请求到方法空操作设置,子类可根据业务需要自定义实现

All versions of szjcore with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
topthink/think-template Version ^2.0
easyswoole/session Version ^1.0
easyswoole/easyswoole Version 3.3.2
easyswoole/fast-cache Version ^1.3
szjcomo/mysqli-pool Version ^0.0.7
easyswoole/redis 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 szjcomo/szjcore contains the following files

Loading the files please wait ....