Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asvvvad1/dollaapp-clipboard-php
Deprecated in favor of https://github.com/asvvvad/clipboard | Provide copying and pasting to the Clipboard for PHP.
https://github.com/asvvvad1/dollaapp-clipboard-php
clipboard php php-cli php-framework php-library php7 php73 terminal
Last synced: 3 months ago
JSON representation
Deprecated in favor of https://github.com/asvvvad/clipboard | Provide copying and pasting to the Clipboard for PHP.
- Host: GitHub
- URL: https://github.com/asvvvad1/dollaapp-clipboard-php
- Owner: asvvvad1
- Archived: true
- Created: 2019-01-25T23:29:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T16:41:43.000Z (over 4 years ago)
- Last Synced: 2024-09-25T20:04:27.840Z (3 months ago)
- Topics: clipboard, php, php-cli, php-framework, php-library, php7, php73, terminal
- Language: PHP
- Homepage: https://github.com/asvvvad/clipboard
- Size: 3.91 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DEPRECATED: USE [THIS](https://github.com/asvvvad/clipboard) INSTEAD
# Clipboard for PHP
Provide copying and pasting to the Clipboard for PHP.PHP port of [atotto/clipboard](https://github.com/atotto/clipboard)
Platforms:
* OSX
* Linux, Unix (requires 'xclip' or 'xsel' command to be installed)
* Windows **not tested** (but probably work)## Usage
```bash
composer require asvvvad/dollaapp-clipboard-php:dev-master
``````php
require 'vendor/autoload.php';use dollaapp\Clipboard;
$c = new Clipboard();
if ($c->isUnsupported() === false) {
$c->writeAll('copied');
echo $c->readAll(); // "copied"
}```
## Used in:
My own [cply-php](https://github.com/asvvvad/cply-php)