PHPackages                             w3l/holt45 - 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. w3l/holt45

ActiveLibrary

w3l/holt45
==========

A library with a mix of functions...

0.8(5y ago)156[2 PRs](https://github.com/w3l/holt45/pulls)UnlicensePHPPHP &gt;=5.6.0CI failing

Since Jan 21Pushed 4y ago2 watchersCompare

[ Source](https://github.com/w3l/holt45)[ Packagist](https://packagist.org/packages/w3l/holt45)[ Docs](http://holt45.pw/)[ RSS](/packages/w3l-holt45/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (1)Versions (34)Used By (0)

holt45 - A library with a mix of functions...
=============================================

[](#holt45---a-library-with-a-mix-of-functions)

[![License](https://camo.githubusercontent.com/b43d2a167653e9109a54ea245fd5a6270cfb896f519471e070392fee0614f903/68747470733a2f2f706f7365722e707567782e6f72672f77336c2f686f6c7434352f6c6963656e7365)](https://packagist.org/packages/w3l/holt45)[![Build Status](https://camo.githubusercontent.com/00c60fed8468ca766af826c8d4a22f4e149eaef057421d7259171c6651499ef8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f77336c2f686f6c7434352e737667)](https://travis-ci.org/w3l/holt45)[![Latest Version](https://camo.githubusercontent.com/df56cd685570761d4065fecd5e42b71a17277d89eb946f43e8d3a2e73f21c2ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77336c2f686f6c7434352e737667)](https://packagist.org/packages/w3l/holt45)[![Dependency Status](https://camo.githubusercontent.com/898dff9eef00d0b2c7f309d4e4cc0d514d3ab631a545f8f2df9f8c36df0d5577/68747470733a2f2f696d672e736869656c64732e696f2f76657273696f6e6579652f642f77336c2f686f6c7434352e737667)](https://www.versioneye.com/user/projects/569e23172025a6002e00014e)[![Badges](https://camo.githubusercontent.com/953db6b18eb43d4f8ed167355a764acc4619303939b927c1cc8a7f44e7f46671/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6261646765732d736869656c64732e696f2d6666363962342e737667)](http://shields.io/)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9efeabc0350e4f88b06cfde6deb85b7c86d37d75029841b9f0d02c00460b38dc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f77336c2f686f6c7434352e737667)](https://scrutinizer-ci.com/g/w3l/holt45/?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/8d557f9be1cddbc12ebadfbdd02263af1204ce14ab71a8feabcb6ec771913fce/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f34336234326365362d383030632d343263382d383536322d3036656438343164383237322e7376673f6c6162656c3d53656e73696f4c616273)](https://insight.sensiolabs.com/projects/43b42ce6-800c-42c8-8562-06ed841d8272)[![Code Climate](https://camo.githubusercontent.com/b8e343b5d0271f7e07fc885cc99bb8f22c13fbe3b9df31cca8f79d5aa24cfd7d/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f77336c2f686f6c7434352e737667)](https://codeclimate.com/github/w3l/holt45)[![Codacy Badge](https://camo.githubusercontent.com/a118530b638ae9f5162068c80779d04c2fa8c84996cf65a5e8957a8149e783cf/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f61333935356166666335646334653537623438616532613661386562356232662e7376673f6c6162656c3d636f64616379)](https://www.codacy.com/app/support_7/holt45)[![BCH compliance](https://camo.githubusercontent.com/27bd16608fb3ff757892c4cbaee41882aefa620cd258f8c781f2100f5c82f4ee/68747470733a2f2f626574746572636f64656875622e636f6d2f656467652f62616467652f77336c2f686f6c7434353f6272616e63683d6d6173746572)](https://bettercodehub.com/)[![CodeFactor](https://camo.githubusercontent.com/3a8d88f005d910aa24bbbb7dacec8cd1a1cbd1e81eb68348b9592d1193687221/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f77336c2f686f6c7434352f6261646765)](https://www.codefactor.io/repository/github/w3l/holt45)

Class Features
--------------

[](#class-features)

- @todo: Write something awesome here.

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

[](#installation)

### Composer

[](#composer)

```
composer require w3l/holt45
```

Holt45 at [packagist](https://packagist.org/packages/w3l/holt45)

### Manually

[](#manually)

```
include_once("folder/holt45.php");
```

### Usage

[](#usage)

```
holt45::getClientIpAddress()
```

Documentation
-------------

[](#documentation)

Generated API documentation is found [here](http://holt45.pw/docs)

- $\_GET
    - chkGet()
    - assignFromGet()
    - chkGetAll()
- $\_POST
    - chkPost()
    - assignFromPost()
    - chkPostAll()
- Sessions
    - sessionSet()
    - sessionIsset()
    - sessionRead()
    - sessionDelete()
- Time
    - timestampToHttpDate()
    - timeElapsed()
- Browser
    - getClientIpAddress()
    - getClientOperatingSystem()
    - getBrowserNameFromUA()
    - getClientBrowser()
    - isClientBrowserGoogleChrome()
    - getBrowserAccessKeyModifiers()
- Convert
    - rgbhex()
    - hexrgb()
    - colorBlend()
- Strings
    - encrypt()
    - decrypt()
    - textareaEncode()
    - textareaDecode()
    - obfuscateString()
    - deobfuscateString()
    - replaceString()
    - rainbowText()
    - kbdSymbol()
    - kbdShortcut()
    - cssOneLineText()
- Math
    - generatePaginationRange()
- Misc
    - getClientIpAddress()
    - urlParser()
    - generatePassword()
    - iso3166ToName()
    - ppre()
- constants
    - DATA\_URI\_TRANSPARENT\_GIF
    - DATA\_URI\_TRANSPARENT\_PNG
- constants(global)
    - DATE\_DATETIME
    - HEADER\_418

### Example code:

[](#example-code)

```
