PHPackages                             keboola/codebuilder - 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. keboola/codebuilder

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

keboola/codebuilder
===================

Execute JSON defined user scripts

1.0.2(1y ago)15.4k↓66.7%[2 issues](https://github.com/keboola/php-codebuilder/issues)3MITPHPPHP &gt;=7.4CI failing

Since Dec 9Pushed 1y ago17 watchersCompare

[ Source](https://github.com/keboola/php-codebuilder)[ Packagist](https://packagist.org/packages/keboola/codebuilder)[ RSS](/packages/keboola-codebuilder/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (25)Used By (3)

Keboola CodeBuilder
===================

[](#keboola-codebuilder)

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

[](#description)

Execute user scripts defined in a JSON

Allowed functions
-----------------

[](#allowed-functions)

- `md5`: Generate a md5 key from its argument value
- `sha1`: Generate a sha1 key from its argument value
- `time`: Return time from the beginning of the unix epoch in seconds (1.1.1970)
- `date`: Return date in a specified format
- `strtotime`: Convert a date string to number of seconds from the beginning of the unix epoch
- `base64_encode`
- `hash_hmac`: [See PHP documentation](http://php.net/manual/en/function.hash-hmac.php)
- `sprintf`: [See PHP documentation](http://php.net/manual/en/function.sprintf.php)
- `concat`: Concatenate its arguments into a single string
- `ifempty`: Return first argument if is not empty, otherwise return second argument
- `implode`: Concatenate an array from the second argument, using glue string from the first arg
- `hash`: [See PHP documentation](https://www.php.net/manual/en/function.hash.php)

Syntax
------

[](#syntax)

The function must be specified in a JSON format, which may contain one of the following 4 objects:

- **String**: `{ "something" }`
- **Function**: One of the allowed functions above
    - Example (this will return current date in this format: `2014-12-08+09:38`:

        ```
        {
            "function": "date",
            "args": [
                "Y-m-d+H:i"
            ]
        }

        ```
    - Example with a nested function (will return a date in the same format from 3 days ago):

        ```
        {
            "function": "date",
            "args": [
                "Y-m-d+H:i",
                {
                    "function": "strtotime",
                    "args": ["3 days ago"]
                }
            ]
        }

        ```
- **A key from the parameters array**:
    - `{ "attr": "attributeName" }` for $params\['attr'\]\['attributeName'\]
    - or `{ "param": "nested.attribute.name" }` for $params\['param'\]\['nested'\]\['attribute'\]\['name'\]
    - The *first* level is always used as the key to determine the "type"

License
-------

[](#license)

MIT licensed, see [LICENSE](./LICENSE) file.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~610 days

Total

18

Last Release

590d ago

Major Versions

0.6.0 → 1.0.02021-01-15

PHP version history (4 changes)0.1.2PHP &gt;=5.4.0

0.2.0PHP &gt;=5.6.0

0.5.0PHP &gt;=7.0

1.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/101dbf2551a0709ddab522f97669f13a2c4cc2d0a1e8d009f3af6ba80accb1a9?d=identicon)[Keboola](/maintainers/Keboola)

---

Top Contributors

[![odinuv](https://avatars.githubusercontent.com/u/4319320?v=4)](https://github.com/odinuv "odinuv (18 commits)")[![AdamVyborny](https://avatars.githubusercontent.com/u/27994036?v=4)](https://github.com/AdamVyborny "AdamVyborny (9 commits)")[![themark147](https://avatars.githubusercontent.com/u/17779619?v=4)](https://github.com/themark147 "themark147 (3 commits)")[![MiroCillik](https://avatars.githubusercontent.com/u/1488015?v=4)](https://github.com/MiroCillik "MiroCillik (2 commits)")[![michaljurecko](https://avatars.githubusercontent.com/u/19371734?v=4)](https://github.com/michaljurecko "michaljurecko (2 commits)")[![ujovlado](https://avatars.githubusercontent.com/u/419849?v=4)](https://github.com/ujovlado "ujovlado (1 commits)")[![ErikZigo](https://avatars.githubusercontent.com/u/1726727?v=4)](https://github.com/ErikZigo "ErikZigo (1 commits)")[![kachnitel](https://avatars.githubusercontent.com/u/4067705?v=4)](https://github.com/kachnitel "kachnitel (1 commits)")[![Actimel](https://avatars.githubusercontent.com/u/4041679?v=4)](https://github.com/Actimel "Actimel (1 commits)")

---

Tags

jsonphpuserscriptuser-script

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/keboola-codebuilder/health.svg)

```
[![Health](https://phpackages.com/badges/keboola-codebuilder/health.svg)](https://phpackages.com/packages/keboola-codebuilder)
```

###  Alternatives

[haruncpi/laravel-user-activity

Monitor user activity easily!

425183.9k2](/packages/haruncpi-laravel-user-activity)[michaldudek/subdomain-blacklist

Common words that your users shouldn't use when setting up accounts.

2816.5k](/packages/michaldudek-subdomain-blacklist)[bnomei/kirby3-recently-modified

Kirby Section to display recently modified content pages

3210.6k](/packages/bnomei-kirby3-recently-modified)[silverstripe/multiuser-editing-alert

A module that indicates when people are editing the same page in the CMS

1531.4k1](/packages/silverstripe-multiuser-editing-alert)

PHPackages © 2026

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