{"id":22850089,"url":"https://github.com/phpzm/phpee","last_synced_at":"2025-07-11T10:36:01.747Z","repository":{"id":57041068,"uuid":"118338706","full_name":"phpzm/phpee","owner":"phpzm","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-01T15:26:40.000Z","size":42,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-18T09:54:44.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpzm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-21T13:47:37.000Z","updated_at":"2021-08-18T15:19:14.000Z","dependencies_parsed_at":"2022-08-24T01:10:37.557Z","dependency_job_id":null,"html_url":"https://github.com/phpzm/phpee","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpzm%2Fphpee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpzm%2Fphpee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpzm%2Fphpee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpzm%2Fphpee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpzm","download_url":"https://codeload.github.com/phpzm/phpee/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229493403,"owners_count":18081614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T05:06:29.149Z","updated_at":"2024-12-13T05:06:29.809Z","avatar_url":"https://github.com/phpzm.png","language":"PHP","readme":"# PHP Enterprise Edition\n\nEste é 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.\n\nUm exmplo, ao invés de usar `file_put_contents()` podemos usar `Php\\File::write()`\n\n## Pseudônimos para as Extensões:\n\n### Base64\n - #### **string encode(string $string)\u003cbr\u003e**\n   alias: https://php.net/base64_encode\u003cbr\u003e\n   ex.: Php\\Base64::encode(_string_);\n - #### **string decode(string $string, bool $strict = null)\u003cbr\u003e**\n   alias: https://php.net/base64_decode\u003cbr\u003e\n   ex.: Php\\Base64::decode(_string_, _boolean_);\n \n### Encode\n - #### **string ascii(string $string)\u003cbr\u003e**\n   alias: https://php.net/ord\u003cbr\u003e\n   ex.: Php\\Encode::ascii(_string_);\n - #### **string soundex(string $string)\u003cbr\u003e**\n   alias: https://php.net/soundex\u003cbr\u003e\n   ex.: Php\\Encode::soundex(_string_);\n \n### File\n - #### **int write(string $filename, mixed $data, int $flags = 0, resource $context = null)\u003cbr\u003e**\n   alias: https://php.net/file_put_contents\u003cbr\u003e\n   ex.: Php\\File::write(_string_, _mixed_, _int_, _resource_);\n - #### **string read(string $filename, bool $use_include_path = false, resource $context = null, int $offset = 0, int $maxlen = null)\u003cbr\u003e**\n   alias: https://php.net/file_get_contents\u003cbr\u003e\n   ex.: Php\\File::read(_string_, _boolean_, _resource_, _ìnt_, _ìnt_);\n - #### **bool exists(string $filename)\u003cbr\u003e**\n   alias: https://php.net/file_exists\u003cbr\u003e\n   ex.: Php\\File::exists(_string_);\n \n### Hash\n - #### **string md5(string $string, bool $raw = false)\u003cbr\u003e**\n   alias: https://php.net/md5\u003cbr\u003e\n   ex.: Php\\Hash::md5(_string_, _bool_);\n - #### **string sha1(string $string, bool $raw = false)\u003cbr\u003e**\n   alias: https://php.net/sha1\u003cbr\u003e\n   ex.: Php\\Hash::sha1(_string_, _bool_);\n\n### JSON\n - #### **string encode(mixed $value, int $options = 0, int $depth = 512)\u003cbr\u003e**\n   alias: https://php.net/json_encode\u003cbr\u003e\n   ex.: Php\\JSON::encode(_string_, _int_, _int_);\n - #### **string decode(string $json, bool $assoc = false, int $depth = 512, int $options = 0)\u003cbr\u003e**\n   alias: https://php.net/json_decode\u003cbr\u003e\n   ex.: Php\\JSON::decode(_string_, _bool_, _int_, _int_);\n\n### Regex\n - #### **string split($pattern, string $subject, int $limit = -1, int $flags = 0)\u003cbr\u003e**\n   alias: https://php.net/preg_split\u003cbr\u003e\n   ex.: Php\\Regex::split(_string_, _string_, _int_, _int_);\n\n### Text\n - #### **int length(string $string)\u003cbr\u003e**\n   alias: https://php.net/strlen\u003cbr\u003e\n   ex.: Php\\Text::length(_string_);\n   \n - #### **string replace(string $string, string $search, string $replace)\u003cbr\u003e**\n   alias: https://php.net/str_replace\u003cbr\u003e\n   ex.: Php\\Text::replace(_string_, _string_, _string_);\n   \n - #### **mixed first(string $string, string $search)\u003cbr\u003e**\n   alias: https://php.net/strpos\u003cbr\u003e\n   ex.: Php\\Text::first(_string_, _string_);\n   \n - #### **mixed last(string $string, string $search)\u003cbr\u003e**\n   alias: https://php.net/strrchr\u003cbr\u003e\n   ex.: Php\\Text::last(_string_, _string_);\n   \n - #### **string upper(string $string)\u003cbr\u003e**\n   alias: https://php.net/strtoupper\u003cbr\u003e\n   ex.: Php\\Text::upper(_string_);\n   \n - #### **string lower(string $string)\u003cbr\u003e**\n   alias: https://php.net/strtolower\u003cbr\u003e\n   ex.: Php\\Text::lower(_string_);\n   \n - #### **string capitalize(string $string)\u003cbr\u003e**\n   alias: https://php.net/ucwords\u003cbr\u003e\n   ex.: Php\\Text::capitalize(_string_);\n   \n - #### **string unCapitalize(string $string)\u003cbr\u003e**\n   alias: https://php.net/lcfirst\u003cbr\u003e\n   ex.: Php\\Text::unCapitalize(_string_);\n   \n - #### **array split(string $delimiter, string $string, int $limit = null)\u003cbr\u003e**\n   alias: https://php.net/explode\u003cbr\u003e\n   ex.: Php\\Text::split(_string_, _string_, _int_);\n   \n - #### **string join(string $glue, array $pieces)\u003cbr\u003e**\n   alias: https://php.net/implode\u003cbr\u003e\n   ex.: Php\\Text::join(_string_, _array_);\n   \n - #### **string levenshtein(string $a, string $b)\u003cbr\u003e**\n   alias: https://php.net/levenshtein\u003cbr\u003e\n   ex.: Php\\Text::levenshtein(_string_, _string_);\n   \n - #### **string substring(string $string , int $start, int $length = null)\u003cbr\u003e**\n   alias: https://php.net/substr\u003cbr\u003e\n   ex.: Php\\Text::substring(_string_, _int_, _int_);\n   \n - #### **string trim(string $string , string $characters = null)\u003cbr\u003e**\n   alias: https://php.net/trim\u003cbr\u003e\n   ex.: Php\\Text::trim(_string_, _string_);\n   \n - #### **string wrap(string $string , int $width = 75, string $break = \"\\n\", bool $cut = false)\u003cbr\u003e**\n   alias: https://php.net/wordwrap\u003cbr\u003e\n   ex.: Php\\Text::wrap(_string_, _int_, _string_, _bool_);\n   \n - #### **int compare(string $a, string $b)\u003cbr\u003e**\n   alias: https://php.net/strcmp\u003cbr\u003e\n   ex.: Php\\Text::compare(_string_, _string_);\n   \n - #### **array divide(string $string, int $length = 1)\u003cbr\u003e**\n   alias: https://php.net/str_split\u003cbr\u003e\n   ex.: Php\\Text::divide(_string_, _int_);\n   \n - #### **string shuffle(string $string)\u003cbr\u003e**\n   alias: https://php.net/str_shuffle\u003cbr\u003e\n   ex.: Php\\Text::shuffle(_string_);\n   \n - #### **string repeat(string $string, int $multiplier)\u003cbr\u003e**\n   alias: https://php.net/str_repeat\u003cbr\u003e\n   ex.: Php\\Text::repeat(_string_, _int_);\n   \n## Recursos Adicionais:\n\n### Http\n - #### **mixed post(string $index)\u003cbr\u003e**\n   Pega um valor do $_POST\u003cbr\u003e\n   ex.: Php\\Http::post(_string_)\n   \n - #### **mixed get(string $index)\u003cbr\u003e**\n   Pega um valor do $_GET\u003cbr\u003e\n   ex.: Php\\Http::post(_string_)\n   \n - #### **mixed file(string $index)\u003cbr\u003e**\n   Pega um valor do $_FILES\u003cbr\u003e\n   ex.: Php\\Http::post(_string_)\n   \n - #### **mixed all($index = null)\u003cbr\u003e**\n   Pega um valor do $_REQUEST\u003cbr\u003e\n   ex.: Php\\Http::all(_string_)\n\n### Url\n - #### **string host()\u003cbr\u003e**\n   Pega o nome do host da aplicação\u003cbr\u003e\n   ex.: Php\\Url::host()\n \n - #### **string current()\u003cbr\u003e**\n   Pega a URL em que a aplicação teve a requisição atual solicitada\u003cbr\u003e\n   ex.: Php\\Url::current()\n   \n   \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpzm%2Fphpee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpzm%2Fphpee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpzm%2Fphpee/lists"}