{"id":36315318,"url":"https://github.com/vcruly/maskercat","last_synced_at":"2026-01-11T11:01:30.417Z","repository":{"id":194451992,"uuid":"690837447","full_name":"vcruly/maskercat","owner":"vcruly","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-25T02:54:06.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T16:27:30.600Z","etag":null,"topics":["concatenation","masking","mit-license","open-source","php","pure-php","string","string-manipulation","strings"],"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/vcruly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-13T01:37:28.000Z","updated_at":"2023-09-25T02:52:20.000Z","dependencies_parsed_at":"2023-09-25T03:57:43.878Z","dependency_job_id":null,"html_url":"https://github.com/vcruly/maskercat","commit_stats":null,"previous_names":["vcruly/masker","vcruly/masker-cat"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/vcruly/maskercat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcruly%2Fmaskercat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcruly%2Fmaskercat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcruly%2Fmaskercat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcruly%2Fmaskercat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vcruly","download_url":"https://codeload.github.com/vcruly/maskercat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcruly%2Fmaskercat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28301278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T08:21:30.231Z","status":"ssl_error","status_checked_at":"2026-01-11T08:21:26.882Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["concatenation","masking","mit-license","open-source","php","pure-php","string","string-manipulation","strings"],"created_at":"2026-01-11T11:01:18.255Z","updated_at":"2026-01-11T11:01:30.403Z","avatar_url":"https://github.com/vcruly.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maskercat - Custom string concatenation mask\nConcatenate a set of pre-define or custom character, strings or patterns to an given String, resulting in a mask of characters in the front, back, or both sides of the input.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Installation\n`composer require rvc/maskercat`\n\nor just download and include the file in your project. \n\n## Usage\n\n### Simple masker\n\n`masker (String string, int lenght, int mask, String side);`\n\n\nOptions:\n\n\u003ctable\u003e\n \u003cthead\u003e\n  \u003ctr\u003e \n   \u003cth\u003eParameter\u003c/th\u003e \n   \u003cth\u003eValues\u003c/th\u003e\n   \u003cth\u003eDescription\u003c/th\u003e\n   \u003cth\u003eOptional\u003c/th\u003e\n  \u003c/tr\u003e\n \u003c/thead\u003e \n\u003ctbody\u003e\n  \n  \u003ctr\u003e\n    \u003ctd\u003estring\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n    \u003ctd\u003eThe string to concatenate\u003c/td\u003e\n    \u003ctd\u003eRequire\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003elenght\u003c/td\u003e\n    \u003ctd\u003e7 \u003cb\u003e(DEFAULT)\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003eLenght of the mask use to concatenate\u003c/td\u003e\n    \u003ctd\u003eOptional\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003emask\u003c/td\u003e\n    \u003ctd\u003e\n     \u003cul\u003e\n           \u003cli\u003e0 - abcdefghijklmnopqrstuvwxyz \u003cb\u003e(DEFAULT)\u003c/b\u003e \u003c/li\u003e\n           \u003cli\u003e1 - ABCDEFGHIJKLMNOPQRSTUVWXYZ\u003c/li\u003e\n           \u003cli\u003e2 - 0123456789abcdefghijklmnopqrstuvwxyz\u003c/li\u003e\n           \u003cli\u003e3 - 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\u003c/li\u003e\n           \u003cli\u003e4 - 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\n                   abcdefghijklmnopqrstuvwxyz\n           \u003c/li\u003e \n     \u003c/ul\u003e\n    \u003c/td\u003e\n    \u003ctd\u003eMask use to concatenate\u003c/td\u003e\n    \u003ctd\u003eOptional\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003emask\u003c/td\u003e\n    \u003ctd\u003e\n     \u003cul\u003e\n           \u003cli\u003eleft \u003cb\u003e(DEFAULT)\u003c/b\u003e\u003c/li\u003e\n           \u003cli\u003eright\u003c/li\u003e\n           \u003cli\u003eboth\u003c/li\u003e\n     \u003c/ul\u003e\n    \u003c/td\u003e\n    \u003ctd\u003eSide of the string to put the mask\u003c/td\u003e\n    \u003ctd\u003eOptional\u003c/td\u003e\n  \u003c/tr\u003e\n\n\u003c/tbody\u003e \n\u003c/table\u003e\n\nExample:\n  ```\n  masker('Hakuna matata');\n\n  output: pgdfbiihakuna matata\n  ```\n\n\u003chr\u003e\n \n### Custom masker\n\n`custom_masker (String string, int lenght, String mask, String side)`\n\nOptions:\n\n\u003ctable\u003e\n \u003cthead\u003e\n  \u003ctr\u003e \n   \u003cth\u003eParameter\u003c/th\u003e \n   \u003cth\u003eValues\u003c/th\u003e\n   \u003cth\u003eDescription\u003c/th\u003e\n   \u003cth\u003eOptional\u003c/th\u003e\n  \u003c/tr\u003e\n \u003c/thead\u003e \n\u003ctbody\u003e\n  \n  \u003ctr\u003e\n    \u003ctd\u003estring\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n    \u003ctd\u003eThe string to concatenate\u003c/td\u003e\n    \u003ctd\u003eRequire\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003elenght\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n    \u003ctd\u003eLenght of the mask use to concatenate\u003c/td\u003e\n    \u003ctd\u003eRequire\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003emask\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n    \u003ctd\u003eMask use to concatenate\u003c/td\u003e\n    \u003ctd\u003eRequire\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003eside\u003c/td\u003e\n    \u003ctd\u003e\n     \u003cul\u003e\n           \u003cli\u003eleft \u003cb\u003e(DEFAULT)\u003c/b\u003e\u003c/li\u003e\n           \u003cli\u003eright\u003c/li\u003e\n           \u003cli\u003eboth\u003c/li\u003e\n     \u003c/ul\u003e\n    \u003c/td\u003e\n    \u003ctd\u003eSide of the string to put the mask\u003c/td\u003e\n    \u003ctd\u003eOptional\u003c/td\u003e\n  \u003c/tr\u003e\n\n\u003c/tbody\u003e \n\u003c/table\u003e\n\n\nExample:\n```\ncustom_masker('Hakuna matata', 7, 'abcd453gh', 'right' );\n\noutput: `Hakuna matatab5gdccc`\n```\n\n## License\nmaskercat is licensed under the MIT License.\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcruly%2Fmaskercat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcruly%2Fmaskercat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcruly%2Fmaskercat/lists"}