Compare commits

...

6 Commits

Author SHA1 Message Date
Carsten Götzinger
98d0952bd4 Umzug auf github 2018-04-23 07:32:34 +02:00
a5ed9f3751 composer.json korrigiert 2018-02-14 09:01:57 +01:00
f6e5678ed3 Umstellung auf Contao 4 Bundle 2018-02-14 08:31:13 +01:00
0129999dd0 composer.json angepasst 2018-02-14 06:38:56 +01:00
849e933e44 Updated composer.json 2018-02-14 05:25:44 +01:00
f111ddcf2b Update composer.json 2018-02-14 05:23:17 +01:00
13 changed files with 65 additions and 57 deletions

View File

@ -1,8 +1,9 @@
{
"name":"cgo-it/xls_export",
"description":"xls_export extension for the Contao Open Source CMS",
"keywords":["contao", "excel"],
"type":"contao-module",
"name":"cgo-it/contao-xls_export-bundle",
"description":"xls_export extension for the Contao Open Source CMS as contao 4 bundle",
"keywords":["contao", "excel", "bundle"],
"type":"contao-bundle",
"homepage":"https://cgo-it.de",
"license":"GPL-3.0-or-later",
"authors":[
{
@ -13,26 +14,26 @@
}
],
"support": {
"email": "info@cgo-it.de",
"issues": "https://bitbucket.org/cgo-it/contao-xls_export/issues?status=new&status=open",
"source": "https://bitbucket.org/cgo-it/contao-xls_export/src"
"issues": "https://github.com/cgoIT/contao-xls-export-bundle/issues",
"source": "https://github.com/cgoIT/contao-xls-export-bundle.git"
},
"require":{
"php":">=5.3",
"contao/core":">=3.0",
"contao-community-alliance/composer-plugin": "~2.0"
},
"replace": {
"cgo-it/xls_export": "self.version"
"php":">=7.0",
"contao/core-bundle": "^4.4"
},
"conflict": {
"contao/core": "2.11.*"
"contao/core": "*",
"contao/manager-plugin": "<2.0 || >=3.0"
},
"autoload": {
"psr-4": {
"cgoIT\\xlsexport\\": "src/"
},
"classmap": [
"src/Resources/contao/"
]
},
"extra": {
"contao": {
"sources":{
"":"system/modules/xls_export"
}
}
"contao-manager-plugin": "cgoIT\\xlsexport\\ContaoManagerPlugin"
}
}

View File

@ -1,7 +0,0 @@
;;
; Configure what you want the autoload creator to register
;;
register_namespaces = true
register_classes = true
register_templates = true

View File

@ -1,28 +0,0 @@
<?php
/**
* Contao Open Source CMS
*
* Copyright (C) 2005-2012 Leo Feyer
*
* @package xls_export
* @link http://contao.org
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
*/
/**
* Register the classes
*/
ClassLoader::addClasses(array
(
// Classes
'xls_bof' => 'system/modules/xls_export/vendor/biff.php',
'fat_class' => 'system/modules/xls_export/vendor/fat.php',
'xls_font' => 'system/modules/xls_export/vendor/font.php',
'xls_mergedcells' => 'system/modules/xls_export/vendor/mergedcells.php',
'xls_palette' => 'system/modules/xls_export/vendor/palette.php',
'xls_picture' => 'system/modules/xls_export/vendor/picture.php',
'xls_xf' => 'system/modules/xls_export/vendor/xf.php',
'xlsexport' => 'system/modules/xls_export/vendor/xls_export.php',
));

View File

@ -0,0 +1,14 @@
<?php
namespace cgoIT\xlsexport;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Configures the Contao aeo bundle.
*
* @author Carsten Götzinger
*/
class CgoITXlsexportBundle extends Bundle
{
}

View File

@ -0,0 +1,28 @@
<?php
namespace cgoIT\xlsexport;
use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
/**
* Plugin for the Contao Manager.
*
* @author Carsten Götzinger
*/
class ContaoManagerPlugin implements BundlePluginInterface
{
/**
* {@inheritdoc}
*/
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create(CgoITXlsexportBundle::class)
->setLoadAfter([ContaoCoreBundle::class])
->setReplace(['xls_export']),
];
}
}