helllomatt/aspen-user-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

helllomatt/aspen-user-api

Composer 安装命令:

composer require helllomatt/aspen-user-api

包简介

API module for the ASPEN framework to manage users and authentication.

README 文档

README

This is an API used to allow for user management using the ASPEN framework. Users can:

  • Register new accounts
  • Activate accounts
  • Reset passwords via request
  • Log in via OAuth2 or Session
  • Update information (when logged in)
  • Change their password (when logged in)

How to install

There's two parts: firstly install the package, secondly set up the database.

Installing the package:

composer require helllomatt/aspen-user-api

Setting up the database:

  1. Navigate to the package .../vendor/helllomatt/aspen-user-api
  2. In the root folder you'll find db.sql
  3. Import db.sql into your database

Code updates

In your index.php file there are two changes that need to be made.

  1. Add session_start() under require 'vendor/autoload.php' (if you plan to use session based auth)
  2. Add vendor/helllomatt/aspen-user-api to the manager's load() array

After that, you're ready to use the API.

Running tests

Tests require an actual database connection.

Modify the phpunit.xml file to reflect your database setup for running tests.

统计信息

  • 总下载量: 28
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固