From 31c4ff57afe32c8e1f30a5f4961dfaff564f42bd Mon Sep 17 00:00:00 2001 From: Christer Edvartsen Date: Mon, 7 Aug 2017 14:51:47 +0200 Subject: [PATCH 1/2] Add autoload information to composer.json The commit adds the base directory of the project to the classmap way of autoloading classes through Composer. Resolves #5 --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9f5c7a5..ac3e8b7 100755 --- a/composer.json +++ b/composer.json @@ -1,5 +1,8 @@ { "require": { "phpunit/phpunit" : "4.8.*" + }, + "autoload": { + "classmap": ["./"] } -} \ No newline at end of file +} From e28a62b4a0ff79ec115cf978ce06560d356b6e98 Mon Sep 17 00:00:00 2001 From: Juan De Leon Date: Tue, 8 May 2018 12:32:31 -0500 Subject: [PATCH 2/2] Add required properties to install library through VCS repository --- composer.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/composer.json b/composer.json index ac3e8b7..d74b554 100755 --- a/composer.json +++ b/composer.json @@ -1,4 +1,6 @@ { + "name": "DHTMLGoodies/chessParser", + "description": "PGN to PHP array parser PHP class for conversion of Chess PGN files to PHP array or JSON.", "require": { "phpunit/phpunit" : "4.8.*" },