inzamam/selise-block-authorization 问题修复 & 功能扩展

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

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

inzamam/selise-block-authorization

最新稳定版本:v0.2.1

Composer 安装命令:

composer require inzamam/selise-block-authorization

包简介

selise blocks authorization system for Laravel, including token management and secure authentication logic.

README 文档

README

You can install the package via composer:

composer require inzamam/selise-block-authorization

⚙️ Configuration

To publish the config file:

php artisan vendor:publish --tag=selise-block-authorization-config

This will publish the config file to:

config/selise-block-authorization.php

.env setting

Setup the environment variables in your .env:

BLOCK_API_URL=https://your-api-url.com
BLOCK_API_ORIGIN=https://your-origin.com
BLOCK_USER=your-user
BLOCK_PASSWORD=your-password
BLOCK_CLIENT_ID=your-client-id
BLOCK_API_VERSION=v1

🧩 Migrations

To publish the migration for block_access_tokens and block_api_logs:

php artisan vendor:publish --tag=selise-block-authorization-migrations
php artisan migrate

Or publish everything (config + migrations) at once:

php artisan vendor:publish --tag=selise-block-authorization
php artisan migrate

🚀 Usage

Use the facade or bound service to retrieve and store access tokens:

use SeliseBlockAuthService;

$token = SeliseBlockAuthService::getAccessToken();
echo $token;

🧑‍💻 Author

Inzamamul Karim inzamamul.karim@selisegroup.com

📄 License

This package is open-sourced software licensed under the MIT license

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-19