Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

asvvvad1/dollaapp-clipboard-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DEPRECATED: USE THIS INSTEAD

Clipboard for PHP

Provide copying and pasting to the Clipboard for PHP.

PHP port of atotto/clipboard

Platforms:

  • OSX
  • Linux, Unix (requires 'xclip' or 'xsel' command to be installed)
  • Windows not tested (but probably work)

Usage

composer require asvvvad/dollaapp-clipboard-php:dev-master
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

Releases

No releases published

Packages

No packages published

Languages