定制 tatter/accounts 二次开发

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

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

tatter/accounts

Composer 安装命令:

composer require tatter/accounts

包简介

Multi-service account management for CodeIgniter 4

README 文档

README

This module is deprecated and will be removed in the future. Please do not use it.

Tatter\Accounts

Multi-service account management for CodeIgniter 4

Quick Start

  1. Install with Composer: > composer require tatter/accounts
  2. Create the config file: app/Config/Accounts.php
  3. Use the service to access each handler: $customer = service('accounts')->stripe->find($id);

Description

Modern web apps connect to umpteen different platforms, and managing users across all the services can be a hassle. Accounts provides a standard for centralized user management.

Installation

Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:

  • > composer require tatter/accounts

Or, install manually by downloading the source files and adding the directory to app/Config/Autoload.php.

Configuration

Create a config file in your application directory: app/Config/Accounts.php. You may copy the example file or start from scratch. Make sure to enable the handlers you want to use.

Usage

Load the service:

$accounts = service('accounts');

Then access each handler by its name:

$user = $accounts->myth->get(3);

Accounts returns a standardized set of fields, regardless of the endpoint's format. The original entity is always available via the original() method:

$permissions = $user->original()->getPermissions();

Supported methods: get(), add(), update(), remove()

Extending

Use the provided abstract BaseHandler class to write your own handlers, or check back for new implementations as this library grows.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固