PHPackages                             bildvitta/sp-produto - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. bildvitta/sp-produto

ActiveLibrary

bildvitta/sp-produto
====================

v0.1.37(5mo ago)011.7k↓22.7%2PHPPHP ^8.1|^8.2|^8.3

Since Aug 11Pushed 5mo ago11 watchersCompare

[ Source](https://github.com/bildvitta/sp-produto)[ Packagist](https://packagist.org/packages/bildvitta/sp-produto)[ RSS](/packages/bildvitta-sp-produto/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (123)Used By (2)

[![Latest Version on Packagist](https://camo.githubusercontent.com/da36cc05f089cf5127a212af4f8976b98d52ec13746e1014015afdfdb4b1e204/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696c6476697474612f73702d70726f6475746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bildvitta/sp-produto)[![Total Downloads](https://camo.githubusercontent.com/cb144a0f2e33df1650241065a3da83d8f7d3ecf17a46121815cdbde95b450aab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696c6476697474612f73702d70726f6475746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bildvitta/sp-produto)

Introduction
------------

[](#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
------------

[](#installation)

You can install the package via composer:

```
composer require bildvitta/sp-produto
```

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

```
php artisan sp-produto:config
```

Configuration
-------------

[](#configuration)

This is the contents of the published config file:

```
use BildVitta\Hub\Entities\HubCompany;

return [
    'table_prefix' => env('MS_SP_PRODUTO_TABLE_PREFIX', 'produto_'),

    'model_company' => env('MS_SP_PRODUTO_COMPANY', HubCompany::class),

    'db' => [
        'host' => env('PRODUTO_DB_HOST'),
        'port' => env('PRODUTO_DB_PORT'),
        'database' => env('PRODUTO_DB_DATABASE'),
        'username' => env('PRODUTO_DB_USERNAME'),
        'password' => env('PRODUTO_DB_PASSWORD'),
    ],

    'rabbitmq' => [
        'host' => env('RABBITMQ_HOST'),
        'port' => env('RABBITMQ_PORT'),
        'user' => env('RABBITMQ_USER'),
        'password' => env('RABBITMQ_PASSWORD'),
        'virtualhost' => env('RABBITMQ_VIRTUALHOST', '/'),
        'exchange' => [
            'real_estate_developments' => env('RABBITMQ_EXCHANGE_REAL_ESTATE_DEVELOPMENTS', 'real_estate_developments'),
        ],
        'queue' => [
            'real_estate_developments' => env('RABBITMQ_QUEUE_REAL_ESTATE_DEVELOPMENTS'),
        ]
    ],

    'sync_relations' => [
        'buying_options',
        'parameters', // need buying_options
        'insurances',
        'accessories',
        'mirrors', // need parameters
        'blueprints', // need typologies, accessories
        'characteristics',
        'proposal_models',
        'stages',
        'typologies', // need proposal_models
        'units', // need typologies, blueprints, mirrors
        'documents',
        'media',
        'properties',
    ],
];
```

Remove the relationships that you do not want to use, in order not to create the related tables, in the configuration file.

Some relationships require other relationships, indicated in the comments.

Run the command to install migrations and run seeds.

```
php artisan sp-produto:install
```

If you want to add some relationship later, add it to the settings array and run the above command again.

Importing data
--------------

[](#importing-data)

You can import initial data from the parent module by setting the database connection data in the configuration file. However, it will be necessary to import the data from the dependent module first: sp-hub.

```
php artisan dataimport:produto_real_estate_developments
```

Database seeder
---------------

[](#database-seeder)

You can seed your database with fake data to work with. However, it will be necessary to seed the other dependency first: sp-hub.

```
php artisan db:seed --class=SpProdutoSeeder
```

Running the worker
------------------

[](#running-the-worker)

After setting the message broker access data in the configuration file, you can run the worker to keep the data up to date.

```
php artisan rabbitmqworker:real_estate_developments
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance70

Regular maintenance activity

Popularity24

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

91

Last Release

173d ago

PHP version history (3 changes)v0.0.1PHP ^8.0|^8.1

v0.1.9PHP ^8.1|^8.2

v0.1.22PHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/57ede45a8ce528ade98fadbb32397afb6c0234f9d05caae7ac207d3b4d026af1?d=identicon)[hynzhw](/maintainers/hynzhw)

![](https://www.gravatar.com/avatar/e32e39fb848943b1a94bb2c167a2bda11eb45814ba34d539e6b1685a5de6e272?d=identicon)[michaelnakamura](/maintainers/michaelnakamura)

![](https://www.gravatar.com/avatar/ab5f117bbac50e0314758bcc25c9052dc4546568082eff672b65b128be0e2d98?d=identicon)[fabiomartins](/maintainers/fabiomartins)

![](https://www.gravatar.com/avatar/3ce1635f07565fb1531991b47d86c407b9b30955eb1871dad4ed33810aaffe88?d=identicon)[leandrohago](/maintainers/leandrohago)

---

Top Contributors

[![paulodavanco](https://avatars.githubusercontent.com/u/11135122?v=4)](https://github.com/paulodavanco "paulodavanco (80 commits)")[![fabiomartins1](https://avatars.githubusercontent.com/u/50298479?v=4)](https://github.com/fabiomartins1 "fabiomartins1 (78 commits)")[![zerossB](https://avatars.githubusercontent.com/u/8009480?v=4)](https://github.com/zerossB "zerossB (77 commits)")[![michaelnakamura](https://avatars.githubusercontent.com/u/10209108?v=4)](https://github.com/michaelnakamura "michaelnakamura (28 commits)")[![andreia-agily](https://avatars.githubusercontent.com/u/123497043?v=4)](https://github.com/andreia-agily "andreia-agily (6 commits)")[![estevao-simoes](https://avatars.githubusercontent.com/u/25695293?v=4)](https://github.com/estevao-simoes "estevao-simoes (5 commits)")[![noemimpimentel](https://avatars.githubusercontent.com/u/70988459?v=4)](https://github.com/noemimpimentel "noemimpimentel (3 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/bildvitta-sp-produto/health.svg)

```
[![Health](https://phpackages.com/badges/bildvitta-sp-produto/health.svg)](https://phpackages.com/packages/bildvitta-sp-produto)
```

###  Alternatives

[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[illuminate/queue

The Illuminate Queue package.

20331.4M1.2k](/packages/illuminate-queue)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[jerome/filterable

Streamline dynamic Eloquent query filtering with seamless API request integration and advanced caching strategies.

19226.1k](/packages/jerome-filterable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
