{"id":15283905,"url":"https://github.com/dp-0/user-activity","last_synced_at":"2025-08-17T13:03:43.413Z","repository":{"id":181980909,"uuid":"667777903","full_name":"dp-0/user-activity","owner":"dp-0","description":"User Activity is a Laravel package that allows you to effortlessly track user activity within your Laravel application. It provides a convenient way to log various user actions, including login, logout, page visits, and custom events.","archived":false,"fork":false,"pushed_at":"2024-08-09T15:48:07.000Z","size":21,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T08:21:43.804Z","etag":null,"topics":["laravel","livewire","logging","user-activity"],"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/dp-0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-18T09:26:13.000Z","updated_at":"2024-09-14T06:09:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a58bb7df-993c-4871-8311-4d0daf094de7","html_url":"https://github.com/dp-0/user-activity","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"1613b074504fd43f7eba10ec92153bf08d078087"},"previous_names":["dp-0/user-activity"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dp-0%2Fuser-activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dp-0%2Fuser-activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dp-0%2Fuser-activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dp-0%2Fuser-activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dp-0","download_url":"https://codeload.github.com/dp-0/user-activity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239993959,"owners_count":19730779,"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","livewire","logging","user-activity"],"created_at":"2024-09-30T14:48:10.411Z","updated_at":"2025-02-22T11:30:27.086Z","avatar_url":"https://github.com/dp-0.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UserActivity\n\nUser Activity is a Laravel package that allows you to effortlessly track user activity within your Laravel application. It provides a convenient way to log various user actions, including login, logout, page visits, and custom events.\n\n## Features\n\n- Log user login, Lockout and logout events.\n- Track page visits and user interactions.\n- Custom event logging to monitor specific user activities.\n- Easily configurable to include or exclude specific actions from tracking.\n\n\n## Installation\n\nTo install the User Activity package\n\n```bash\ncomposer require dp-0/user-activity\n```\n\n\n```bash\nphp artisan user-activity:install\n```\n## Configuration\nAfter installing the package, it automatically publishes the configuration file for customizing the tracking behavior. You can modify the `user-activity.php` config file as needed.\n\n## Usage\n\n```php\nuse Dp0\\UserActivity\\Traits\\UserActivity;\n```\nThen, add the trait to your model:\n```php\nclass YourModel extends Model\n{\n    use UserActivity;\n\n    // Your model code here\n}\n```\n## Documentation\n\nFor detailed documentation  references, please read [Article](https://medium.com/@dineshphuyel20/enhance-user-tracking-in-laravel-with-the-user-activity-package-a-comprehensive-guide-683050f88a98).\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdp-0%2Fuser-activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdp-0%2Fuser-activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdp-0%2Fuser-activity/lists"}