Download the PHP package chenall/phalapi-weixin without Composer

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

微信扩展 \PhalApi\WeiXin

微信公众号、企业号等开发扩展, 使用Eastwechat

  1. 支持公众号、企业微信等,具体参考Eastwechat文档,传入不同的服务名就可以调用不同的服务。
  2. 只是简单的提供了一个调用方法,内置默认服务。
  3. 目前该扩展我主要是用于企业微信,本文的例子也都是企业微信,传入的服务名为Work;
  4. 扩展msg目录里面的类是为了支持IDE友好提示而设立的。

安装

在项目下直接运行以下命令即可完成扩展安装。

配置

根据要使用的不同的服务类型添加相应的配置文件 配置文件名 wx_服务名.php 本例为企业微信

配置文件./Config/wx_Work.php

注册

在./config/di.php文件中,注册微信服务(可以按需注册多个服务);

服务端访问入口(消息接收处理,需要单独的访问入口)

需要对接收的信息进行处理时才需要使用

也可以使用自己定义的消息处理接口


All versions of phalapi-weixin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.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 chenall/phalapi-weixin contains the following files

Loading the files please wait ....