PHPackages                             padosoft/support - 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. padosoft/support

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

padosoft/support
================

agnostic helpers to use as foundation in packages and other project

3.3.0(1mo ago)5118.4k↓76%75MITPHPPHP ^7.0|^8.0CI passing

Since Aug 21Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/padosoft/support)[ Packagist](https://packagist.org/packages/padosoft/support)[ Docs](https://github.com/padosoft/support)[ RSS](/packages/padosoft-support/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (4)Versions (60)Used By (5)

Collection of agnostic PHP Functions and helpers
================================================

[](#collection-of-agnostic-php-functions-and-helpers)

[![Latest Version on Packagist](https://camo.githubusercontent.com/36d6f9f18383759f564b47774f2605d29139ad76131ff8acb6f0452d730a49a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061646f736f66742f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/support)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Tests](https://github.com/padosoft/support/actions/workflows/tests.yml/badge.svg)](https://github.com/padosoft/support/actions/workflows/tests.yml)[![Total Downloads](https://camo.githubusercontent.com/168772994e94d44e618352f885f273bb86800c80f82ff90ff3e63b9f231bf1e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7061646f736f66742f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/support)

This package provides a lot of very usefull agnostic helpers to use as foundation in packages and other project.

**NOTE:**Some of these helpers was written by padosoft, another was founded on the opensource web and some of these is refactored and/or adjusted for our purpose or for improvements.

\##Overview

All helpers function are splitted into these files:

- Array
- Constants (generic usefull constants)
- DateTime
- Helpers (misc functions)
- IP
- Reflection
- Sanitize
- String
- Validation
- Xml

\##Requires

- php: ^7.0|^8.0 (tested up to PHP 8.5)
- nesbot/carbon (only for some datetime functions)

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

[](#installation)

You can install the package via composer:

```
$ composer require padosoft/support
```

Usage
-----

[](#usage)

Create new php file, add composer autoload and start using functions.

```
