PHPackages                             ryuuzakixp/php-wehelp-url-generator - 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. ryuuzakixp/php-wehelp-url-generator

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

ryuuzakixp/php-wehelp-url-generator
===================================

Function to help generate valid url for surveys on Wehelp

1.0.3(6mo ago)213PHPPHP &gt;=7.4

Since Dec 3Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/ryuuzakixp/php-wehelp-url-generator)[ Packagist](https://packagist.org/packages/ryuuzakixp/php-wehelp-url-generator)[ RSS](/packages/ryuuzakixp-php-wehelp-url-generator/feed)WikiDiscussions main Synced 1mo ago

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

Description
-----------

[](#description)

Function to help generate valid url for surveys on Wehelp

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

[](#installation)

```
composer require ryuuzakixp/php-wehelp-url-generator
```

Usage
-----

[](#usage)

Example minimum data required

```
    use WeHelpUrlGenerator\SurveyLink;

    $encryptKey = 'xxxx';

    $url = SurveyLink::generate([
        'code' => 'xxx',
        'experience_id' => 'xxxx',
        'experience_date' => 'xxx',//Y-m-d H:i:s
        'company_unit_code' => 'xxxx',
        'person' => [
            'name' => 'xxxx',
            'internal_code' => 'xxxxx',
            'type' => 'xxxxx',//CUSTOMER,COLLABORATOR
            'company_unit_code' => 'xxx'
        ]
    ], $encryptKey);
```

Example full data

```
    use WeHelpUrlGenerator\SurveyLink;

    $encryptKey = 'xxxx';

    $url = SurveyLink::generate([
        'code' => 'xxx',
        'experience_id' => 'xxxx',
        'experience_date' => 'xxx',//Y-m-d H:i:s
        'company_unit_code' => 'xxxx',
        'person' => [
            'name' => 'xxxx',
            'internal_code' => 'xxxxx',
            'type' => 'xxxxx',//CUSTOMER,COLLABORATOR
            'company_unit_code' => 'xxx',
            'created_at' => '2022-10-10',
            'date_of_birth' => '1988-07-06',
            'language' => 'PORTUGUESE', //PORTUGUESE,SPANISH,ENGLISH
            'email' => 'xxxxxx',
            'phone' => 'xxxxx',
        ],
        'cf' => [
            11 => 'xxxxx', //ID Custom field => value
            12 => 'xxxxx' //ID Custom field => value
        ]
    ], $encryptKey);
```

Exceptions
----------

[](#exceptions)

To prevent errors when generating a valid url, we validate the mandatory fields, if the field does not exist an WeHelpUrlGenerator\\RequiredFieldException will be thrown.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance66

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

4

Last Release

206d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ea493cf87b2cd86e9e755639dc9233089642fb1d195be435518a5154f28313f?d=identicon)[ryuuzakixp](/maintainers/ryuuzakixp)

---

Top Contributors

[![ryuuzakixp](https://avatars.githubusercontent.com/u/14875295?v=4)](https://github.com/ryuuzakixp "ryuuzakixp (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ryuuzakixp-php-wehelp-url-generator/health.svg)

```
[![Health](https://phpackages.com/badges/ryuuzakixp-php-wehelp-url-generator/health.svg)](https://phpackages.com/packages/ryuuzakixp-php-wehelp-url-generator)
```

###  Alternatives

[mcguffin/acf-customizer

Use ACF Fields in customizer.

7611.3k](/packages/mcguffin-acf-customizer)

PHPackages © 2026

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