承接 teqbylyte/bims-connect 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

teqbylyte/bims-connect

最新稳定版本:v1.0.6

Composer 安装命令:

composer require teqbylyte/bims-connect

包简介

A Socialite extension to provide authentication functionality specific to BIMS - Beneficiary Identity Management Service by TETFund.

README 文档

README

A laravel package extending Laravel Socialite to provide authentication functionality specific to BIMS - Beneficiary Identity Management Service by TETFund. Visit bims.tetfund.gov.ng to know more.

Installation 💻

Install via composer

composer require teqbylyte/bims-connect

Configuration ⚙️

Your BIMS client credentials should be placed in your config/services.php as given below:

'bims' => [
    'client_id' => env('BIMS_CLIENT_ID'),
    'client_secret' => env('BIMS_CLIENT_SECRET'),
    'redirect' => 'https://yoursite.com/callback-url',
],

Usage ✨

To initiate a connection with your BIMS service, invoke the init method provided by the package, which is a direct & easy replacement for how one would use Laravel Socialite:

use Teqbylyte\BimsConnect\BimsConnect;

// Instead of Socialite::driver('bims'), use:
BimsConnect::init()

// Illustration 1:
Route::get('/oauth/redirect', function () {
    return BimsConnect::init()->redirect();
});
 
// Illustration 2:
Route::get('/oauth/callback', function () {
    $user = BimsConnect::init()->user();
 
    // $user->getEmail()
});

Visit Laravel Socialite Learn more about other available methods.

Contribution 🛠️

If you find any issue with this package, you're welcome to contribute 😄

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固