{"id":22477694,"url":"https://github.com/dcc6fvo/php-unifi-8021x-log","last_synced_at":"2026-05-01T01:31:31.597Z","repository":{"id":175615361,"uuid":"654210542","full_name":"dcc6fvo/php-unifi-8021x-log","owner":"dcc6fvo","description":"Generates 802.1x unifi logs and sends alert emails to simultaneous users login","archived":false,"fork":false,"pushed_at":"2023-06-15T18:59:47.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T17:49:35.698Z","etag":null,"topics":["8021x","ldap","log","logging","mail","php","unifi"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcc6fvo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-15T16:06:26.000Z","updated_at":"2023-06-15T17:36:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e95f6e2-c9c7-440a-8db3-eb9e427683f8","html_url":"https://github.com/dcc6fvo/php-unifi-8021x-log","commit_stats":null,"previous_names":["dcc6fvo/php-unifi-8021x-log"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcc6fvo/php-unifi-8021x-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-unifi-8021x-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-unifi-8021x-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-unifi-8021x-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-unifi-8021x-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcc6fvo","download_url":"https://codeload.github.com/dcc6fvo/php-unifi-8021x-log/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-unifi-8021x-log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32482460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":["8021x","ldap","log","logging","mail","php","unifi"],"created_at":"2024-12-06T14:11:58.642Z","updated_at":"2026-05-01T01:31:31.574Z","avatar_url":"https://github.com/dcc6fvo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-unifi-8021x-log\n\nThis is a php script that accesses data from the unifi controller through the \"art of wifi\" API, searching for connected users and thereby generating a log with information such as mac, ip, 802.1x address, among others. This kind of log is not automatically generated by the unifi controller and therefore the use of this script is justified.\n\nThe script also fetches the user's email by accessing the LDAP base that users are connected via wireless (unifi) and sends email to those logged in from more than 3 different devices at same time.\n\nPlease check and edit config.sample.php as needed. For future versions we can implement user logoff on older device if he authenticates on more than 3 devices at the same time.\n\n### Contents\n* [Prerequisites](#prerequisites)\n* [Install](#install)\n* [Running](#running)\n\n### Prerequisites\n- Art of Wifi from https://github.com/Art-of-WiFi/UniFi-API-client\n- PHP Mailer from https://github.com/PHPMailer/PHPMailer\n- PHP \u003e= 7\n- Linux/debian libs: \n  - php-ldap \n  - php-curl\n\n### Install\n1) git clone https://github.com/dcc6fvo/php-unifi-8021x-log\n2) cp config.sample.php config.php\n3) edit config.php\n\n### Running\nphp unifi-8021x-log.php\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcc6fvo%2Fphp-unifi-8021x-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcc6fvo%2Fphp-unifi-8021x-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcc6fvo%2Fphp-unifi-8021x-log/lists"}