diff --git a/README.md b/README.md index 419fbf2..43ab2d3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
This is the only extension for using PC/SC based smart cards with PHP. It is a wrapper to the wonderful and free project by Ludovic Rousseau, PCSC-Lite, which is the middleware to access a smart card using SCard API (PC/SC). Since PCSC-Lite is compatible to the winscard API it should be possible to compile this extension using a Windows(R) operating system. Currently I only take focus on Linux environments.
+This is the only extension for using PC/SC based smart cards with PHP. It is a wrapper to the wonderful and free project by Ludovic Rousseau, PCSC-Lite, which is the middleware to access a smart card using SCard API (PC/SC). Since PCSC-Lite is compatible to the winscard API it should be possible to compile this extension using a Windows or macOS operating system.
Thanks are going to Johann Dantant! He provides a PC/SC extension for PHP since 2005 and I reused some of his code. He allowed me to relicense these parts under the terms of the PHP license so I could integrate PCSC-Lite natively into PHP.
@@ -8,13 +8,12 @@I recommend to install the PECL extension the "PHP" way:
-pecl install pcsc-alpha+
pecl install pcsc-beta-
You can install the latest version by downloading the sources and compile yourself too... :)
+You can install the latest code by downloading the sources and compile yourself too.
-wget http://pecl.php.net/get/pcsc-0.3.1.tgz -tar -xvf pcsc-0.3.1.tgz -cd pcsc-0.3.1 +- -git clone https://github.com/pcsc-for-php/pcsc.git +cd pcsc phpize ./configure make @@ -76,19 +75,6 @@ make installscard_cancel($context);
-Code
- -The code has successful been released to the official code repository pecl.php.net... ;) - -
You could get the code using the following command:
- -svn checkout http://svn.php.net/repository/pecl/pcsc/trunk pcsc-
This code is licensed under the terms of the PHP License version 3.01. PCSC-Lite is licensed in a way where it is possible to integrate it native in the PHP environment.
@@ -96,8 +82,9 @@ make install