Download the PHP package yuanfenxi/yuanfen-sdk without Composer

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

Yuanfen-sdk

Yuanfenxi PHP SDK

简介

本代码包是猿分析的PHP SDK。

可以用以实现行为数据的汇报功能,将站点的各种用户行为推送到猿分析后台。

什么是用户行为

做为商业站点,您可以把很多关键的行为都定义为用户行为,比如,用户注册了帐号,用户登陆了,甚至用户在站内停留时间达到了5分钟,都可以定义为发生了一个用户行为。

收集这些数据,产生相关报表,对于了解您的运营数据,非常有好处。尤其是当您有多个来源的广告投放时,或是做了促销类活动时,要分析活动效果,是非常有用的。

具体使用

  1. 安装:

  2. 使用:

假定我们已经有一段用户注册的代码:

我们把注册行为命名为"register-succ";应该在注册成功后,添加汇报用户注册行为的代码。

其中,汇报相关的代码为:

注意,YFX_KEY,YFX_SECRET,YFX_SID 可以从猿分析配置页面查询到。


All versions of yuanfen-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
firebase/php-jwt Version >=2.0
whichbrowser/parser Version ^2.0
guzzlehttp/guzzle Version ^6.3
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 yuanfenxi/yuanfen-sdk contains the following files

Loading the files please wait ....