定制 abdyek/whoo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

abdyek/whoo

Composer 安装命令:

composer require abdyek/whoo

包简介

database agnostic authentication library

README 文档

README

Whoo is a database agnostic authentication library to manage authentication operation easily. Whoo provides you a layer to access and manage user and authentication in your application using Propel ORM.

Installation

composer require propel/propel "2.0.0-beta1" abdyek/whoo ^1.0

Features

  • Easy installation, building, usage and learning
  • Two-Factor Authentication support
  • OAuth2 authentication provider support
  • Database agnostic. MySQL, MS SQL Server, PostgreSQL, SQLite, Oracle support (powered by Propel ORM)
  • Able to configure for you application
  • Portable and standalone
  • Destroyable JSON Web Tokens

Getting Started

require 'vendor/autoload.php';

use Abdyek\Whoo\Whoo;

// Whoo once needs to load Propel config
Whoo::loadPropelConfig();

// Sign Up
$signUp = new Whoo('SignUp', [
    'email' => 'new_user_email@example.com',
    'password' => 'this_is_password',
    'username' => 'abdyek',
]);

$signUp->success(function(array $response) {
    echo $response['user']->getUsername() . ' registered whoo database';
})->exception('NotUniqueEmail', function($e) {
    // Oops! the email already is registered
})->exception('NotUniqueUsername', function($e) {
    // Oops! the username already is registered
});

$signUp->run();

Documentation

You can reach all controller class and other info at wiki page.

Versioning

Whoo will have semantic versioning when first stable release.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固