Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/padosoft/support

Collection of agnostic PHP Functions and helpers with zero dependencies to use as foundation in packages and other project
https://github.com/padosoft/support

helpers php-library php7 support-library

Last synced: about 3 hours ago
JSON representation

Collection of agnostic PHP Functions and helpers with zero dependencies to use as foundation in packages and other project

Awesome Lists containing this project

README

        

# Collection of agnostic PHP Functions and helpers

[![Latest Version on Packagist](https://img.shields.io/packagist/v/padosoft/support.svg?style=flat-square)](https://packagist.org/packages/padosoft/support)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/padosoft/support/master.svg?style=flat-square)](https://travis-ci.org/padosoft/support)
[![Quality Score](https://img.shields.io/scrutinizer/g/padosoft/support.svg?style=flat-square)](https://scrutinizer-ci.com/g/padosoft/support)
[![Total Downloads](https://img.shields.io/packagist/dt/padosoft/support.svg?style=flat-square)](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.0|^8.0|^8.1
- nesbot/carbon (only for some datetime functions)

## Installation

You can install the package via composer:
```bash
$ composer require padosoft/support
```

## Usage

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

```php