bildvitta / sp-hub
Installs: 7 129
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 14
Forks: 0
Open Issues: 0
Requires
- php: ^8.0|^8.1|^8.2|^8.3
- bildvitta/iss-sdk: ^v0.1.11
- illuminate/contracts: ^8.0|^9.0|^10.0|^11.0
- php-amqplib/php-amqplib: ^3.2.0
- ramsey/uuid: ^4.2.2
- spatie/laravel-package-tools: ^1.12
Requires (Dev)
- laravel/pint: ^1.16
- phpunit/phpunit: ^9.5
- dev-main
- v0.1.20
- v0.1.20.beta-01
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.15-beta.07
- v0.1.15-beta.06
- v0.1.15-beta.05
- v0.1.15-beta.04
- v0.1.15-beta.03
- v0.1.15-beta.02
- v0.1.15-beta.01
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.11-beta.1
- v0.1.10
- v0.1.9
- v0.1.9-beta.1
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1
- v0.1-beta.7
- v0.1-beta.6
- v0.1-beta.5
- v0.1-beta.4
- v0.1-beta.3
- v0.1-beta.2
- v0.1-beta.1
- v0.0.16
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
- dev-develop
- dev-feature/brands
- dev-feature/role-messaging
- dev-feature/public_list
- dev-feature/next
- dev-feature/adjust-in-the-heartbeat-value-next
- dev-feature/next-hub
This package is not auto-updated.
Last update: 2024-12-19 13:18:28 UTC
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',