PHPackages                             rapidez/statamic-quote - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rapidez/statamic-quote

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rapidez/statamic-quote
======================

Allows requesting a quote when using Rapidez with Statamic

5.0.0(1mo ago)01.7k↓70.1%GPL-3.0-or-laterPHPPHP ^8.0CI passing

Since Sep 10Pushed 1mo agoCompare

[ Source](https://github.com/rapidez/statamic-quote)[ Packagist](https://packagist.org/packages/rapidez/statamic-quote)[ Docs](https://github.com/rapidez/statamic-quote)[ RSS](/packages/rapidez-statamic-quote/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (6)Versions (12)Used By (0)

Rapidez Statamic Quote
======================

[](#rapidez-statamic-quote)

Note

This package requires the Rapidez+Statamic combination to be installed and set up.

Allows you to add a "Request quote" button anywhere with products present.

Installation
------------

[](#installation)

You can install this package using Composer:

```
composer install rapidez/statamic-quote
```

Then, you'll need to publish the blueprint and form field. You're probably also going to want to publish the config file:

```
php artisan vendor:publish --tag=quote-content
php artisan vendor:publish --tag=quote-config
```

After publishing these, we would also recommend adding a default country to the country dictionary field in the form blueprint.

Usage
-----

[](#usage)

This package does not create any "request invoice" buttons on the frontend by default. These will need to be added by the developer. The simplest way to do this is by adding this button to your product page:

```

    @lang('Request quote')

```

You can also pass an array to `add-products`, which allows you to push an array of products to the quote. This can be useful for turning a cart into a quote request:

```

    @lang('Request quote')

```

Automatic PDF
-------------

[](#automatic-pdf)

By default, this package will automatically generate a quote for you based on the products. However, you may not want this to happen for various reasons. To this end, you can disable this functionality by setting the `auto_send_quote` config setting to `false`.

This can be done store-specific as well, see the [multistore configuration](https://docs.rapidez.io/4.x/configuration.html#multistore) section in the Rapidez docs.

### Hooking into the quote data

[](#hooking-into-the-quote-data)

You can use the `quote.data` Eventy filter to hook into the data that's being sent to the automatic quote:

```
Eventy::addFilter('quote.data', function ($quoteData) {
    return [
        ...$quoteData,
        'products' => $quoteData['products']->map([...])
    ];
});
```

You can also return `null` to not send the quote under certain conditions, for example:

```
Eventy::addFilter('quote.data', function ($quoteData) {
    if ($quoteData['products']->contains(fn($item) => $item['product']->no_quote)) {
        // Don't send
        return null;
    }

    return $quoteData;
});
```

### Hooking into the mail itself

[](#hooking-into-the-mail-itself)

You can use the `quote.mail` Eventy filter to hook into the mailable object that gets used for automatic quotes. For example, if you want to add a `bcc` to the sent email:

```
Eventy::addFilter('quote.mail', function ($mail) {
    return $mail->bcc('bcc@example.com');
});
```

Styling
-------

[](#styling)

### Modifying the PDF

[](#modifying-the-pdf)

You can overwrite the `rapidez-quote.exports.quote` view to do most of the basic modifications you might need. However, if you want to completely upend the styling of the pdf (or change the logo to not be an SVG), you can do that by overwriting `rapidez-quote.exports.base`.

Note that the "primary" color and the path to the logo svg are defined by the quote configuration file.

### Modifying the Email

[](#modifying-the-email)

Similarly, the email that gets sent to the customer requesting the quote can be modified by overwriting the `rapidez-quote.mail.quote` view. This is defined as markdown content by default, but that can be changed by modifying the `email_markdown` config setting.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance88

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.9% 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 ~29 days

Recently: every ~40 days

Total

9

Last Release

59d ago

Major Versions

1.3.1 → 2.0.02025-12-09

2.x-dev → 5.0.02026-05-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/72222911?v=4)[Rapidez](/maintainers/rapidez)[@rapidez](https://github.com/rapidez)

---

Top Contributors

[![Jade-GG](https://avatars.githubusercontent.com/u/32514269?v=4)](https://github.com/Jade-GG "Jade-GG (23 commits)")[![royduin](https://avatars.githubusercontent.com/u/1703233?v=4)](https://github.com/royduin "royduin (8 commits)")[![VincentBean](https://avatars.githubusercontent.com/u/3906942?v=4)](https://github.com/VincentBean "VincentBean (1 commits)")

---

Tags

statamicquoterapidez

### Embed Badge

![Health badge](/badges/rapidez-statamic-quote/health.svg)

```
[![Health](https://phpackages.com/badges/rapidez-statamic-quote/health.svg)](https://phpackages.com/packages/rapidez-statamic-quote)
```

###  Alternatives

[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[fleetbase/fleetops-api

Fleet &amp; Transport Management Extension for Fleetbase

1731.5k7](/packages/fleetbase-fleetops-api)

PHPackages © 2026

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