Download the PHP package jeen/yafapi without Composer

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

使用yaf搭建的简易API服务框架

测试环境 及 配置说明

项目模块

J_ENV 环境分级

需创建与之对应的配置文件 - 建议四级

可根据项目实际部署环境调整

J_DEBUG 全局调试开关

建议用于调试日志记录

其他备注

注意

使用 api yar 时,需要配置中的 vendor/jeen/JApi apiUrl与相关服务环境的配置

Api Open 请求参数说明

建议 使用 如下参数格式,用于安全校验

参数名 必要 类型 说明 范例
systemType string 系统类型 iphone 6s plus,HuaWei P9 MAX
systemVersion string 系统版本 ios 9.1.2, android 5.0.1
systemMAC string 系统网卡地址 0f:00:23:e2:ed:12
systemIMEI string 手机IMEI 830123123123123
systemIDFA string iOS idfa ifajs-asdlf-asfdjl-asdf
appType int 应用类型 0未知,1android,2ios,3web,...
appVersion string 应用版本 1.2.8
timeStamp int Unix 10位整型时间戳 1401230123
apiToken string 接口调用令牌,指定或约定算法生成 dlfw932lfasff...
userId int/string 用户ID(唯一标识) 692343993
userToken string 用户会话令牌(用于登录校验) ijfwafjsjd89s8df8a
apiName string 调用接口名称 test_index_test
apiParams json(array/dict/map) 接口请求参数 {a:"b",c:3}
sign string 签名值,约定的签名算法 oiasldkf

更多说明待完善


All versions of yafapi with dependencies

PHP Build Version
Package Version
No informations.
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 jeen/yafapi contains the following files

Loading the files please wait ....