Download the PHP package shulinqian/auth without Composer

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

通用权限

设计初衷:当不用现成框架写一个系统的时候,发现每次都要去写auth模块,其他框架的auth和框架耦合度太高,独立不出来,因此开发了此模块

QQ群:647344518 立即加群
出品: 成都新数科技有限公司 http;//www.xinshukeji.com
体验地址: http://www.must.pw/tests/

1. 简介

auth提供2中认证模式,基于$_SESSION的认证,和基于token的api认证

2. 使用

详细使用见src/demo目录,web是session auth模式,api是token auth

配置:

3. 快速测试

找个空目录(前提安装好composer),初始化项目,一直回车就好

安装完成后,运行服务器

然后浏览器访问你的ip
http://127.0.0.1:9008/web.php

http://127.0.0.1:9008/api.php

至此,大功告成,可根据自己的系统快速集成一个认证和简易权限验证的功能,

立即开始愉快的旅程吧


All versions of auth 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 shulinqian/auth contains the following files

Loading the files please wait ....