{"id":13733205,"url":"https://github.com/MarJose123/filament-lockscreen","last_synced_at":"2025-05-08T09:31:48.016Z","repository":{"id":59123257,"uuid":"534533062","full_name":"MarJose123/filament-lockscreen","owner":"MarJose123","description":"A filament plugin that will allows you to lock your web app page and be able to continue working after re-login. ","archived":false,"fork":false,"pushed_at":"2025-04-02T05:12:33.000Z","size":614,"stargazers_count":56,"open_issues_count":2,"forks_count":16,"subscribers_count":1,"default_branch":"2.x","last_synced_at":"2025-05-04T06:36:34.288Z","etag":null,"topics":["filament","laravel","lockscreen","php"],"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/MarJose123.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"MarJose123","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":"https://paypal.me/whoami213"}},"created_at":"2022-09-09T06:54:58.000Z","updated_at":"2025-04-17T16:45:33.000Z","dependencies_parsed_at":"2025-03-13T11:29:58.216Z","dependency_job_id":"34fbdd67-d0c1-4a6b-ac02-3d573cafd1d4","html_url":"https://github.com/MarJose123/filament-lockscreen","commit_stats":{"total_commits":55,"total_committers":8,"mean_commits":6.875,"dds":0.4363636363636364,"last_synced_commit":"96732144401e53ddccea7e6f8224e3938719e0d2"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarJose123%2Ffilament-lockscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarJose123%2Ffilament-lockscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarJose123%2Ffilament-lockscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarJose123%2Ffilament-lockscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarJose123","download_url":"https://codeload.github.com/MarJose123/filament-lockscreen/tar.gz/refs/heads/2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253036517,"owners_count":21844225,"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":["filament","laravel","lockscreen","php"],"created_at":"2024-08-03T03:00:39.340Z","updated_at":"2025-05-08T09:31:48.004Z","avatar_url":"https://github.com/MarJose123.png","language":"PHP","funding_links":["https://github.com/sponsors/MarJose123","https://paypal.me/whoami213"],"categories":["UI","Plugins"],"sub_categories":["Administration \u0026 Management"],"readme":"![](https://github.com/MarJose123/filament-lockscreen/blob/2.x/art/filament-lockscreen-1x.png)\n\n**_Give an ability to the user to lock their access without logging out of the system for a break._**\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/marjose123/filament-lockscreen.svg?style=flat-square)](https://packagist.org/packages/marjose123/filament-lockscreen)\n[![Total Downloads](https://img.shields.io/packagist/dt/marjose123/filament-lockscreen.svg?style=flat-square)](https://packagist.org/packages/marjose123/filament-lockscreen)\n\n---\n:rotating_light: _For latest version that support FilamentPhp v2.x use this branch [1.x](https://github.com/MarJose123/filament-lockscreen/tree/1.x)_\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require marjose123/filament-lockscreen\n```\n\nOptionally, you can publish the views using\n\n```bash\nphp artisan vendor:publish --tag=\"filament-lockscreen-views\"\n```\nAdd the plugin to your panel and add the middleware  `Locker::class` to your panel  and you're ready to go\n```php \nuse lockscreen\\FilamentLockscreen\\Lockscreen;\nuse lockscreen\\FilamentLockscreen\\Http\\Middleware\\Locker;\nuse lockscreen\\FilamentLockscreen\\Http\\Middleware\\LockerTimer;\n\npublic function panel(Panel $panel): Panel\n{\n    return $panel\n        // ...\n        -\u003eplugin(new Lockscreen());  // \u003c- Add this\n\n         -\u003emiddleware([\n              //\n              LockerTimer::class, // \u003c- Add this (this is an optional, if you want to lock the request after 30 minutes idle)\n          ])\n         -\u003eauthMiddleware([\n                // ...\n                 Locker::class, // \u003c- Add this\n            ]);\n}\n```\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nIf you want to contribute to Filament-lockerscreen packages, you may want to test it in a real Laravel project:\n\n* Fork this repository to your GitHub account.\n* Create a Laravel app locally.\n* Clone your fork in your Laravel app's root directory.\n* In the /filament-lockscreen directory, create a branch for your fix, e.g. fix/error-message.\n\nInstall the packages in your app's `composer.json`:\n\n```\n{\n   // ...\n    \"require\": {\n        \"marjose123/filament-lockscreen\": \"*\",\n    },\n    \"repositories\": [\n        {\n            \"type\": \"path\",\n            \"url\": \"filament-lockscreen\"\n        }\n    ],\n   // ...\n}\n```\nNow, run `composer update`.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [Marjose](https://github.com/MarJose123)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarJose123%2Ffilament-lockscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMarJose123%2Ffilament-lockscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarJose123%2Ffilament-lockscreen/lists"}