定制 bildvitta/sp-hub 二次开发

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

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

bildvitta/sp-hub

最新稳定版本:v0.1.27

Composer 安装命令:

composer require bildvitta/sp-hub

包简介

README 文档

README

Latest Version on Packagist Total Downloads

Introduction

The SP (Space Probe) package is responsible for collecting remote data updates for the module, keeping the data structure similar as possible, through the message broker.

Installation

You can install the package via composer:

composer require bildvitta/sp-hub:dev-develop

For everything to work perfectly in addition to having the settings file published in your application, run the command below:

php artisan sp:install

To configure the queues in RabbitMQ just run this command that it automatically creates based on the settings you passed in config/sp-hub.php

php artisan sp-hub:configure

Configuration

This is the contents of the published config file:

return [
    'rabbitmq' => [
        'host' => env('RABBITMQ_HOST'),
        'port' => env('RABBITMQ_PORT'),
        'user' => env('RABBITMQ_USER'),
        'password' => env('RABBITMQ_PASSWORD'),
        'virtualhost' => env('RABBITMQ_VIRTUALHOST', '/'),
        'exchange' => [
            'hub' => env('RABBITMQ_EXCHANGE_HUB', 'hub'),
        ],
        'queue' => [
            'hub' => env('RABBITMQ_QUEUE_HUB'),
        ]
    ],
];

With the configuration file sp-hub.php published in your configuration folder it is necessary to create environment variables in your .env file:

Enable extra columns sync

Add these attributes to the user model's $fillable property.

'document', 
'address', 
'street_number', 
'complement',
'city',
'state',
'postal_code',

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-08-17