{"id":15168777,"url":"https://github.com/yiisoft/yii-masked-input","last_synced_at":"2025-10-01T02:31:07.230Z","repository":{"id":15642455,"uuid":"78570121","full_name":"yiisoft/yii-masked-input","owner":"yiisoft","description":"Yii Framework Masked input widget Extension","archived":true,"fork":false,"pushed_at":"2022-10-12T07:27:30.000Z","size":84,"stargazers_count":39,"open_issues_count":4,"forks_count":13,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-04-14T00:22:17.386Z","etag":null,"topics":["hacktoberfest","maskedinput","widget"],"latest_commit_sha":null,"homepage":"https://www.yiiframework.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"]}},"created_at":"2017-01-10T20:15:30.000Z","updated_at":"2023-11-30T20:53:16.000Z","dependencies_parsed_at":"2022-08-24T13:48:48.189Z","dependency_job_id":null,"html_url":"https://github.com/yiisoft/yii-masked-input","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-masked-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-masked-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-masked-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii-masked-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii-masked-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219864849,"owners_count":16554100,"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":["hacktoberfest","maskedinput","widget"],"created_at":"2024-09-27T07:00:15.070Z","updated_at":"2025-10-01T02:31:01.922Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cb\u003e\n        This package is deprecated.\n    \u003c/b\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    ❌\n\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars0.githubusercontent.com/u/993323\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii Framework Masked input widget Extension\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis is the Masked Input extension for [Yii framework](http://www.yiiframework.com). It provides a masked input widget based on\n[jQuery Input Mask plugin](http://robinherbots.github.io/Inputmask/).\n\nFor license information check the [LICENSE](LICENSE.md)-file.\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii-masked-input/v/stable.png)](https://packagist.org/packages/yiisoft/yii-masked-input)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii-masked-input/downloads.png)](https://packagist.org/packages/yiisoft/yii-masked-input)\n[![Build Status](https://travis-ci.com/yiisoft/yii-masked-input.svg?branch=master)](https://travis-ci.com/yiisoft/yii-masked-input)\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\n```\ncomposer require --prefer-dist yiisoft/yii-masked-input\n```\n\nUsage\n-----\n\nTo use MaskedInput, you must set the [[mask]] property. The following example\nshows how to use MaskedInput to collect phone numbers:\n\n```php\necho MaskedInput::widget([\n    'name' =\u003e 'phone',\n    'mask' =\u003e '999-999-9999',\n]);\n```\nYou can also use this widget in an [[ActiveForm]] using the [[ActiveField::widget()|widget()]]\nmethod, for example like this:\n\n```php\n\u003c?= $form\n    -\u003efield($model, 'from_date')\n    -\u003ewidget(Yiisoft\\Yii\\MaskedInput\\MaskedInput::class, [\n        'mask' =\u003e '999-999-9999',\n    ]) ?\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii-masked-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii-masked-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii-masked-input/lists"}