PHPackages                             jonbaldie/functions - 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. jonbaldie/functions

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

jonbaldie/functions
===================

A skeleton PHP project based on the principles of functional programming and pure functions.

v1.4.2(4y ago)031PHP

Since Dec 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jonbaldie/functions)[ Packagist](https://packagist.org/packages/jonbaldie/functions)[ RSS](/packages/jonbaldie-functions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (26)Used By (0)

### PHP Functional Programming Skeleton Project

[](#php-functional-programming-skeleton-project)

[![CircleCI](https://camo.githubusercontent.com/84d6d5d1cccee68ee1aacf1b46cd0acbee8fd338bf6ebc4d8bf700d9cf35092a/68747470733a2f2f636972636c6563692e636f6d2f67682f6a6f6e62616c6469652f66756e6374696f6e732f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/jonbaldie/functions/tree/master)

**Functions** is a PHP skeleton project built upon a foundation of pure functions. It's a fun personal project of mine but it is unit tested and stable, if you'd like to give it a go.

Just run this to get started:

```
composer create-project jonbaldie/functions my-project && cd my-project

```

Then to generate your front-end assets:

```
yarn install && yarn encore dev

```

Start a local PHP server:

```
cd public && php -S localhost:3000 index.php

```

Open up  and you should see "It works!"

Wait, what's a "pure function"?

Pure functions map variables from an input and produce an output, with no observable side-effects. They're easily testable, can be moved anywhere, and used in any context with no unexpected effects. This concept comes from functional programming languages like Clojure, Scala, or Haskell.

Functional programming - an approach that holds pure functions at its core - is growing in popularity. Developers are challenging the utility of traditional methods that run the risk of producing code that's difficult to debug. What's simpler than a pure function that does nothing more than map an input to an output?

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Recently: every ~109 days

Total

21

Last Release

1529d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c0796dad7255c110c6c77b792631c5c117b0894638a37313d15e21553de5343?d=identicon)[jonbaldie](/maintainers/jonbaldie)

---

Top Contributors

[![jonbaldie](https://avatars.githubusercontent.com/u/8376953?v=4)](https://github.com/jonbaldie "jonbaldie (76 commits)")

---

Tags

fpfunctional-programming

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jonbaldie-functions/health.svg)

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

###  Alternatives

[tlr/menu

Take some of the stress and boilerplate out of building menus (or indeed any list, because that's basically what a menu is) With support for laravel

189.6k](/packages/tlr-menu)[thanhnamcnv/laravel-make-repository-service

A simple package to create a make:repository, make:service command for Laravel 8+

273.3k](/packages/thanhnamcnv-laravel-make-repository-service)[darkflib/php-qrcode

QRCode library for PHP

1016.2k](/packages/darkflib-php-qrcode)

PHPackages © 2026

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