{"id":28359925,"url":"https://github.com/phpseclib/libssh2-compatibility-layer","last_synced_at":"2025-08-18T19:36:12.424Z","repository":{"id":17971466,"uuid":"20969729","full_name":"phpseclib/libssh2-compatibility-layer","owner":"phpseclib","description":"include this and all your ssh2_* function calls should now work even if you don't have libssh2 installed","archived":false,"fork":false,"pushed_at":"2016-11-30T01:10:36.000Z","size":4,"stargazers_count":18,"open_issues_count":0,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-12T21:25:49.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpseclib.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}},"created_at":"2014-06-18T16:37:25.000Z","updated_at":"2024-06-28T01:20:40.000Z","dependencies_parsed_at":"2022-07-26T20:19:12.352Z","dependency_job_id":null,"html_url":"https://github.com/phpseclib/libssh2-compatibility-layer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phpseclib/libssh2-compatibility-layer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Flibssh2-compatibility-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Flibssh2-compatibility-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Flibssh2-compatibility-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Flibssh2-compatibility-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpseclib","download_url":"https://codeload.github.com/phpseclib/libssh2-compatibility-layer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Flibssh2-compatibility-layer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260312248,"owners_count":22990144,"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":[],"created_at":"2025-05-28T10:10:30.716Z","updated_at":"2025-06-22T20:30:37.453Z","avatar_url":"https://github.com/phpseclib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"libssh2-compatibility-layer\n===========================\n\nLet's say your application has calls to [PHP's ssh2_* functions](http://php.net/ssh2) but you don't have libssh2 installed. With libssh2-compatibility-layer all you need to do is include phpseclib.php and (assuming you have phpseclib installed in the include_path) and they should work without issue!\n\nAn example follows:\n\n```php\n\u003c?php\ninclude('phpseclib.php');\n\n$ssh = ssh2_connect('www.domain.tld');\necho ssh2_fingerprint($ssh);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpseclib%2Flibssh2-compatibility-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpseclib%2Flibssh2-compatibility-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpseclib%2Flibssh2-compatibility-layer/lists"}