PHPackages                             mtcextendee/mautic-sql-conditions-bundle - 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. mtcextendee/mautic-sql-conditions-bundle

ActiveMautic-plugin[Utility &amp; Helpers](/categories/utility)

mtcextendee/mautic-sql-conditions-bundle
========================================

1.1.1(5y ago)122418[4 issues](https://github.com/mtcextendee/mautic-sql-conditions-bundle/issues)[1 PRs](https://github.com/mtcextendee/mautic-sql-conditions-bundle/pulls)PHP

Since Jul 15Pushed 4y ago3 watchersCompare

[ Source](https://github.com/mtcextendee/mautic-sql-conditions-bundle)[ Packagist](https://packagist.org/packages/mtcextendee/mautic-sql-conditions-bundle)[ RSS](/packages/mtcextendee-mautic-sql-conditions-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

MauticSqlConditionsBundle
=========================

[](#mauticsqlconditionsbundle)

SQL conditions for Mautic

Support
-------

[](#support)

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

[](#installation)

### Command line

[](#command-line)

- `composer require mtcextendee/mautic-sql-conditions-bundle`
- `php app/console mautic:plugins:reload`
- Go to /s/plugins and setup SQL Conditions

### Manual

[](#manual)

- Download last version
- Unzip files to plugins/MauticSqlConditionsBundle
- Clear cache (app/cache/prod/)
- Go to /s/plugins/reload
- Setup SQL Conditions integration

Usage
-----

[](#usage)

1, See new item on left menu:

[![image](https://user-images.githubusercontent.com/462477/61192212-1567ed00-a6b3-11e9-971e-eb3ab3df6beb.png)](https://user-images.githubusercontent.com/462477/61192212-1567ed00-a6b3-11e9-971e-eb3ab3df6beb.png)

2, Setup SQL conditions

3, Parameters for SQL

- :contactId
- :campaignId
- :eventId
- :rotation

4, Condition return true If there is results

Examples
--------

[](#examples)

Condition for contacts with ID greather like 2000

`SELECT l.id FROM leads l WHERE l.id = :contactId and l.id > 2000`

Credits
-------

[](#credits)

Icons made by [Eleonor Wang](https://www.flaticon.com/authors/eleonor-wang "Eleonor Wang") from [www.flaticon.com](https://www.flaticon.com/ "Flaticon")

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~172 days

Total

4

Last Release

1979d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9996b5ab1567cc086e4e95a1ec81b978c3dc9e780341033319e19822d0991c33?d=identicon)[mtcextendee](/maintainers/mtcextendee)

---

Top Contributors

[![kuzmany](https://avatars.githubusercontent.com/u/462477?v=4)](https://github.com/kuzmany "kuzmany (11 commits)")

---

Tags

extendeemauticmautic-apimautic-plugin

### Embed Badge

![Health badge](/badges/mtcextendee-mautic-sql-conditions-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mtcextendee-mautic-sql-conditions-bundle/health.svg)](https://phpackages.com/packages/mtcextendee-mautic-sql-conditions-bundle)
```

###  Alternatives

[thedmsgroup/mautic-contact-client-bundle

Create custom integrations without writing code.

1004.0k](/packages/thedmsgroup-mautic-contact-client-bundle)[koco/mautic-recaptcha-bundle

This plugin brings reCAPTCHA integration to mautic.

5214.3k](/packages/koco-mautic-recaptcha-bundle)[thedmsgroup/mautic-enhancer-bundle

Various contact enhancer integrations for Mautic.

342.8k](/packages/thedmsgroup-mautic-enhancer-bundle)[thedmsgroup/mautic-extended-field-bundle

Extends custom fields for scalability and HIPAA/PCI compliance.

293.1k](/packages/thedmsgroup-mautic-extended-field-bundle)[thedmsgroup/mautic-health-bundle

Checks the health of the Mautic instance.

1210.8k](/packages/thedmsgroup-mautic-health-bundle)[thedmsgroup/mautic-media-bundle

Pulls cost data from media advertising services.

251.0k](/packages/thedmsgroup-mautic-media-bundle)

PHPackages © 2026

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