---
title: "Installation — Trading Analytics for Laravel | Roundly"
description: "Install via Composer — no migrations, views or commands to set up — and optionally publish the config file."
url: https://roundly-consulting.com/open-source/docs/trading-analytics-for-laravel/installation
language: en
---

[All packages](https://roundly-consulting.com/open-source.md)

[Trading Analytics for Laravel](https://roundly-consulting.com/open-source/docs/trading-analytics-for-laravel.md)

# Installation

Require the package with Composer. The service provider is auto-discovered — no manual registration:

```bash
composer require roundly-consulting/trading-analytics-for-laravel
```

The package ships no migrations, views or commands. It is a calculation library you call from your own code: it stores nothing and works only on the trades you pass in.

Optionally publish the config file to change the default precision or win-rate period:

```bash
php artisan vendor:publish --tag="trading-analytics-config"
```

trading-analytics-config is the only publish tag the package exposes.

## At a glance

The package adds a section to Laravel’s about command that reports the configured decimal scale and win-rate period. A malformed value is shown as INVALID — the engine throws on it — and about keeps working:

```bash
php artisan about --only=trading-analytics
```

## Show your open-source love

This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.

[More ways to support, including crypto](https://roundly-consulting.com/support-us.md)

By donating, you agree to our [donation terms](https://roundly-consulting.com/donation-terms.md).

[Support our open source work (opens in a new tab)](https://donate.stripe.com/dRmeVe8FX5PF1Qd9pXcEw00) [Join us on Patreon (opens in a new tab)](https://www.patreon.com/cw/roundly)

## Want this built into your product?

We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.

[Get a quote in 48 hours](https://roundly-consulting.com/contact.md) [Browse all packages](https://roundly-consulting.com/open-source/docs/trading-analytics-for-laravel.md)
