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.2.1(1y ago)5117.0k↓44.2%7[1 PRs](https://github.com/padosoft/support/pulls)5MITPHPPHP &gt;=7.0.0|^8.0|^8.1CI failing

Since Aug 21Pushed 2mo 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 1mo ago

READMEChangelog (10)Dependencies (2)Versions (57)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)[![Build Status](https://camo.githubusercontent.com/6713e301284b532e544bc82cab7013f338e25b209b2be6a17ce9dc7a2fa04219/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7061646f736f66742f737570706f72742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/padosoft/support)[![Quality Score](https://camo.githubusercontent.com/72ff463d57cc16e0f1c7b654b3367173b6994536208c7cab6116db0cb65e48ef/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7061646f736f66742f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/padosoft/support)[![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: &gt;=7.0.0|^8.0|^8.1
- 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.

```
