PHPackages                             wakers/cms-conversion-module - 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. wakers/cms-conversion-module

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

wakers/cms-conversion-module
============================

Conversion module with simple abstract contactForm component

v1.0.2(5y ago)038MITPHP

Since Feb 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/wakerscz/cms-conversion-module)[ Packagist](https://packagist.org/packages/wakers/cms-conversion-module)[ Docs](http://www.wakers.cz/cms)[ RSS](/packages/wakers-cms-conversion-module/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Conversion module
=================

[](#conversion-module)

Modul umožňuje ukládat konverze do DB a zároveň obsahuje výchozí komponentu pro poptávkový formulář.

API
---

[](#api)

```
// Pole hodnot array ['xyz' => 'abc']
$values = $form->getValues(TRUE);

// Uložení konverze do databáze
$conversion = $this->conversionManager->create('conversionName', new \Nette\Utils\DateTime, $values); // return Conversion;

// Přidej do values data z DB
$values = $values + [
    'name' => $conversion->getName(),
    'id' => $conversion->getId(),
    'createdAt' => $conversion->getCreatedAt('d.m.Y H:i:s')
];

// Odeslání notifikace na e-mail
$this->conversionManager->sendMail($values, 'Poptávkový formulář z Vašeho webu', "Dobrý den,\n\rz Vašeho webu byl právě odeslán kontaktní formulář.");
```

Minimální konfigurace
---------------------

[](#minimální-konfigurace)

### Instalace

[](#instalace)

Přes composer `./sc composer require wakers/cms-conversion-module`

### Připojíme soubory

[](#připojíme-soubory)

1. V souboru app.neon: `./../../vendor/wakers/cms-conversion-module/src/config/config.neon`
2. V souboru schema.xml: ``
3. V souboru custom-frontend.js: `./vendor/wakers/cms-conversion-module/src/assets/Frontend/conversion/conversion.js`

### Aktualizujeme databázi

[](#aktualizujeme-databázi)

1. `./sc propel model:build`
2. `./sc propel migration:diff`
3. `./sc propel migration:migrate`

### Připravíme komponentu

[](#připravíme-komponentu)

1. Zaregistrujeme v presenteru: `use \Wakers\ConversionModule\Component\Frontend\ContactForm\Create;`
2. Vytoříme vlastní šablonu `./app/templates/form/contactForm.latte`

```

    Telefon / E-mail

        CTA Text

```

1. Vyrenderujeme vlastní šablonu

```
{php $presenter->getComponent('appContactForm')->render('./form/contactForm.latte')}
```

1. Nadefinujeme, co se má vykonat po odeslání formuláře:

```
$.conversionAdd('conversionName', function (conversion) {
    // Send to Ads
    gtag('event', 'conversion', {
        'send_to': 'AW-000000000/xxxxxxxxxxxxxxxxxxxx',
        'value': conversion.value,
        'currency': conversion.currency
    });

    // Send goal to Analytics
    gtag('event', 'conversion', {
        'event_category' : 'form',
        'event_label' : 'contact',
        'value': conversion.value,
    });

    // Send to sklik
    $('body').append('');

    // Send lead to Facebook
    fbq('track', 'Lead', {
        value: conversion.value,
        currency: conversion.currency,
    });

    // Hide form & show success alert
    $('#' + conversion.componentName).toggle('hide').parent().find('.alert.alert-success').toggle('show');
});
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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 ~111 days

Total

3

Last Release

2103d ago

### Community

Maintainers

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

---

Top Contributors

[![jzaplet](https://avatars.githubusercontent.com/u/4992367?v=4)](https://github.com/jzaplet "jzaplet (9 commits)")

### Embed Badge

![Health badge](/badges/wakers-cms-conversion-module/health.svg)

```
[![Health](https://phpackages.com/badges/wakers-cms-conversion-module/health.svg)](https://phpackages.com/packages/wakers-cms-conversion-module)
```

PHPackages © 2026

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