vairogs/functions

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

dev-master / 0.1.x-dev 2025-04-15 08:06 UTC

This package is auto-updated.

Last update: 2025-04-15 08:56:18 UTC


README

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

Install the package via Composer:

composer require vairogs/functions

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

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

This meta-package includes the following function libraries:

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

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

This package is licensed under the BSD-3-Clause License.

About Vairogs

This package is part of the 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