PHPackages                             flamix/plugin-helpers - 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. flamix/plugin-helpers

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

flamix/plugin-helpers
=====================

Flamix package to help create CMS plugins

0140PHP

Since May 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rshkabko/plugin-helpers)[ Packagist](https://packagist.org/packages/flamix/plugin-helpers)[ RSS](/packages/flamix-plugin-helpers/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Screenshot](img/plugin_helpers.jpg)](img/plugin_helpers.jpg)

About
=====

[](#about)

Microframework for writing CMS plugins, contains development logic and several helpers.

Install &amp; Usage
===================

[](#install--usage)

```
composer require flamix/plugin-helpers
```

```
// Init
$plugin = \Flamix\Plugin\Init::init(__DIR__, 'FLAMIX_EXCHANGE_PLUGIN')->setLogsPath(WP_CONTENT_DIR . '/upload/flamix/');
// Show witch constant was defined
dd($plugin->defined());
```

Queue
-----

[](#queue)

Example how to use Jobs.

```
use Flamix\Plugin\Queue\SQL;
use Flamix\Plugin\Queue\JobCommands;
use Flamix\Plugin\Queue\Interfaces\ShouldQueue;

class Order extends JobCommands implements ShouldQueue
{
    protected string $success = 'SENT';
    protected string $logChannel = 'woo_orders';

    /**
     * Return SQL bridge.
     * Raw SQL commands for work with JOBs.
     *
     * @return SQL
     */
    public function sqlClosure(): SQL
    {
        global $wpdb;
        return new SQL($wpdb->prefix . 'flamix_order_jobs', function ($query, ...$var) use ($wpdb) {
            return $wpdb->prepare($query, ...$var);
        });
    }

    /**
     * Make WP Query to DB and return result.
     *
     * @param string $query
     * @return array|object|\stdClass[]|null
     */
    public function query(string $query)
    {
        global $wpdb;
        return $wpdb->get_results($query);
    }
}
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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/888ea3bfd61ac334551eb6b1dd2151c64022986f82c690cc87aa2db82d84a888?d=identicon)[flamix](/maintainers/flamix)

---

Top Contributors

[![rshkabko](https://avatars.githubusercontent.com/u/33148760?v=4)](https://github.com/rshkabko "rshkabko (23 commits)")

### Embed Badge

![Health badge](/badges/flamix-plugin-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/flamix-plugin-helpers/health.svg)](https://phpackages.com/packages/flamix-plugin-helpers)
```

###  Alternatives

[georgringer/news

News system - Versatile news system based on Extbase &amp; Fluid and using the latest technologies provided by TYPO3 CMS.

2815.1M90](/packages/georgringer-news)[kigkonsult/icalcreator

iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information

2462.6M16](/packages/kigkonsult-icalcreator)[kartik-v/yii2-date-range

An advanced Yii 2 date range picker input for based on bootstrap-daterangepicker plugin.

894.4M42](/packages/kartik-v-yii2-date-range)[openmetrics-php/exposition-text

Implementation of the text exposition format of OpenMetrics

36508.9k6](/packages/openmetrics-php-exposition-text)[setono/sylius-analytics-plugin

Google Analytics plugin for Sylius

23329.6k](/packages/setono-sylius-analytics-plugin)[alexandr-mironov/php-smpp

PHP SMPP client lib, fork of onlinecity/php-smpp

4864.3k](/packages/alexandr-mironov-php-smpp)

PHPackages © 2026

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