summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordsiddharth2@gmail.com <sid-mildlyclassic>2017-09-05 16:01:32 +0530
committerdsiddharth2@gmail.com <sid-mildlyclassic>2017-09-05 16:01:32 +0530
commitc10000fa09f60385399e30c477477ef78e84bf6b (patch)
tree3ef4ed02457103ab35eff21bb9302715a1caa8a6
parent72aec5d1b51968274b2a4f681a532c4a4220a6df (diff)
downloadphp-zxing-c10000fa09f60385399e30c477477ef78e84bf6b.zip
php-zxing-c10000fa09f60385399e30c477477ef78e84bf6b.tar.gz
php-zxing-c10000fa09f60385399e30c477477ef78e84bf6b.tar.bz2
Moved code to src
-rw-r--r--composer.json8
-rw-r--r--src/LICENSE (renamed from LICENSE)0
-rw-r--r--src/PHPZxing/PHPZxingBase.php (renamed from PHPZxing/PHPZxingBase.php)0
-rw-r--r--src/PHPZxing/PHPZxingDecoder.php (renamed from PHPZxing/PHPZxingDecoder.php)3
-rwxr-xr-xsrc/bin/core-3.2.0.jar (renamed from bin/core-3.2.0.jar)bin544173 -> 544173 bytes
-rwxr-xr-xsrc/bin/javase-3.2.0.jar (renamed from bin/javase-3.2.0.jar)bin39203 -> 39203 bytes
-rw-r--r--src/composer.json17
7 files changed, 25 insertions, 3 deletions
diff --git a/composer.json b/composer.json
index 5aa0f84..b6ef109 100644
--- a/composer.json
+++ b/composer.json
@@ -2,12 +2,16 @@
"name": "sid/php-zxing",
"description": "Wrapper for zxing using php",
"type": "library",
- "license": "MIT",
+ "license": "MIT",
"authors": [
{
"name": "Siddharth",
"email": "dsiddharth2@gmail.com"
}
],
- "require": {}
+ "autoload": {
+ "psr-0" : {
+ "sid/php-zxing" : "src"
+ }
+ }
} \ No newline at end of file
diff --git a/LICENSE b/src/LICENSE
index 33100e5..33100e5 100644
--- a/LICENSE
+++ b/src/LICENSE
diff --git a/PHPZxing/PHPZxingBase.php b/src/PHPZxing/PHPZxingBase.php
index d6ccf2b..d6ccf2b 100644
--- a/PHPZxing/PHPZxingBase.php
+++ b/src/PHPZxing/PHPZxingBase.php
diff --git a/PHPZxing/PHPZxingDecoder.php b/src/PHPZxing/PHPZxingDecoder.php
index 3b0d668..9a7362e 100644
--- a/PHPZxing/PHPZxingDecoder.php
+++ b/src/PHPZxing/PHPZxingDecoder.php
@@ -42,4 +42,5 @@ class PHPZxingDecoder extends PHPZxingBase {
}
$decoder = new PHPZxingDecoder();
-$decoder->getJavaPath(); \ No newline at end of file
+$decoder->getJavaPath();
+echo "Sid"; \ No newline at end of file
diff --git a/bin/core-3.2.0.jar b/src/bin/core-3.2.0.jar
index 6af9c62..6af9c62 100755
--- a/bin/core-3.2.0.jar
+++ b/src/bin/core-3.2.0.jar
Binary files differ
diff --git a/bin/javase-3.2.0.jar b/src/bin/javase-3.2.0.jar
index c8a424e..c8a424e 100755
--- a/bin/javase-3.2.0.jar
+++ b/src/bin/javase-3.2.0.jar
Binary files differ
diff --git a/src/composer.json b/src/composer.json
new file mode 100644
index 0000000..636adad
--- /dev/null
+++ b/src/composer.json
@@ -0,0 +1,17 @@
+{
+ "name": "sid/php-zxing",
+ "description": "Wrapper for zxing using php",
+ "type": "library",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Siddharth",
+ "email": "dsiddharth2@gmail.com"
+ }
+ ],
+ "autoload": {
+ "psr-0" : {
+ "PHPZxing" : "src"
+ }
+ }
+} \ No newline at end of file