{"id":18722107,"url":"https://github.com/muetze42/nova-secret-field","last_synced_at":"2025-04-12T14:32:48.982Z","repository":{"id":40455547,"uuid":"484229510","full_name":"Muetze42/nova-secret-field","owner":"Muetze42","description":"This package provides a custom secret field that can be toggled to see its value.","archived":false,"fork":false,"pushed_at":"2022-12-24T17:33:58.000Z","size":69,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-12T11:54:58.664Z","etag":null,"topics":["laravel","laravel-nova","laravel-nova-field","nova-4","nova-field","nova-fields"],"latest_commit_sha":null,"homepage":"https://novapackages.com/packages/norman-huth/nova-secret-field","language":"Vue","has_issues":false,"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/Muetze42.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":"2022-04-21T23:04:54.000Z","updated_at":"2024-06-05T16:44:54.000Z","dependencies_parsed_at":"2022-08-09T21:00:54.864Z","dependency_job_id":null,"html_url":"https://github.com/Muetze42/nova-secret-field","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-secret-field","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-secret-field/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-secret-field/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-secret-field/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Muetze42","download_url":"https://codeload.github.com/Muetze42/nova-secret-field/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581357,"owners_count":21128155,"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":["laravel","laravel-nova","laravel-nova-field","nova-4","nova-field","nova-fields"],"created_at":"2024-11-07T13:39:53.096Z","updated_at":"2025-04-12T14:32:48.963Z","avatar_url":"https://github.com/Muetze42.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nova Secret Field\n\nThis package provides a custom secret field that can be toggled to see its value.\n\n![index](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/index.png \"index\")  \n![detail](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/details.png \"detail\")  \n![edit](https://raw.githubusercontent.com/Muetze42/asset-repo/main/nova-secret-field/images/edit.png \"edit\")\n\n## Install\n\n````composer require norman-huth/nova-secret-field````\n\n## Usage\n\n```php\nuse NormanHuth\\SecretField\\SecretField;\n\nclass Client extends Resource\n{\n    // ...\n    public function fields(NovaRequest $request): array\n    {\n        return [\n            SecretField::make(__('Token'), 'token'),\n        ];\n    }\n```\n\n### Options\n\nSame as a text field and disable „copy to clipboard“ method:\n\n```php\nSecretField::make(__('Token'), 'token')-\u003edisableClipboard(),\n```\n\n#### Translate/Message text\n\nDefault:\n\n```json\n{\n    \"Copied\": \"Kopiert\",\n    \"Copying failed\": \"Kopieren fehlgeschlagen\"\n}\n```\n\nChange messages\n\n```php\nSecretField::make(__('Token'), 'token')\n    -\u003ecopiedMsg(__('Copied'))\n    -\u003efailedMsg(__('Copying failed')),\n```\n\n### Misc\n\nFor Nova 3:  \n[nalingia/nova-secret-field](https://github.com/nalingia/nova-secret-field)\n\n---\n[![More Laravel Nova Packages](https://raw.githubusercontent.com/Muetze42/asset-repo/main/svg/more-laravel-nova-packages.svg)](https://huth.it/nova-packages)\n\n[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)\n\n[![Woman. Life. Freedom.](https://raw.githubusercontent.com/Muetze42/Muetze42/2033b219c6cce0cb656c34da5246434c27919bcd/files/iran-banner-big.svg)](https://linktr.ee/CurrentPetitionsFreeIran)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fnova-secret-field","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuetze42%2Fnova-secret-field","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fnova-secret-field/lists"}