diff --git a/composer.json b/composer.json index 216d187..a6c29ad 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,8 @@ { "name": "sergeynezbritskiy/zend-pdf-table", "description": "Extension for Zend_Pdf library, which can help you to draw tables. This is just an updated version of Zend_Pdf_Table Component which can be found here https://sourceforge.net/projects/zendpdftable/", + "type": "library", + "license": "MIT", "authors": [ { "name": "Sergey Nezbritskiy", @@ -9,5 +11,10 @@ ], "require": { "magento/zendframework1": "^1.13" + }, + "autoload": { + "psr-4": { + "sergeynezbritskiy\\ZendPdfTable\\": "src/" + } } } diff --git a/ZendPdfTable/Table.php b/src/Table.php similarity index 100% rename from ZendPdfTable/Table.php rename to src/Table.php diff --git a/ZendPdfTable/Table/Cell.php b/src/Table/Cell.php similarity index 100% rename from ZendPdfTable/Table/Cell.php rename to src/Table/Cell.php diff --git a/ZendPdfTable/Table/Column.php b/src/Table/Column.php similarity index 100% rename from ZendPdfTable/Table/Column.php rename to src/Table/Column.php diff --git a/ZendPdfTable/Table/Header.php b/src/Table/Header.php similarity index 100% rename from ZendPdfTable/Table/Header.php rename to src/Table/Header.php diff --git a/ZendPdfTable/Table/Row.php b/src/Table/Row.php similarity index 100% rename from ZendPdfTable/Table/Row.php rename to src/Table/Row.php