2017 © Pedro Peláez
 

library weixin

A simple PHP client library for weixin

image

weixin/weixin

A simple PHP client library for weixin

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 42 Forks
  • 5 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

΢ÐŹ«ÖÚÆ½Ì¨¿ª·¢Ä£Ê½Í¨ÓýӿÚAPI(Weixin)

is a PHP (>= 5.3) client library for the ΢ÐŹ«ÖÚÆ½Ì¨¿ª·¢Ä£Ê½Í¨ÓýӿÚAPI(Weixin), (*1)

Loading the library

Weixin relies on the autoloading features of PHP to load its files when needed and complies with the PSR-0 standard which makes it compatible with most PHP frameworks. Autoloading is handled automatically when dependencies are managed using Composer, but you can also leverage its own autoloader if you are going to use it in a project or script without any PSR-0 compliant autoloading facility:, (*2)

// Prepend a base path if Weixin is not available in your "include_path".
require 'Weixin/Autoloader.php';

Weixin\Autoloader::register();

It is possible to easily create a phar archive from the repository just by launching bin/create-phar. The generated phar contains a stub defining an autoloader function for Weixin, so you just need to require the phar to start using the library. Alternatively, it is also possible to generate one single PHP file that holds every class like older versions of Weixin by launching bin/create-single-file, but this practice is not encouraged., (*3)

µ÷ÓÃÊÂÀý



The Versions

25/06 2016

dev-master

9999999-dev http://github.com/handsomegyr/weixin

A simple PHP client library for weixin

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

weixin