{"id":24380519,"url":"https://github.com/asvvvad1/clipboard","last_synced_at":"2026-03-06T20:02:23.346Z","repository":{"id":48995365,"uuid":"257577069","full_name":"asvvvad1/clipboard","owner":"asvvvad1","description":"Best clipboard wrapper for PHP. Windows, Mac, Unix. Linux (X11 \u0026 Wayland) and Termux","archived":false,"fork":false,"pushed_at":"2021-07-01T15:33:14.000Z","size":28,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-03T06:49:20.157Z","etag":null,"topics":["bsd","clipboard","linux","php","php7","solaris","termux","unix","wayland","windows"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asvvvad1.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":"2020-04-21T11:43:41.000Z","updated_at":"2024-08-10T03:35:46.000Z","dependencies_parsed_at":"2022-09-07T04:12:48.635Z","dependency_job_id":null,"html_url":"https://github.com/asvvvad1/clipboard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asvvvad1/clipboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fclipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fclipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fclipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fclipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asvvvad1","download_url":"https://codeload.github.com/asvvvad1/clipboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fclipboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30195546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"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":["bsd","clipboard","linux","php","php7","solaris","termux","unix","wayland","windows"],"created_at":"2025-01-19T08:19:34.851Z","updated_at":"2026-03-06T20:02:23.317Z","avatar_url":"https://github.com/asvvvad1.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clipboard for PHP\nProvide copying and pasting to the Clipboard for PHP.\n\nPHP port of [atotto/clipboard](https://github.com/atotto/clipboard) except for the Windows part\n\n\u003e #### Requires PHP 7.2.0 and above\n\n## Platforms:\n\n* **OSX**\n* **Linux, Unix/BSD**: Requires `xclip` or `xsel` to be installed\n* * **Wayland**: Requires [wl-clipboard](https://github.com/bugaevc/wl-clipboard)\n* **Android using Termux**: Requires Termux:API add-on \n* **Windows**: Copying works normally but pasting requires [paste.exe](https://www.c3scripts.com/tutorials/msdos/paste.html#exe) to be in PATH or it'll fallback to using powershell which a bit slow.\n\n## Usage\n\n```bash\ncomposer require asvvvad/clipboard:dev-master\n```\n\n```php\nrequire 'vendor/autoload.php';\n\n$c = new Clipboard();\n\nif ($c-\u003eisUnsupported() === false) {\n\t$c-\u003ewriteAll('copied');\n\techo $c-\u003ereadAll(); // \"copied\"\n}\n\n```\n## Used in:\nMy own [cply-php](https://github.com/asvvvad/cply-php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasvvvad1%2Fclipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasvvvad1%2Fclipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasvvvad1%2Fclipboard/lists"}