{"id":24800544,"url":"https://github.com/sakanjo/filament-reset-action","last_synced_at":"2025-10-13T01:31:28.584Z","repository":{"id":237759080,"uuid":"795198587","full_name":"sakanjo/filament-reset-action","owner":"sakanjo","description":"✨ A filament action to reset the form state.","archived":false,"fork":false,"pushed_at":"2024-05-21T13:45:28.000Z","size":236,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T01:38:43.234Z","etag":null,"topics":["actions","filament-actions","laravel"],"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/sakanjo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"sakanjo"}},"created_at":"2024-05-02T19:22:00.000Z","updated_at":"2024-09-01T07:28:59.000Z","dependencies_parsed_at":"2024-05-04T12:41:14.991Z","dependency_job_id":"eea3a34a-af9d-462a-a5b1-2bcb9cfc1369","html_url":"https://github.com/sakanjo/filament-reset-action","commit_stats":null,"previous_names":["sakanjo/filament-reset-action"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-reset-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-reset-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-reset-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-reset-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakanjo","download_url":"https://codeload.github.com/sakanjo/filament-reset-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236289423,"owners_count":19125017,"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":["actions","filament-actions","laravel"],"created_at":"2025-01-30T03:19:21.507Z","updated_at":"2025-10-13T01:31:28.577Z","avatar_url":"https://github.com/sakanjo.png","language":"PHP","funding_links":["https://github.com/sponsors/sakanjo"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e↻ Filament reset action\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/sakanjo/filament-reset-action/actions\"\u003e\u003cimg alt=\"Workflow status\" src=\"https://img.shields.io/github/actions/workflow/status/sakanjo/filament-reset-action/tests.yml?style=for-the-badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://laravel.com\"\u003e\u003cimg alt=\"Laravel v11+\" src=\"https://img.shields.io/badge/Laravel-v11+-FF2D20?style=for-the-badge\u0026logo=laravel\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://php.net\"\u003e\u003cimg alt=\"PHP 8.2+\" src=\"https://img.shields.io/badge/PHP-8.2+-777BB4?style=for-the-badge\u0026logo=php\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eA Filament action to reset the form state.\u003c/p\u003e\n\n\u003e ✨ Help support the maintenance of this package by [sponsoring me](https://github.com/sponsors/sakanjo).\n\n![Preview](https://raw.githubusercontent.com/sakanjo/filament-reset-action/master/art/preview.gif)\n\nTable of Contents\n=================\n\n* [Install](#-install)\n* [Usage](#-usage)\n  * [On the create page](#on-the-create-page)\n  * [On the edit page](#on-the-edit-page)\n* [Support the development](#-support-the-development)\n* [Credits](#%EF%B8%8F-credits)\n* [License](#-license)\n\n## 📦 Install\n\n```\ncomposer require sakanjo/filament-reset-action\n```\n\n## 🦄 Usage\n\n### On the create page\n\n```php\n\u003c?php\n\nnamespace App\\Filament\\Admin\\Resources\\UserResource\\Pages;\n\nuse App\\Filament\\Admin\\Resources\\UserResource;\nuse Filament\\Resources\\Pages\\CreateRecord;\nuse SaKanjo\\FilamentResetAction\\Actions\\ResetAction;\n\nclass CreateUser extends CreateRecord\n{\n    protected static string $resource = UserResource::class;\n\n    protected function getHeaderActions(): array\n    {\n        return [\n            ResetAction::make(),\n        ];\n    }\n}\n```\n\n### On the edit page\n\n```php\n\u003c?php\n\nnamespace App\\Filament\\Admin\\Resources\\UserResource\\Pages;\n\nuse App\\Filament\\Admin\\Resources\\UserResource;\nuse App\\Filament\\Base\\Pages\\EditRecord;\nuse SaKanjo\\FilamentResetAction\\Actions\\ResetAction;\n\nclass EditUser extends EditRecord\n{\n    protected static string $resource = UserResource::class;\n\n    protected function getHeaderActions(): array\n    {\n        return [\n            ResetAction::make(),\n        ];\n    }\n}\n```\n\n## 💖 Support the development\n\n**Do you like this project? Support it by donating**\n\nClick the [\"💖 Sponsor\"](https://github.com/sponsors/sakanjo) at the top of this repo.\n\n## ©️ Credits\n\n- [Salah Kanjo](https://github.com/sakanjo)\n- [All Contributors](https://github.com/sakanjo/filament-reset-action/contributors)\n\n## 📄 License\n\n[MIT License](https://github.com/sakanjo/filament-reset-action/blob/master/LICENSE) © 2023-PRESENT [Salah Kanjo](https://github.com/sakanjo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakanjo%2Ffilament-reset-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakanjo%2Ffilament-reset-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakanjo%2Ffilament-reset-action/lists"}