PHPackages                             bildvitta/sp-vendas - 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-vendas

ActiveLibrary

bildvitta/sp-vendas
===================

v0.1.6(7mo ago)03.5k↓33.3%PHPPHP ^8.0|^8.1|^8.2|^8.3

Since Aug 30Pushed 7mo ago12 watchersCompare

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

READMEChangelog (9)Dependencies (14)Versions (15)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9d672146f503d99bca2ce009b35ccb0c1323a3e7a9b35aa7327091388d4afc4e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696c6476697474612f73702d76656e6461732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bildvitta/sp-vendas)[![Total Downloads](https://camo.githubusercontent.com/68e9af552065b073d25f8a540b6ad7eda845cfc2f3282aefe3aa1c05ae3b3151/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696c6476697474612f73702d76656e6461732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bildvitta/sp-vendas)

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-vendas
```

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

```
php artisan sp-vendas:install
```

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

[](#configuration)

This is the contents of the published config file:

```
return [
    'table_prefix' => env('MS_SP_VENDAS_TABLE_PREFIX', 'vendas_'),
    'db' => [
        'host' => env('VENDAS_DB_HOST', '127.0.0.1'),
        'port' => env('VENDAS_DB_PORT', '3306'),
        'database' => env('VENDAS_DB_DATABASE', 'forge'),
        'username' => env('VENDAS_DB_USERNAME', 'forge'),
        'password' => env('VENDAS_DB_PASSWORD', ''),
    ],
    'rabbitmq' => [
        'host' => env('RABBITMQ_HOST'),
        'port' => env('RABBITMQ_PORT', '5672'),
        'user' => env('RABBITMQ_USER'),
        'password' => env('RABBITMQ_PASSWORD'),
        'virtualhost' => env('RABBITMQ_VIRTUALHOST', '/'),
        'exchange' => [],
        'queue' => []
    ],
];
```

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 modules first: sp-hub, sp-crm and sp-produto.

```
php artisan dataimport:vendas_sales
```

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

[](#database-seeder)

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

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

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:sales
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance64

Regular maintenance activity

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.4% of commits — single point of failure

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 ~142 days

Total

9

Last Release

215d ago

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

v0.1.4PHP ^8.0|^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 (11 commits)")[![michaelnakamura](https://avatars.githubusercontent.com/u/10209108?v=4)](https://github.com/michaelnakamura "michaelnakamura (8 commits)")[![zerossB](https://avatars.githubusercontent.com/u/8009480?v=4)](https://github.com/zerossB "zerossB (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[dyrynda/laravel-model-uuid

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

4802.8M8](/packages/dyrynda-laravel-model-uuid)[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)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)[outerweb/settings

Application wide settings stored in your database

4899.2k5](/packages/outerweb-settings)

PHPackages © 2026

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