{"id":15040316,"url":"https://github.com/wavevision/utils","last_synced_at":"2025-10-04T05:31:04.133Z","repository":{"id":37549181,"uuid":"205388890","full_name":"wavevision/utils","owner":"wavevision","description":"🛠 Useful PHP utilities and helpers","archived":true,"fork":false,"pushed_at":"2023-04-19T20:49:26.000Z","size":501,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T11:56:50.685Z","etag":null,"topics":["nette","php","php-utilities","utils"],"latest_commit_sha":null,"homepage":"","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/wavevision.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-30T13:34:40.000Z","updated_at":"2024-07-28T14:32:50.000Z","dependencies_parsed_at":"2024-06-19T22:50:40.752Z","dependency_job_id":"f28453b1-3480-44b7-a184-82caf6c112af","html_url":"https://github.com/wavevision/utils","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Futils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Futils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Futils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavevision%2Futils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavevision","download_url":"https://codeload.github.com/wavevision/utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235222539,"owners_count":18955327,"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":["nette","php","php-utilities","utils"],"created_at":"2024-09-24T20:44:29.668Z","updated_at":"2025-10-04T05:30:58.719Z","avatar_url":"https://github.com/wavevision.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/wavevision\"\u003e\u003cimg alt=\"Wavevision s.r.o.\" src=\"https://wavevision.com/images/wavevision-logo.png\" width=\"120\" /\u003e\u003c/a\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eUtils\u003c/h1\u003e\n\n[![CI](https://github.com/wavevision/utils/workflows/CI/badge.svg)](https://github.com/wavevision/utils/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/wavevision/utils/badge.svg?branch=master)](https://coveralls.io/github/wavevision/utils?branch=master)\n[![PHPStan](https://img.shields.io/badge/style-level%20max-brightgreen.svg?label=phpstan)](https://github.com/phpstan/phpstan)\n\nSet of useful PHP utilities and helpers extending [nette/utils](https://github.com/nette/utils).\n\n## Installation\n\nVia [Composer](https://getcomposer.org)\n\n```bash\ncomposer require wavevision/utils\n```\n\n## Contents\n\nThe package contains useful classes for:\n\n- [Arrays](./src/Utils/Arrays.php) – array helpers (manipulate, sort, extract etc.)\n- [ContentTypes](./src/Utils/ContentTypes.php) – format extensions and filenames for content types\n- [DOM](./src/Utils/DOM) – create and format data attributes for HTML elements\n- [ExternalProgram](./src/Utils/ExternalProgram/Executor.php) – simple external command runner\n- [FileInfo](./src/Utils/FileInfo.php) – get file info (basename, dirname, extension etc.)\n- [Finder](./src/Utils/Finder.php) – adds sorting to [nette/finder](https://github.com/nette/finder)\n- [ImageInfo](./src/Utils/ImageInfo.php) – get image content type and size\n- [ImmutableObject](./src/Utils/ImmutableObject.php) – combines `Nette\\SmartObject` and `withMutation` helper\n- [Json](./src/Utils/Json.php) – JSON pretty encoder with PHP and JavaScript indents\n- [Objects](./src/Utils/Objects.php) – dynamic get / set, get namespace, classname etc.\n- [Path](./src/Utils/Path.php) – join path parts, stringify path object etc.\n- [SerialNumber](./src/Utils/SerialNumber.php) – generate serial numbers from year and custom numbers\n- [Server](./src/Utils/Server.php) – access some useful server info (e.g. file upload limit)\n- [Strings](./src/Utils/Strings.php) – string helpers (encode, transform etc.)\n- [Tokenizer](./src/Utils/Tokenizer/Tokenizer.php) – get structure from file (e.g. a class)\n- [Validators](./src/Utils/Validators.php) – validate Czech and Slovak numbers (phone, personal, business)\n- [Zip](./src/Utils/Zip) – simple ZIP archive helper (compress, extract)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavevision%2Futils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavevision%2Futils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavevision%2Futils/lists"}