bildvitta/sp-hub
最新稳定版本:v0.1.27
Composer 安装命令:
composer require bildvitta/sp-hub
包简介
README 文档
README
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
其他信息
- 授权协议: Unknown
- 更新时间: 2022-08-17