Download the PHP package callmez/yii2-app-wechat without Composer

On this page you can find all versions of the php package callmez/yii2-app-wechat. 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 yii2-app-wechat

Yii2微信系统模板

Yii2-app-basic为基础模板展现Yii2-wechat模块的基础功能, 可用于生产环境或模块使用示例.

安装要求

PHP >= 5.4.0.

安装

使用Composer安装

命令行执行以下命令:

// Yii2框架依赖
php composer.phar global require "fxp/composer-asset-plugin:1.0.0" 
// 框架安装为wechat目录
php composer.phar create-project --prefer-dist --stability=dev callmez/yii2-app-wechat wechat 

配置

数据库

编辑 config/db.php 填入你的数据库配置, 例如:

微信设置

当数据库配置完成后, 需要执行一些步骤来完整的使用wechat模块提供的功能

命令行执行

// 迁移wechat模块数据库表
php yii migrate --migrationPath=@callmez/wechat/migrations 
// 迁移示例模块数据库表, 如果已经熟悉微信模块的功能这一步可以略过
php yii migrate --migrationPath=@app/modules/example/migrations 

访问

如果以上都设置完毕, 并且应用安装在你的Web服务访问目录下, 你只需要在浏览器输入以下地址即可体验

http://localhost/wechat/web

All versions of yii2-app-wechat with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
yiisoft/yii2 Version *
yiisoft/yii2-bootstrap Version *
yiisoft/yii2-swiftmailer Version *
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 callmez/yii2-app-wechat contains the following files

Loading the files please wait ....