Download the PHP package m809745357/mini-program without Composer

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

Mini-Program

文档未完善,仅本人开发使用。

因为在微信小程序中经常能够使用到的,用 code 获取用户 openid 并且使用它来获取 passport 中的 access_token 给后面的 api 调用提供可靠的安全性。

这些步骤有时候写起来是非常麻烦的。所以我有了一个想法,能不能把这个写成一个包方便控制。

这是我第一个包。

安装

首先,安装 laravel 5.5,并保证数据库正常链接。并且正常安装 laravel/passport

config/app.php 文件中添加一下代码:

然后运行这些命令来发布 migrationsconfig

运行以后,你可以在 miniprogram 里面修改看到:

需要在 .env 文件中配置

运行数据库迁移

app/Providers/AuthServiceProvider.php 中添加代码:

执行 php artisan route:list 可以看到以下信息:


All versions of mini-program 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 m809745357/mini-program contains the following files

Loading the files please wait ....