PHPackages                             phpzm/phpee - 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. phpzm/phpee

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

phpzm/phpee
===========

Library with same handlers to make php easier

1.0.7(6y ago)41.5k2MITPHP

Since Jan 28Pushed 6y ago2 watchersCompare

[ Source](https://github.com/phpzm/phpee)[ Packagist](https://packagist.org/packages/phpzm/phpee)[ RSS](/packages/phpzm-phpee/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)DependenciesVersions (8)Used By (2)

PHP Enterprise Edition
======================

[](#php-enterprise-edition)

Este é um projeto que tem como objetivo nivelar a experiência de uso da API do PHP criando wrappers para os recursos da linguagem e entregando helpers que quase todo projeto necessita.

Um exmplo, ao invés de usar `file_put_contents()` podemos usar `Php\File::write()`

Pseudônimos para as Extensões:
------------------------------

[](#pseudônimos-para-as-extensões)

### Base64

[](#base64)

- #### **string encode(string $string)**

    [](#string-encodestring-string)

    alias: [https://php.net/base64\_encode](https://php.net/base64_encode)
    ex.: Php\\Base64::encode(*string*);
- #### **string decode(string $string, bool $strict = null)**

    [](#string-decodestring-string-bool-strict--null)

    alias: [https://php.net/base64\_decode](https://php.net/base64_decode)
    ex.: Php\\Base64::decode(*string*, *boolean*);

### Encode

[](#encode)

- #### **string ascii(string $string)**

    [](#string-asciistring-string)

    alias:
    ex.: Php\\Encode::ascii(*string*);
- #### **string soundex(string $string)**

    [](#string-soundexstring-string)

    alias:
    ex.: Php\\Encode::soundex(*string*);

### File

[](#file)

- #### **int write(string $filename, mixed $data, int $flags = 0, resource $context = null)**

    [](#int-writestring-filename-mixed-data-int-flags--0-resource-context--null)

    alias: [https://php.net/file\_put\_contents](https://php.net/file_put_contents)
    ex.: Php\\File::write(*string*, *mixed*, *int*, *resource*);
- #### **string read(string $filename, bool $use\_include\_path = false, resource $context = null, int $offset = 0, int $maxlen = null)**

    [](#string-readstring-filename-bool-use_include_path--false-resource-context--null-int-offset--0-int-maxlen--null)

    alias: [https://php.net/file\_get\_contents](https://php.net/file_get_contents)
    ex.: Php\\File::read(*string*, *boolean*, *resource*, *ìnt*, *ìnt*);
- #### **bool exists(string $filename)**

    [](#bool-existsstring-filename)

    alias: [https://php.net/file\_exists](https://php.net/file_exists)
    ex.: Php\\File::exists(*string*);

### Hash

[](#hash)

- #### **string md5(string $string, bool $raw = false)**

    [](#string-md5string-string-bool-raw--false)

    alias:
    ex.: Php\\Hash::md5(*string*, *bool*);
- #### **string sha1(string $string, bool $raw = false)**

    [](#string-sha1string-string-bool-raw--false)

    alias:
    ex.: Php\\Hash::sha1(*string*, *bool*);

### JSON

[](#json)

- #### **string encode(mixed $value, int $options = 0, int $depth = 512)**

    [](#string-encodemixed-value-int-options--0-int-depth--512)

    alias: [https://php.net/json\_encode](https://php.net/json_encode)
    ex.: Php\\JSON::encode(*string*, *int*, *int*);
- #### **string decode(string $json, bool $assoc = false, int $depth = 512, int $options = 0)**

    [](#string-decodestring-json-bool-assoc--false-int-depth--512-int-options--0)

    alias: [https://php.net/json\_decode](https://php.net/json_decode)
    ex.: Php\\JSON::decode(*string*, *bool*, *int*, *int*);

### Regex

[](#regex)

- #### **string split($pattern, string $subject, int $limit = -1, int $flags = 0)**

    [](#string-splitpattern-string-subject-int-limit---1-int-flags--0)

    alias: [https://php.net/preg\_split](https://php.net/preg_split)
    ex.: Php\\Regex::split(*string*, *string*, *int*, *int*);

### Text

[](#text)

- #### **int length(string $string)**

    [](#int-lengthstring-string)

    alias:
    ex.: Php\\Text::length(*string*);
- #### **string replace(string $string, string $search, string $replace)**

    [](#string-replacestring-string-string-search-string-replace)

    alias: [https://php.net/str\_replace](https://php.net/str_replace)
    ex.: Php\\Text::replace(*string*, *string*, *string*);
- #### **mixed first(string $string, string $search)**

    [](#mixed-firststring-string-string-search)

    alias:
    ex.: Php\\Text::first(*string*, *string*);
- #### **mixed last(string $string, string $search)**

    [](#mixed-laststring-string-string-search)

    alias:
    ex.: Php\\Text::last(*string*, *string*);
- #### **string upper(string $string)**

    [](#string-upperstring-string)

    alias:
    ex.: Php\\Text::upper(*string*);
- #### **string lower(string $string)**

    [](#string-lowerstring-string)

    alias:
    ex.: Php\\Text::lower(*string*);
- #### **string capitalize(string $string)**

    [](#string-capitalizestring-string)

    alias:
    ex.: Php\\Text::capitalize(*string*);
- #### **string unCapitalize(string $string)**

    [](#string-uncapitalizestring-string)

    alias:
    ex.: Php\\Text::unCapitalize(*string*);
- #### **array split(string $delimiter, string $string, int $limit = null)**

    [](#array-splitstring-delimiter-string-string-int-limit--null)

    alias:
    ex.: Php\\Text::split(*string*, *string*, *int*);
- #### **string join(string $glue, array $pieces)**

    [](#string-joinstring-glue-array-pieces)

    alias:
    ex.: Php\\Text::join(*string*, *array*);
- #### **string levenshtein(string $a, string $b)**

    [](#string-levenshteinstring-a-string-b)

    alias:
    ex.: Php\\Text::levenshtein(*string*, *string*);
- #### **string substring(string $string , int $start, int $length = null)**

    [](#string-substringstring-string--int-start-int-length--null)

    alias:
    ex.: Php\\Text::substring(*string*, *int*, *int*);
- #### **string trim(string $string , string $characters = null)**

    [](#string-trimstring-string--string-characters--null)

    alias:
    ex.: Php\\Text::trim(*string*, *string*);
- #### **string wrap(string $string , int $width = 75, string $break = "\\n", bool $cut = false)**

    [](#string-wrapstring-string--int-width--75-string-break--n-bool-cut--false)

    alias:
    ex.: Php\\Text::wrap(*string*, *int*, *string*, *bool*);
- #### **int compare(string $a, string $b)**

    [](#int-comparestring-a-string-b)

    alias:
    ex.: Php\\Text::compare(*string*, *string*);
- #### **array divide(string $string, int $length = 1)**

    [](#array-dividestring-string-int-length--1)

    alias: [https://php.net/str\_split](https://php.net/str_split)
    ex.: Php\\Text::divide(*string*, *int*);
- #### **string shuffle(string $string)**

    [](#string-shufflestring-string)

    alias: [https://php.net/str\_shuffle](https://php.net/str_shuffle)
    ex.: Php\\Text::shuffle(*string*);
- #### **string repeat(string $string, int $multiplier)**

    [](#string-repeatstring-string-int-multiplier)

    alias: [https://php.net/str\_repeat](https://php.net/str_repeat)
    ex.: Php\\Text::repeat(*string*, *int*);

Recursos Adicionais:
--------------------

[](#recursos-adicionais)

### Http

[](#http)

- #### **mixed post(string $index)**

    [](#mixed-poststring-index)

    Pega um valor do $\_POST
    ex.: Php\\Http::post(*string*)
- #### **mixed get(string $index)**

    [](#mixed-getstring-index)

    Pega um valor do $\_GET
    ex.: Php\\Http::post(*string*)
- #### **mixed file(string $index)**

    [](#mixed-filestring-index)

    Pega um valor do $\_FILES
    ex.: Php\\Http::post(*string*)
- #### **mixed all($index = null)**

    [](#mixed-allindex--null)

    Pega um valor do $\_REQUEST
    ex.: Php\\Http::all(*string*)

### Url

[](#url)

- #### **string host()**

    [](#string-host)

    Pega o nome do host da aplicação
    ex.: Php\\Url::host()
- #### **string current()**

    [](#string-current)

    Pega a URL em que a aplicação teve a requisição atual solicitada
    ex.: Php\\Url::current()

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~86 days

Recently: every ~0 days

Total

7

Last Release

2510d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47646f3d728d63e17a082deab0636c4b86c31c7a659b7042556a2df3714af9a5?d=identicon)[wilcorrea](/maintainers/wilcorrea)

![](https://www.gravatar.com/avatar/33ec4171bbb2d1d44512f52be2787cbcffbb37ec2d694e444bc5ca75aaf440aa?d=identicon)[Belluzzo](/maintainers/Belluzzo)

---

Top Contributors

[![wilcorrea](https://avatars.githubusercontent.com/u/803733?v=4)](https://github.com/wilcorrea "wilcorrea (29 commits)")

### Embed Badge

![Health badge](/badges/phpzm-phpee/health.svg)

```
[![Health](https://phpackages.com/badges/phpzm-phpee/health.svg)](https://phpackages.com/packages/phpzm-phpee)
```

###  Alternatives

[datatables.net/datatables.net-datetime

DateTime picker for DataTables.net

112.3k](/packages/datatablesnet-datatablesnet-datetime)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
