PHPackages                             balestrino/seat-srp - 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. balestrino/seat-srp

ActiveSeat-plugin

balestrino/seat-srp
===================

A module for SeAT that tracks SRP requests

019Blade

Since Jul 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Balestrino/seat-srp)[ Packagist](https://packagist.org/packages/balestrino/seat-srp)[ RSS](/packages/balestrino-seat-srp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

seat-srp
========

[](#seat-srp)

A module for SeAT that tracks SRP requests

This plugin write for [SeAT](https://github.com/eveseat/seat) is providing to your instance a way to manage your ship replacement program (SRP)

![Latest Stable Version](https://camo.githubusercontent.com/08516e7fe0cd3a5aa18b1959e099f4907b6b0b42e59ff24bd5c24cbd15c6f85c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656e6e676172722f736561742d7372702e7376673f7374796c653d666c61742d737175617265)[![Build Status](https://camo.githubusercontent.com/08ac1d0bf605ef1e491b5ed0297d4ecd1c3d8f23b95f3052a1952adf333b371e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6479736174682f736561742d7372702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/dysath/seat-srp)[![License](https://camo.githubusercontent.com/244607c741b08a9bfbaca45498deef0db2a598ac7f42ac1d0cba12fa91472379/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c76322d626c75652e7376673f7374796c653d666c61742d737175617265)](https://raw.githubusercontent.com/dysath/seat-srp/master/LICENSE)

If you have issues with this, you can contact me on Eve as **Crypta Electrica**, or on email as ''

Quick Installation:
-------------------

[](#quick-installation)

In your seat directory (By default: /var/www/seat), type the following:

```
php artisan down
composer require denngarr/seat-srp

```

(You can skip this step if you are running 3.x) After a successful installation, you can include the actual plugin by editing **config/app.php** and adding the following after:

```
        /*
         * Package Service Providers...
         */

```

add

```
        Denngarr\Seat\SeatSrp\SrpServiceProvider::class

```

and save the file. Now you're ready to tell SeAT how to use the plugin:

```
php artisan vendor:publish --force
php artisan migrate

php artisan up

```

And now, when you log into SeAT, you should see a 'Ship Replacement Program' link on the left.

SRP Payout Calculations
-----------------------

[](#srp-payout-calculations)

### Simple SRP

[](#simple-srp)

By default, the application is configured in simple mode. In this mode, the SRP payout is calculated by using the evepraisal value returned from Jita sell for the whole killmail.

### Advanced SRP

[](#advanced-srp)

Advanced SRP can be enabled in the settings menu. Once enabled, the SRP Admin will need to specify rules around payout calculations. The rule types available are `Type`, `Group` and `Default`. The rules are matched in that order with the first match being used to calculate payout value.

#### Shared Configuration Options

[](#shared-configuration-options)

- **Price Source** - Where the pricing of individual elements will be drawn from
- **Base Value** - A fixed ISK amount added to each payout from this rule
- **Hull %** - The percentage of the ship hull value to be paid out.
- **Fit %** - The percentage of the ship fit value to be paid out.
- **Cargo %** - The percentage of the ship cargo value to be paid out.
- **Deduct Insurance** - If selected, the payout will be reduced by the benefit gained from insurance (payout - cost)

#### Rule Types

[](#rule-types)

##### Type Rules

[](#type-rules)

Type rules match the ship type exactly, for example a Scorpion or Blackbird. Note that variants are considered separate ships. Ie a Raven is different to a Raven Navy Issue.

##### Group Rules

[](#group-rules)

Group rules match based on the group of the ship, such as `Frigate`, `Shuttle` or `Battleship`.

##### Default Rule

[](#default-rule)

The default rule is the rule used when there are no type or group rules that have been triggered. The default rule is a catch all for any remaining payout calculations.

Discord Webhook (optional)
--------------------------

[](#discord-webhook-optional)

Automated notifications of new SRP Requests submitted in Discord

***In Discord application:***

1. On a channel of your choice, click the cog icon to open the channel settings
2. In the channel settings, navigate to the Webhooks tab
3. Click `Create Webhook`
4. Fill in name for the webhook and (optional) image
5. Copy the Webhook URL
6. Click `Save` to finish creating the webhook

***In SeAT file:***

The Ship Replacement Program Settings page accepts two variables for the webhook:

1. (required) `Webhook URL`: this is the url you copied when creating the webhook in Discord
2. (optional) `Discord Mention Role`: this can be a room mention (e.g. `@here`), a Discord role ID, or a specific user ID - Role ID and User ID can be obtained by typing `/@rolename` into a channel (e.g. `/@srp_manager`)

Example of entries:

```
Webhook URL = https://discordapp.com/api/webhooks/513619798362554369/Px9VQwiE5lhhBqOjW7rFBuLmLzMimwcklC2kIDJhQ9hLcDzCRPCkbI0LgWq6YwIbFtuk
Discord Mention Role =

```

Good luck, and Happy Hunting!! o7

Usage Tracking
--------------

[](#usage-tracking)

In order to get an idea of the usage of this plugin, a very simplistic form of anonymous usage tracking has been implemented.

Read more about the system in use [here](https://github.com/Crypta-Eve/snoopy)

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0be2e8593aa287ba390bd7d03cc1b4168fe4e2427bbb32097f397b066e81fa20?d=identicon)[Balestrino](/maintainers/Balestrino)

---

Top Contributors

[![Balestrino](https://avatars.githubusercontent.com/u/845352?v=4)](https://github.com/Balestrino "Balestrino (1 commits)")

### Embed Badge

![Health badge](/badges/balestrino-seat-srp/health.svg)

```
[![Health](https://phpackages.com/badges/balestrino-seat-srp/health.svg)](https://phpackages.com/packages/balestrino-seat-srp)
```

PHPackages © 2026

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