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

Abandoned → [valksor/php-functions](/?search=valksor%2Fphp-functions)Library[Utility &amp; Helpers](/categories/utility)

vairogs/functions
=================

A comprehensive collection of PHP utility functions and helpers for various tasks including date manipulation, web operations, text processing, and more

07PHP

Since May 24Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Vairogs Functions
=================

[](#vairogs-functions)

A comprehensive collection of PHP utility functions and helpers for various tasks including date manipulation, web operations, text processing, and more. This is a meta-package that includes all the Vairogs function sub-libraries.

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

[](#installation)

Install the package via Composer:

```
composer require vairogs/functions
```

This will install all the function sub-libraries at once.

Requirements
------------

[](#requirements)

- PHP 8.4 or higher
- Various PHP extensions (curl, json, random)
- Symfony components (http-foundation, intl, process, property-access, routing, string)

Included Sub-libraries
----------------------

[](#included-sub-libraries)

This meta-package includes the following function libraries:

- [vairogs/functions-date](Date) - Date and time manipulation utilities
- [vairogs/functions-handler](Handler) - Error and exception handling utilities
- [vairogs/functions-iteration](Iteration) - Array and collection iteration utilities
- [vairogs/functions-latvian](Latvian) - Latvian language specific utilities
- [vairogs/functions-local](Local) - Localization and internationalization utilities
- [vairogs/functions-memoize](Memoize) - Function result caching utilities
- [vairogs/functions-number](Number) - Number manipulation and formatting utilities
- [vairogs/functions-pagination](Pagination) - Pagination utilities for arrays and collections
- [vairogs/functions-php](Php) - PHP language enhancement utilities
- [vairogs/functions-preg](Preg) - Regular expression utilities
- [vairogs/functions-queue](Queue) - FIFO queue implementation for managing collections of items
- [vairogs/functions-sort](Sort) - Sorting algorithms and utilities
- [vairogs/functions-text](Text) - Text processing and manipulation utilities
- [vairogs/functions-web](Web) - Web-related utilities for HTTP requests, URLs, etc.

Each sub-library can also be installed individually if you only need specific functionality.

Usage
-----

[](#usage)

Each sub-library has its own usage instructions. Please refer to the README.md file in each sub-library's directory for specific usage examples.

Generally, there are two ways to use these libraries:

1. Via the Functions class provided by each sub-library
2. By directly using the traits in your own classes

License
-------

[](#license)

This package is licensed under the [BSD-3-Clause License](LICENSE).

About Vairogs
-------------

[](#about-vairogs)

This package is part of the [vairogs/vairogs](https://github.com/vairogs/vairogs) project - a comprehensive PHP library and Symfony bundle that provides a collection of utilities, components, and integrations for Symfony applications.

The main project includes:

- Various utility functions and components
- Doctrine ORM tools and extensions
- API Platform integrations
- Symfony bundle for easy configuration
- And much more

If you find these function components useful, you might want to check out the full Vairogs project for additional tools and utilities that can enhance your Symfony application development.

To install the complete package:

```
composer require vairogs/vairogs
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

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://avatars.githubusercontent.com/u/38725938?v=4)[Dāvis Zālītis](/maintainers/k0d3r1s)[@k0d3r1s](https://github.com/k0d3r1s)

---

Top Contributors

[![k0d3r1s](https://avatars.githubusercontent.com/u/38725938?v=4)](https://github.com/k0d3r1s "k0d3r1s (17 commits)")

### Embed Badge

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

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

###  Alternatives

[magenerds/germanlaw

This module provides general settings for german stores

2181.7k](/packages/magenerds-germanlaw)

PHPackages © 2026

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