{"id":24488030,"url":"https://github.com/sakanjo/filament-easy-testings","last_synced_at":"2026-02-06T08:39:55.366Z","repository":{"id":273480821,"uuid":"919856298","full_name":"sakanjo/filament-easy-testings","owner":"sakanjo","description":"Easily test your app.","archived":false,"fork":false,"pushed_at":"2025-08-16T17:19:14.000Z","size":1291,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T14:09:52.451Z","etag":null,"topics":["filament","laravel","testing"],"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":"2025-01-21T06:18:37.000Z","updated_at":"2025-08-16T17:12:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"4235cc99-e31d-40ac-84de-16529c86a7b5","html_url":"https://github.com/sakanjo/filament-easy-testings","commit_stats":null,"previous_names":["sakanjo/filament-easy-testings"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sakanjo/filament-easy-testings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-easy-testings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-easy-testings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-easy-testings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-easy-testings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakanjo","download_url":"https://codeload.github.com/sakanjo/filament-easy-testings/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ffilament-easy-testings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29155578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["filament","laravel","testing"],"created_at":"2025-01-21T16:18:08.182Z","updated_at":"2026-02-06T08:39:55.360Z","avatar_url":"https://github.com/sakanjo.png","language":"PHP","funding_links":["https://github.com/sponsors/sakanjo"],"categories":[],"sub_categories":[],"readme":"![Preview](./art/preview.png)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/sakanjo/filament-easy-testings/actions\"\u003e\u003cimg alt=\"Workflow status\" src=\"https://img.shields.io/github/actions/workflow/status/sakanjo/filament-easy-testings/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.4+\" src=\"https://img.shields.io/badge/PHP-8.4+-777BB4?style=for-the-badge\u0026logo=php\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eA Filament plugin to make testing easier.\u003c/p\u003e\n\n\u003e ✨ Help support the maintenance of this package by [sponsoring me](https://github.com/sponsors/sakanjo).\n\nTable of Contents\n=================\n\n- [Table of Contents](#table-of-contents)\n  - [Install](#-install)\n  - [Usage](#-usage)\n  - [Presets](#presets)\n    - [Default presets](#default-presets)\n    - [Creating custom preset](#creating-custom-preset)\n  - [Support the development](#-support-the-development)\n  - [Credits](#%EF%B8%8F-credits)\n  - [License](#-license)\n\n## 📦 Install\n\nInstall the package via composer:\n\n```\ncomposer require sakanjo/filament-easy-testings\n```\n\n## 🦄 Usage\n\n```php\n\u003c?php\n\n// ...\nuse SaKanjo\\FilamentEasyTestings\\EasyTestingPlugin;\nuse App\\Filament\\EasyTestings\\Presets\\MyPreset;\n\npublic function panel(Panel $panel): Panel\n{\n    return $panel\n        -\u003eplugin(\n            EasyTestingPlugin::make()\n                -\u003epreset(MyPreset::make())\n        );\n}\n```\n\n## Presets\n\nPresets are the core of the plugin, allows you to create different tests with no limit.\n\n### Default presets\n\nThe package comes with a default preset that you can use out of the box.\n\n- `DefaultPreset`\n- `EnvPreset`\n- `WebsocketPreset`\n\n### Creating custom preset\n\nYou can create your own custom preset by extending the `SaKanjo\\FilamentEasyTestings\\Presets\\Preset` class.\n\n```php\n\u003c?php\n\nnamespace App\\Filament\\EasyTestings;\n\nuse Filament\\Forms;\nuse Filament\\Schemas;\nuse Filament\\Actions;\nuse Filament\\Notifications\\Notification;\nuse SaKanjo\\FilamentEasyTestings\\Pages\\TestingsPage;\nuse SaKanjo\\FilamentEasyTestings\\Presets\\Preset;\n\nclass HelloPreset extends Preset\n{\n    public static function components(): array\n    {\n        return [\n            Schemas\\Components\\Section::make('Say hi')\n                -\u003epersistCollapsed()\n                -\u003eicon('heroicon-m-bolt')\n                -\u003ecomponents([\n                    Forms\\Components\\TextInput::make('name')\n                        -\u003elabel('Name')\n                        -\u003erequired(),\n\n                    Schemas\\Components\\Actions::make([\n                        Actions\\Action::make('submit')\n                            -\u003eaction(function (Forms\\Get $get, TestingsPage $livewire): void {\n                                $livewire-\u003evalidateFields(['name']);\n                                $name = $get('name');\n\n                                Notification::make()\n                                    -\u003etitle(\"Hello $name\")\n                                    -\u003esend();\n                            }),\n                    ]),\n                ]),\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](../../contributors)\n\n## 📄 License\n\n[MIT License](https://github.com/sakanjo/filament-easy-testings/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-easy-testings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakanjo%2Ffilament-easy-testings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakanjo%2Ffilament-easy-testings/lists"}