diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..07dfc06
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,25 @@
+
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{php,twig,yml,yaml}]
+indent_style = space
+indent_size = 4
+
+[*.{html5,svg,min.css,min.js}]
+insert_final_newline = false
+
+[*/contao/**.{css,js,php},*/public/**.{css,js}]
+indent_style = tab
+
+[*/contao/**.html5]
+indent_style = space
+indent_size = 2
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..fb89f4c
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,7 @@
+/.ecs
+/.github export-ignore
+/tests export-ignore
+/.gitattributes export-ignore
+/.gitignore export-ignore
+/phpunit.xml.dist export-ignore
+/.travis.yml export-ignore
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..7973632
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,76 @@
+name: CI
+
+on:
+ pull_request: ~
+ push:
+ branches:
+ - '*'
+ tags:
+ - '*'
+
+jobs:
+ cs:
+ name: Coding Style
+ runs-on: ubuntu-latest
+ steps:
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Install ecs
+ run: cd tools/ecs && composer update --no-interaction --no-suggest
+
+ - name: Run the CS fixer
+ run: composer cs-fixer
+
+ tests:
+ name: PHP ${{ matrix.php }}
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: [ 8.1, 8.2 ]
+ steps:
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Install phpunit
+ run: cd tools/phpunit && composer update --no-interaction --no-suggest
+
+ - name: Install the dependencies
+ run: composer update --no-interaction --no-suggest
+
+ - name: Run the unit tests
+ run: composer unit-tests
+
+ prefer-lowest-tests:
+ name: PHP ${{ matrix.php }} --prefer-lowest
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: [ 8.1, 8.2 ]
+ steps:
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Install phpunit
+ run: cd tools/phpunit && composer update --no-interaction --no-suggest
+
+ - name: Install the dependencies
+ run: composer update --prefer-lowest --prefer-stable --no-interaction --no-suggest
+
+ - name: Run the unit tests
+ run: composer unit-tests
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..31392b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+# Jetbrains
+/.idea/*
+
+# tools
+/vendor/
+/tools/*/vendor
+/composer.lock
+/.php-cs-fixer.cache
+/tools/phpunit/.phpunit.result.cache
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..90a6256
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,41 @@
+{
+ "name": "yupdesign/contao-architecture-projects-bundle",
+ "description": "Verwalten von Projekten für Architekten",
+ "type": "contao-bundle",
+ "license": "GPL-3.0-or-later",
+ "authors": [
+ {
+ "name": "Stephan Gieb",
+ "email": "stephan.gieb@yupdesign.de",
+ "homepage": "https://www.yupdesign.de",
+ "role": "Developer"
+ }
+ ],
+ "require": {
+ "php": "^8.1",
+ "contao/core-bundle": "^4.13 || ^5.0"
+ },
+ "require-dev": {
+ "contao/manager-plugin": "^2.12"
+ },
+ "autoload": {
+ "psr-4": {
+ "Yupdesign\\ContaoArchitectureProjectsBundle\\": "src/"
+ }
+ },
+ "config": {
+ "allow-plugins": {
+ "contao-components/installer": false,
+ "contao/manager-plugin": false,
+ "contao-community-alliance/composer-plugin": true
+ }
+ },
+ "extra": {
+ "contao-manager-plugin": "Yupdesign\\ContaoArchitectureProjectsBundle\\ContaoManager\\Plugin"
+ },
+ "scripts": {
+ "cs-fixer": "@php tools/ecs/vendor/bin/ecs check config/ contao/ src/ templates/ tests/ --config tools/ecs/config.php --fix --ansi",
+ "unit-tests": "@php tools/phpunit/vendor/bin/phpunit -c tools/phpunit/phpunit.xml.dist"
+ },
+ "version": "0.0.1"
+}
\ No newline at end of file
diff --git a/config/listener.yaml b/config/listener.yaml
new file mode 100644
index 0000000..e3edf7e
--- /dev/null
+++ b/config/listener.yaml
@@ -0,0 +1,3 @@
+#config/listener.yaml
+services:
+
diff --git a/config/parameters.yaml b/config/parameters.yaml
new file mode 100644
index 0000000..8791625
--- /dev/null
+++ b/config/parameters.yaml
@@ -0,0 +1,3 @@
+#config/parameters.yaml
+parameters:
+
diff --git a/config/services.yaml b/config/services.yaml
new file mode 100644
index 0000000..89f569d
--- /dev/null
+++ b/config/services.yaml
@@ -0,0 +1,15 @@
+# config/services.yaml
+services:
+ _defaults:
+ autowire: true # Automatically injects dependencies in your services.
+ autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
+ public: false # Allows optimizing the container by removing unused services; this also means
+ # fetching services directly from the container via $container->get() won't work.
+ # The best practice is to be explicit about your dependencies anyway.
+ bind:
+ #$projectDir: '%kernel.project_dir%'
+
+ Yupdesign\ContaoArchitectureProjectsBundle\:
+ resource: ../src/
+ exclude: ../src/{DependencyInjection,Model,Session}
+
diff --git a/contao/config/config.php b/contao/config/config.php
new file mode 100644
index 0000000..aa99dcf
--- /dev/null
+++ b/contao/config/config.php
@@ -0,0 +1,25 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+use Yupdesign\ContaoArchitectureProjectsBundle\Model\ArchProjectsModel;
+
+/**
+ * Backend modules
+ */
+$GLOBALS['BE_MOD']['architecture_projects']['arch_projects'] = array(
+ 'tables' => array('tl_arch_projects')
+);
+
+/**
+ * Models
+ */
+$GLOBALS['TL_MODELS']['tl_arch_projects'] = ArchProjectsModel::class;
diff --git a/contao/dca/tl_arch_projects.php b/contao/dca/tl_arch_projects.php
new file mode 100644
index 0000000..705125d
--- /dev/null
+++ b/contao/dca/tl_arch_projects.php
@@ -0,0 +1,149 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+use Contao\Backend;
+use Contao\DataContainer;
+use Contao\DC_Table;
+use Contao\Input;
+
+/**
+ * Table tl_arch_projects
+ */
+$GLOBALS['TL_DCA']['tl_arch_projects'] = array(
+ 'config' => array(
+ 'dataContainer' => DC_Table::class,
+ 'enableVersioning' => true,
+ 'sql' => array(
+ 'keys' => array(
+ 'id' => 'primary'
+ )
+ ),
+ ),
+ 'list' => array(
+ 'sorting' => array(
+ 'mode' => DataContainer::MODE_SORTABLE,
+ 'fields' => array('title'),
+ 'flag' => DataContainer::SORT_INITIAL_LETTER_ASC,
+ 'panelLayout' => 'filter;sort,search,limit'
+ ),
+ 'label' => array(
+ 'fields' => array('title'),
+ 'format' => '%s',
+ ),
+ 'global_operations' => array(
+ 'all' => array(
+ 'href' => 'act=select',
+ 'class' => 'header_edit_all',
+ 'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
+ )
+ ),
+ 'operations' => array(
+ 'edit' => array(
+ 'href' => 'act=edit',
+ 'icon' => 'edit.svg'
+ ),
+ 'copy' => array(
+ 'href' => 'act=copy',
+ 'icon' => 'copy.svg'
+ ),
+ 'delete' => array(
+ 'href' => 'act=delete',
+ 'icon' => 'delete.svg',
+ 'attributes' => 'onclick="if(!confirm(\'' . ($GLOBALS['TL_LANG']['MSC']['deleteConfirm'] ?? null) . '\'))return false;Backend.getScrollOffset()"'
+ ),
+ 'show' => array(
+ 'href' => 'act=show',
+ 'icon' => 'show.svg',
+ 'attributes' => 'style="margin-right:3px"'
+ ),
+ )
+ ),
+ 'palettes' => array(
+ '__selector__' => array('addSubpalette'),
+ 'default' => '{first_legend},title,selectField,checkboxField,multitextField;{second_legend},addSubpalette'
+ ),
+ 'subpalettes' => array(
+ 'addSubpalette' => 'textareaField',
+ ),
+ 'fields' => array(
+ 'id' => array(
+ 'sql' => "int(10) unsigned NOT NULL auto_increment"
+ ),
+ 'tstamp' => array(
+ 'sql' => "int(10) unsigned NOT NULL default '0'"
+ ),
+ 'title' => array(
+ 'inputType' => 'text',
+ 'exclude' => true,
+ 'search' => true,
+ 'filter' => true,
+ 'sorting' => true,
+ 'flag' => DataContainer::SORT_INITIAL_LETTER_ASC,
+ 'eval' => array('mandatory' => true, 'maxlength' => 255, 'tl_class' => 'w50'),
+ 'sql' => "varchar(255) NOT NULL default ''"
+ ),
+ 'selectField' => array(
+ 'inputType' => 'select',
+ 'exclude' => true,
+ 'search' => true,
+ 'filter' => true,
+ 'sorting' => true,
+ 'reference' => &$GLOBALS['TL_LANG']['tl_arch_projects'],
+ 'options' => array('firstoption', 'secondoption'),
+ //'foreignKey' => 'tl_user.name',
+ //'options_callback' => array('CLASS', 'METHOD'),
+ 'eval' => array('includeBlankOption' => true, 'tl_class' => 'w50'),
+ 'sql' => "varchar(255) NOT NULL default ''",
+ //'relation' => array('type' => 'hasOne', 'load' => 'lazy')
+ ),
+ 'checkboxField' => array(
+ 'inputType' => 'select',
+ 'exclude' => true,
+ 'search' => true,
+ 'filter' => true,
+ 'sorting' => true,
+ 'reference' => &$GLOBALS['TL_LANG']['tl_arch_projects'],
+ 'options' => array('firstoption', 'secondoption'),
+ //'foreignKey' => 'tl_user.name',
+ //'options_callback' => array('CLASS', 'METHOD'),
+ 'eval' => array('includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'),
+ 'sql' => "varchar(255) NOT NULL default ''",
+ //'relation' => array('type' => 'hasOne', 'load' => 'lazy')
+ ),
+ 'multitextField' => array(
+ 'inputType' => 'text',
+ 'exclude' => true,
+ 'search' => true,
+ 'filter' => true,
+ 'sorting' => true,
+ 'eval' => array('multiple' => true, 'size' => 4, 'decodeEntities' => true, 'tl_class' => 'w50'),
+ 'sql' => "varchar(255) NOT NULL default ''"
+ ),
+ 'addSubpalette' => array(
+ 'exclude' => true,
+ 'inputType' => 'checkbox',
+ 'eval' => array('submitOnChange' => true, 'tl_class' => 'w50 clr'),
+ 'sql' => "char(1) NOT NULL default ''"
+ ),
+ 'textareaField' => array(
+ 'inputType' => 'textarea',
+ 'exclude' => true,
+ 'search' => true,
+ 'filter' => true,
+ 'sorting' => true,
+ 'eval' => array('rte' => 'tinyMCE', 'tl_class' => 'clr'),
+ 'sql' => 'text NULL'
+ )
+ )
+);
diff --git a/contao/dca/tl_module.php b/contao/dca/tl_module.php
new file mode 100644
index 0000000..1aeab95
--- /dev/null
+++ b/contao/dca/tl_module.php
@@ -0,0 +1,20 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+use Yupdesign\ContaoArchitectureProjectsBundle\Controller\FrontendModule\ArchListController;
+
+/**
+ * Frontend modules
+ */
+$GLOBALS['TL_DCA']['tl_module']['palettes'][ArchListController::TYPE] = '{title_legend},name,headline,type;{template_legend:hide},customTpl;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID';
diff --git a/contao/languages/en/default.php b/contao/languages/en/default.php
new file mode 100644
index 0000000..22dc742
--- /dev/null
+++ b/contao/languages/en/default.php
@@ -0,0 +1,23 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+/**
+ * Miscellaneous
+ */
+//$GLOBALS['TL_LANG']['MSC'][''] = '';
+
+/**
+ * Errors
+ */
+//$GLOBALS['TL_LANG']['ERR'][''] = '';
diff --git a/contao/languages/en/modules.php b/contao/languages/en/modules.php
new file mode 100644
index 0000000..e21f4b2
--- /dev/null
+++ b/contao/languages/en/modules.php
@@ -0,0 +1,28 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+use Yupdesign\ContaoArchitectureProjectsBundle\Controller\FrontendModule\ArchListController;
+
+/**
+ * Backend modules
+ */
+$GLOBALS['TL_LANG']['MOD']['architecture_projects'] = 'Referenzen';
+$GLOBALS['TL_LANG']['MOD']['arch_projects'] = ['Projekte', 'Übersicht über Projekte'];
+
+/**
+ * Frontend modules
+ */
+$GLOBALS['TL_LANG']['FMD']['architecture_projects'] = 'Referenzen';
+$GLOBALS['TL_LANG']['FMD'][ArchListController::TYPE] = ['Projektliste', 'Gibt eine Übersicht über alle veröffentlichten Projekte aus.'];
+
diff --git a/contao/languages/en/tl_arch_projects.php b/contao/languages/en/tl_arch_projects.php
new file mode 100644
index 0000000..869203e
--- /dev/null
+++ b/contao/languages/en/tl_arch_projects.php
@@ -0,0 +1,53 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+/**
+ * Legends
+ */
+$GLOBALS['TL_LANG']['tl_arch_projects']['first_legend'] = "Basis Einstellungen";
+$GLOBALS['TL_LANG']['tl_arch_projects']['second_legend'] = "Erweiterte Einstellungen";
+
+/**
+* Global operations
+*/
+$GLOBALS['TL_LANG']['tl_arch_projects']['new'] = ["Neu", "Ein neues Element anlegen"];
+
+/**
+ * Operations
+ */
+$GLOBALS['TL_LANG']['tl_arch_projects']['edit'] = "Datensatz mit ID: %s bearbeiten";
+$GLOBALS['TL_LANG']['tl_arch_projects']['copy'] = "Datensatz mit ID: %s kopieren";
+$GLOBALS['TL_LANG']['tl_arch_projects']['delete'] = "Datensatz mit ID: %s löschen";
+$GLOBALS['TL_LANG']['tl_arch_projects']['show'] = "Datensatz mit ID: %s ansehen";
+
+/**
+ * Fields
+ */
+$GLOBALS['TL_LANG']['tl_arch_projects']['title'] = ["Titel", "Geben Sie den Titel ein"];
+$GLOBALS['TL_LANG']['tl_arch_projects']['selectField'] = ["Select Feld", "Wählen Sie aus."];
+$GLOBALS['TL_LANG']['tl_arch_projects']['checkboxField'] = ["Chosen Feld", "Wählen Sie aus."];
+$GLOBALS['TL_LANG']['tl_arch_projects']['multitextField'] = ["Multitext Feld", "Geben Sie die Werte ein"];
+$GLOBALS['TL_LANG']['tl_arch_projects']['addSubpalette'] = ["Erweiterte Einstellungen aktivieren", "Hier können Sie die erweiterten Einstellungen aktivieren."];
+$GLOBALS['TL_LANG']['tl_arch_projects']['textareaField'] = ["Textarea", "Geben Sie einen Text ein"];
+
+/**
+ * References
+ */
+$GLOBALS['TL_LANG']['tl_arch_projects']['firstoption'] = "Erste Option";
+$GLOBALS['TL_LANG']['tl_arch_projects']['secondoption'] = "Zweite Option";
+
+/**
+ * Buttons
+ */
+$GLOBALS['TL_LANG']['tl_arch_projects']['customButton'] = "Custom Routine starten";
diff --git a/contao/templates/mod_arch_list.html5 b/contao/templates/mod_arch_list.html5
new file mode 100644
index 0000000..f412935
--- /dev/null
+++ b/contao/templates/mod_arch_list.html5
@@ -0,0 +1,8 @@
+extend('block_searchable'); ?>
+
+block('content'); ?>
+
+
= $this->helloTitle ?>
+ = $this->helloText ?>
+
+endblock(); ?>
diff --git a/docs/logo.png b/docs/logo.png
new file mode 100644
index 0000000..30905cc
Binary files /dev/null and b/docs/logo.png differ
diff --git a/public/css/styles.css b/public/css/styles.css
new file mode 100644
index 0000000..e0c0e98
--- /dev/null
+++ b/public/css/styles.css
@@ -0,0 +1 @@
+/** Still empty stylesheet **/
\ No newline at end of file
diff --git a/public/js/script.js b/public/js/script.js
new file mode 100644
index 0000000..78acf6b
--- /dev/null
+++ b/public/js/script.js
@@ -0,0 +1 @@
+/** Still empty script file **/
\ No newline at end of file
diff --git a/src/ContaoManager/Plugin.php b/src/ContaoManager/Plugin.php
new file mode 100644
index 0000000..6d3026c
--- /dev/null
+++ b/src/ContaoManager/Plugin.php
@@ -0,0 +1,49 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\ContaoManager;
+
+use Yupdesign\ContaoArchitectureProjectsBundle\YupdesignContaoArchitectureProjectsBundle;
+use Contao\CoreBundle\ContaoCoreBundle;
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
+use Contao\ManagerPlugin\Routing\RoutingPluginInterface;
+use Symfony\Component\Config\Loader\LoaderResolverInterface;
+use Symfony\Component\HttpKernel\KernelInterface;
+use Symfony\Component\Routing\RouteCollection;
+
+class Plugin implements BundlePluginInterface, RoutingPluginInterface
+{
+ /**
+ * @return array
+ */
+ public function getBundles(ParserInterface $parser)
+ {
+ return [
+ BundleConfig::create(YupdesignContaoArchitectureProjectsBundle::class)
+ ->setLoadAfter([ContaoCoreBundle::class]),
+ ];
+ }
+
+ /**
+ * @return RouteCollection|null
+ */
+ public function getRouteCollection(LoaderResolverInterface $resolver, KernelInterface $kernel)
+ {
+ return $resolver
+ ->resolve(__DIR__.'/../Controller')
+ ->load(__DIR__.'/../Controller');
+ }
+}
diff --git a/src/Controller/FrontendModule/ArchListController.php b/src/Controller/FrontendModule/ArchListController.php
new file mode 100644
index 0000000..0f21196
--- /dev/null
+++ b/src/Controller/FrontendModule/ArchListController.php
@@ -0,0 +1,123 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\Controller\FrontendModule;
+
+use Contao\CoreBundle\Controller\FrontendModule\AbstractFrontendModuleController;
+use Contao\CoreBundle\DependencyInjection\Attribute\AsFrontendModule;
+use Contao\CoreBundle\Framework\ContaoFramework;
+use Contao\CoreBundle\Routing\ScopeMatcher;
+use Contao\Date;
+use Contao\FrontendUser;
+use Contao\ModuleModel;
+use Contao\PageModel;
+use Contao\Template;
+use Doctrine\DBAL\Connection;
+use Doctrine\DBAL\Result;
+use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
+use Symfony\Component\HttpFoundation\Session\Session;
+use Symfony\Component\Security\Core\Security;
+use Symfony\Contracts\Translation\TranslatorInterface;
+
+#[AsFrontendModule(category: 'architecture_projects', template: 'mod_arch_list')]
+class ArchListController extends AbstractFrontendModuleController
+{
+ public const TYPE = 'arch_list';
+
+ protected ?PageModel $page;
+
+ /**
+ * This method extends the parent __invoke method,
+ * its usage is usually not necessary.
+ */
+ public function __invoke(Request $request, ModuleModel $model, string $section, array $classes = null, PageModel $page = null): Response
+ {
+ // Get the page model
+ $this->page = $page;
+
+ $scopeMatcher = $this->container->get('contao.routing.scope_matcher');
+
+ if ($this->page instanceof PageModel && $scopeMatcher->isFrontendRequest($request)) {
+ $this->page->loadDetails();
+ }
+
+ return parent::__invoke($request, $model, $section, $classes);
+ }
+
+ /**
+ * Lazyload services.
+ */
+ public static function getSubscribedServices(): array
+ {
+ $services = parent::getSubscribedServices();
+
+ $services['contao.framework'] = ContaoFramework::class;
+ $services['database_connection'] = Connection::class;
+ $services['contao.routing.scope_matcher'] = ScopeMatcher::class;
+ $services['security.helper'] = Security::class;
+ $services['translator'] = TranslatorInterface::class;
+
+ return $services;
+ }
+
+ protected function getResponse(Template $template, ModuleModel $model, Request $request): Response
+ {
+ $userFirstname = 'DUDE';
+ $user = $this->container->get('security.helper')->getUser();
+
+ // Get the logged in frontend user... if there is one
+ if ($user instanceof FrontendUser) {
+ $userFirstname = $user->firstname;
+ }
+
+ /** @var Session $session */
+ $session = $request->getSession();
+ $bag = $session->getBag('contao_frontend');
+ $bag->set('foo', 'bar');
+
+ /** @var Date $dateAdapter */
+ $dateAdapter = $this->container->get('contao.framework')->getAdapter(Date::class);
+
+ $intWeekday = $dateAdapter->parse('w');
+ $translator = $this->container->get('translator');
+ $strWeekday = $translator->trans('DAYS.'.$intWeekday, [], 'contao_default');
+
+ $arrGuests = [];
+
+ // Get the database connection
+ $db = $this->container->get('database_connection');
+
+ /** @var Result $stmt */
+ $stmt = $db->executeQuery('SELECT * FROM tl_member WHERE gender = ? ORDER BY lastname', ['female']);
+
+ while (false !== ($row = $stmt->fetchAssociative())) {
+ $arrGuests[] = $row['firstname'];
+ }
+
+ $template->helloTitle = sprintf(
+ 'Hi %s, and welcome to the "Hello World Module". Today is %s.',
+ $userFirstname,
+ $strWeekday,
+ );
+
+ $template->helloText = '';
+
+ if (!empty($arrGuests)) {
+ $template->helloText = 'Our guests today are: '.implode(', ', $arrGuests);
+ }
+
+ return $template->getResponse();
+ }
+}
diff --git a/src/Controller/MyCustomController.php b/src/Controller/MyCustomController.php
new file mode 100644
index 0000000..f12dc81
--- /dev/null
+++ b/src/Controller/MyCustomController.php
@@ -0,0 +1,57 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\Controller;
+
+use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
+use Symfony\Component\HttpFoundation\Response;
+use Symfony\Component\Routing\Annotation\Route;
+use Twig\Environment as Twig;
+
+#[Route('/my_custom', name: MyCustomController::class, defaults: ['_scope' => 'frontend', '_token_check' => true])]
+class MyCustomController extends AbstractController
+{
+
+ public function __construct(
+ private readonly Twig $twig,
+ ) {
+ }
+
+ public function __invoke(): Response
+ {
+ $animals = [
+ [
+ 'species' => 'dogs',
+ 'color' => 'white',
+ ],
+ [
+ 'species' => 'birds',
+ 'color' => 'black',
+ ], [
+ 'species' => 'cats',
+ 'color' => 'pink',
+ ], [
+ 'species' => 'cows',
+ 'color' => 'yellow',
+ ],
+ ];
+
+ return new Response($this->twig->render(
+ '@YupdesignContaoArchitectureProjects/MyCustom/my_custom.html.twig',
+ [
+ 'animals' => $animals,
+ ]
+ ));
+ }
+}
diff --git a/src/DataContainer/ArchProjects.php b/src/DataContainer/ArchProjects.php
new file mode 100644
index 0000000..571d130
--- /dev/null
+++ b/src/DataContainer/ArchProjects.php
@@ -0,0 +1,45 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\DataContainer;
+
+use Contao\CoreBundle\DependencyInjection\Attribute\AsCallback;
+use Contao\CoreBundle\Framework\ContaoFramework;
+use Contao\DataContainer;
+use Contao\Input;
+use Contao\System;
+
+#[AsCallback(table: 'tl_arch_projects', target: 'edit.buttons', priority: 100)]
+class ArchProjects
+{
+
+ public function __construct(
+ private readonly ContaoFramework $framework,
+ ) {
+ }
+
+ public function __invoke(array $arrButtons, DataContainer $dc): array
+ {
+ $inputAdapter = $this->framework->getAdapter(Input::class);
+ $systemAdapter = $this->framework->getAdapter(System::class);
+
+ $systemAdapter->loadLanguageFile('tl_arch_projects');
+
+ if ('edit' === $inputAdapter->get('act')) {
+ $arrButtons['customButton'] = '';
+ }
+
+ return $arrButtons;
+ }
+}
diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php
new file mode 100644
index 0000000..24fd088
--- /dev/null
+++ b/src/DependencyInjection/Configuration.php
@@ -0,0 +1,44 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\DependencyInjection;
+
+use Symfony\Component\Config\Definition\Builder\TreeBuilder;
+use Symfony\Component\Config\Definition\ConfigurationInterface;
+
+class Configuration implements ConfigurationInterface
+{
+ public const ROOT_KEY = 'yupdesign_contao_architecture_projects';
+
+ public function getConfigTreeBuilder(): TreeBuilder
+ {
+ $treeBuilder = new TreeBuilder(self::ROOT_KEY);
+
+ $treeBuilder->getRootNode()
+ ->children()
+ ->arrayNode('foo')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('bar')
+ ->cannotBeEmpty()
+ ->defaultValue('***')
+ ->end()
+ ->end()
+ ->end() // end foo
+ ->end()
+ ;
+
+ return $treeBuilder;
+ }
+}
diff --git a/src/DependencyInjection/YupdesignContaoArchitectureProjectsExtension.php b/src/DependencyInjection/YupdesignContaoArchitectureProjectsExtension.php
new file mode 100644
index 0000000..7ecf7f2
--- /dev/null
+++ b/src/DependencyInjection/YupdesignContaoArchitectureProjectsExtension.php
@@ -0,0 +1,54 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\DependencyInjection;
+
+use Symfony\Component\Config\FileLocator;
+use Symfony\Component\DependencyInjection\ContainerBuilder;
+use Symfony\Component\DependencyInjection\Extension\Extension;
+use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
+
+class YupdesignContaoArchitectureProjectsExtension extends Extension
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function getAlias(): string
+ {
+ return Configuration::ROOT_KEY;
+ }
+
+ /**
+ * @throws \Exception
+ */
+ public function load(array $configs, ContainerBuilder $container): void
+ {
+ $configuration = new Configuration();
+
+ $config = $this->processConfiguration($configuration, $configs);
+
+ $loader = new YamlFileLoader(
+ $container,
+ new FileLocator(__DIR__.'/../../config')
+ );
+
+ $loader->load('parameters.yaml');
+ $loader->load('services.yaml');
+ $loader->load('listener.yaml');
+
+ $rootKey = $this->getAlias();
+
+ $container->setParameter($rootKey.'.foo.bar', $config['foo']['bar']);
+ }
+}
diff --git a/src/Model/ArchProjectsModel.php b/src/Model/ArchProjectsModel.php
new file mode 100644
index 0000000..5147e52
--- /dev/null
+++ b/src/Model/ArchProjectsModel.php
@@ -0,0 +1,22 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\Model;
+
+use Contao\Model;
+
+class ArchProjectsModel extends Model
+{
+ protected static $strTable = 'tl_arch_projects';
+}
diff --git a/src/YupdesignContaoArchitectureProjectsBundle.php b/src/YupdesignContaoArchitectureProjectsBundle.php
new file mode 100644
index 0000000..2ef9727
--- /dev/null
+++ b/src/YupdesignContaoArchitectureProjectsBundle.php
@@ -0,0 +1,40 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle;
+
+use Yupdesign\ContaoArchitectureProjectsBundle\DependencyInjection\YupdesignContaoArchitectureProjectsExtension;
+use Symfony\Component\DependencyInjection\ContainerBuilder;
+use Symfony\Component\HttpKernel\Bundle\Bundle;
+
+class YupdesignContaoArchitectureProjectsBundle extends Bundle
+{
+ public function getPath(): string
+ {
+ return \dirname(__DIR__);
+ }
+
+ public function getContainerExtension(): YupdesignContaoArchitectureProjectsExtension
+ {
+ return new YupdesignContaoArchitectureProjectsExtension();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function build(ContainerBuilder $container): void
+ {
+ parent::build($container);
+ }
+}
diff --git a/templates/MyCustom/my_custom.html.twig b/templates/MyCustom/my_custom.html.twig
new file mode 100644
index 0000000..b3dab4f
--- /dev/null
+++ b/templates/MyCustom/my_custom.html.twig
@@ -0,0 +1,15 @@
+{% block body %}
+
+ Welcome to our homepage
+
+ We are purchasing
+
+ {% for animal in animals %}
+
+
+ - {{ animal.color }} {{ animal.species }}
+
+
+ {% endfor %}
+
+{% endblock %}
diff --git a/tests/ContaoManager/PluginTest.php b/tests/ContaoManager/PluginTest.php
new file mode 100644
index 0000000..0ffaeeb
--- /dev/null
+++ b/tests/ContaoManager/PluginTest.php
@@ -0,0 +1,52 @@
+
+ * @license GPL-3.0-or-later
+ * For the full copyright and license information,
+ * please view the LICENSE file that was distributed with this source code.
+ * @link https://github.com/yupdesign/contao-architecture-projects-bundle
+ */
+declare(strict_types=1);
+
+namespace Yupdesign\ContaoArchitectureProjectsBundle\Tests\ContaoManager;
+
+use Contao\CoreBundle\ContaoCoreBundle;
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
+use Contao\ManagerPlugin\Bundle\Parser\DelegatingParser;
+use Contao\TestCase\ContaoTestCase;
+use Yupdesign\ContaoArchitectureProjectsBundle\ContaoManager\Plugin;
+use Yupdesign\ContaoArchitectureProjectsBundle\YupdesignContaoArchitectureProjectsBundle;
+
+/**
+ * @package Yupdesign\ContaoArchitectureProjectsBundle\Tests\ContaoManager
+ */
+class PluginTest extends ContaoTestCase
+{
+ /**
+ * Test Contao manager plugin class instantiation
+ */
+ public function testInstantiation(): void
+ {
+ $this->assertInstanceOf(Plugin::class, new Plugin());
+ }
+
+ /**
+ * Test returns the bundles
+ */
+ public function testGetBundles(): void
+ {
+ $plugin = new Plugin();
+
+ /** @var array $bundles */
+ $bundles = $plugin->getBundles(new DelegatingParser());
+
+ $this->assertCount(1, $bundles);
+ $this->assertInstanceOf(BundleConfig::class, $bundles[0]);
+ $this->assertSame(YupdesignContaoArchitectureProjectsBundle::class, $bundles[0]->getName());
+ $this->assertSame([ContaoCoreBundle::class], $bundles[0]->getLoadAfter());
+ }
+
+}
diff --git a/tools/phpunit/composer.json b/tools/phpunit/composer.json
new file mode 100644
index 0000000..67e74db
--- /dev/null
+++ b/tools/phpunit/composer.json
@@ -0,0 +1,6 @@
+{
+ "require": {
+ "phpunit/phpunit": "^9.5",
+ "contao/test-case": "^5.0"
+ }
+}
diff --git a/tools/phpunit/composer.lock b/tools/phpunit/composer.lock
new file mode 100644
index 0000000..cee39d7
--- /dev/null
+++ b/tools/phpunit/composer.lock
@@ -0,0 +1,1807 @@
+{
+ "_readme": [
+ "This file locks the dependencies of your project to a known state",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+ "This file is @generated automatically"
+ ],
+ "content-hash": "dcbe44d954a6efea212d55f3e71f40e2",
+ "packages": [
+ {
+ "name": "contao/test-case",
+ "version": "5.0.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/contao/test-case.git",
+ "reference": "10fcffa6237ab6cc6787430565af3ba9696938cf"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/contao/test-case/zipball/10fcffa6237ab6cc6787430565af3ba9696938cf",
+ "reference": "10fcffa6237ab6cc6787430565af3ba9696938cf",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^8.1",
+ "phpunit/phpunit": "^9.5"
+ },
+ "conflict": {
+ "phpunit/phpunit": "<8.0",
+ "roave/better-reflection": "<4.12.2 || >=6.0"
+ },
+ "require-dev": {
+ "contao/core-bundle": "self.version",
+ "doctrine/dbal": "^3.3",
+ "doctrine/orm": "^2.10",
+ "ext-pdo": "*",
+ "symfony/http-client": "^5.4 || ^6.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Contao\\TestCase\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "LGPL-3.0-or-later"
+ ],
+ "authors": [
+ {
+ "name": "Leo Feyer",
+ "homepage": "https://github.com/leofeyer"
+ }
+ ],
+ "description": "Contao 4 test case",
+ "support": {
+ "issues": "https://github.com/contao/test-case/issues",
+ "source": "https://github.com/contao/test-case/tree/5.0.7"
+ },
+ "funding": [
+ {
+ "url": "https://to.contao.org/donate",
+ "type": "custom"
+ }
+ ],
+ "time": "2022-11-14T09:51:34+00:00"
+ },
+ {
+ "name": "doctrine/instantiator",
+ "version": "1.4.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/instantiator.git",
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc",
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^9",
+ "ext-pdo": "*",
+ "ext-phar": "*",
+ "phpbench/phpbench": "^0.16 || ^1",
+ "phpstan/phpstan": "^1.4",
+ "phpstan/phpstan-phpunit": "^1",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "vimeo/psalm": "^4.22"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Marco Pivetta",
+ "email": "ocramius@gmail.com",
+ "homepage": "https://ocramius.github.io/"
+ }
+ ],
+ "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
+ "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
+ "keywords": [
+ "constructor",
+ "instantiate"
+ ],
+ "support": {
+ "issues": "https://github.com/doctrine/instantiator/issues",
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-03T08:28:38+00:00"
+ },
+ {
+ "name": "myclabs/deep-copy",
+ "version": "1.11.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/myclabs/DeepCopy.git",
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614",
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "conflict": {
+ "doctrine/collections": "<1.6.8",
+ "doctrine/common": "<2.13.3 || >=3,<3.2.2"
+ },
+ "require-dev": {
+ "doctrine/collections": "^1.6.8",
+ "doctrine/common": "^2.13.3 || ^3.2.2",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/DeepCopy/deep_copy.php"
+ ],
+ "psr-4": {
+ "DeepCopy\\": "src/DeepCopy/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Create deep copies (clones) of your objects",
+ "keywords": [
+ "clone",
+ "copy",
+ "duplicate",
+ "object",
+ "object graph"
+ ],
+ "support": {
+ "issues": "https://github.com/myclabs/DeepCopy/issues",
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0"
+ },
+ "funding": [
+ {
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-03T13:19:32+00:00"
+ },
+ {
+ "name": "nikic/php-parser",
+ "version": "v4.15.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nikic/PHP-Parser.git",
+ "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc",
+ "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc",
+ "shasum": ""
+ },
+ "require": {
+ "ext-tokenizer": "*",
+ "php": ">=7.0"
+ },
+ "require-dev": {
+ "ircmaxell/php-yacc": "^0.0.7",
+ "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
+ },
+ "bin": [
+ "bin/php-parse"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.9-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PhpParser\\": "lib/PhpParser"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Nikita Popov"
+ }
+ ],
+ "description": "A PHP parser written in PHP",
+ "keywords": [
+ "parser",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/nikic/PHP-Parser/issues",
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.2"
+ },
+ "time": "2022-11-12T15:38:23+00:00"
+ },
+ {
+ "name": "phar-io/manifest",
+ "version": "2.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phar-io/manifest.git",
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53",
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-phar": "*",
+ "ext-xmlwriter": "*",
+ "phar-io/version": "^3.0.1",
+ "php": "^7.2 || ^8.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0.x-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Arne Blankerts",
+ "email": "arne@blankerts.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Heuer",
+ "email": "sebastian@phpeople.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "Developer"
+ }
+ ],
+ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
+ "support": {
+ "issues": "https://github.com/phar-io/manifest/issues",
+ "source": "https://github.com/phar-io/manifest/tree/2.0.3"
+ },
+ "time": "2021-07-20T11:28:43+00:00"
+ },
+ {
+ "name": "phar-io/version",
+ "version": "3.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phar-io/version.git",
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Arne Blankerts",
+ "email": "arne@blankerts.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Heuer",
+ "email": "sebastian@phpeople.de",
+ "role": "Developer"
+ },
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "Developer"
+ }
+ ],
+ "description": "Library for handling version information and constraints",
+ "support": {
+ "issues": "https://github.com/phar-io/version/issues",
+ "source": "https://github.com/phar-io/version/tree/3.2.1"
+ },
+ "time": "2022-02-21T01:04:05+00:00"
+ },
+ {
+ "name": "phpunit/php-code-coverage",
+ "version": "9.2.21",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
+ "reference": "3f893e19712bb0c8bc86665d1562e9fd509c4ef0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/3f893e19712bb0c8bc86665d1562e9fd509c4ef0",
+ "reference": "3f893e19712bb0c8bc86665d1562e9fd509c4ef0",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-libxml": "*",
+ "ext-xmlwriter": "*",
+ "nikic/php-parser": "^4.14",
+ "php": ">=7.3",
+ "phpunit/php-file-iterator": "^3.0.3",
+ "phpunit/php-text-template": "^2.0.2",
+ "sebastian/code-unit-reverse-lookup": "^2.0.2",
+ "sebastian/complexity": "^2.0",
+ "sebastian/environment": "^5.1.2",
+ "sebastian/lines-of-code": "^1.0.3",
+ "sebastian/version": "^3.0.1",
+ "theseer/tokenizer": "^1.2.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-pcov": "*",
+ "ext-xdebug": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "9.2-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
+ "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
+ "keywords": [
+ "coverage",
+ "testing",
+ "xunit"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.21"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-12-14T13:26:54+00:00"
+ },
+ {
+ "name": "phpunit/php-file-iterator",
+ "version": "3.0.6",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "FilterIterator implementation that filters files based on a list of suffixes.",
+ "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
+ "keywords": [
+ "filesystem",
+ "iterator"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-12-02T12:48:52+00:00"
+ },
+ {
+ "name": "phpunit/php-invoker",
+ "version": "3.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-invoker.git",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "ext-pcntl": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-pcntl": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.1-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Invoke callables with a timeout",
+ "homepage": "https://github.com/sebastianbergmann/php-invoker/",
+ "keywords": [
+ "process"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
+ "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:58:55+00:00"
+ },
+ {
+ "name": "phpunit/php-text-template",
+ "version": "2.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Simple template engine.",
+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",
+ "keywords": [
+ "template"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T05:33:50+00:00"
+ },
+ {
+ "name": "phpunit/php-timer",
+ "version": "5.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-timer.git",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Utility class for timing",
+ "homepage": "https://github.com/sebastianbergmann/php-timer/",
+ "keywords": [
+ "timer"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:16:10+00:00"
+ },
+ {
+ "name": "phpunit/phpunit",
+ "version": "9.5.27",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/phpunit.git",
+ "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38",
+ "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/instantiator": "^1.3.1",
+ "ext-dom": "*",
+ "ext-json": "*",
+ "ext-libxml": "*",
+ "ext-mbstring": "*",
+ "ext-xml": "*",
+ "ext-xmlwriter": "*",
+ "myclabs/deep-copy": "^1.10.1",
+ "phar-io/manifest": "^2.0.3",
+ "phar-io/version": "^3.0.2",
+ "php": ">=7.3",
+ "phpunit/php-code-coverage": "^9.2.13",
+ "phpunit/php-file-iterator": "^3.0.5",
+ "phpunit/php-invoker": "^3.1.1",
+ "phpunit/php-text-template": "^2.0.3",
+ "phpunit/php-timer": "^5.0.2",
+ "sebastian/cli-parser": "^1.0.1",
+ "sebastian/code-unit": "^1.0.6",
+ "sebastian/comparator": "^4.0.8",
+ "sebastian/diff": "^4.0.3",
+ "sebastian/environment": "^5.1.3",
+ "sebastian/exporter": "^4.0.5",
+ "sebastian/global-state": "^5.0.1",
+ "sebastian/object-enumerator": "^4.0.3",
+ "sebastian/resource-operations": "^3.0.3",
+ "sebastian/type": "^3.2",
+ "sebastian/version": "^3.0.2"
+ },
+ "suggest": {
+ "ext-soap": "*",
+ "ext-xdebug": "*"
+ },
+ "bin": [
+ "phpunit"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "9.5-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/Framework/Assert/Functions.php"
+ ],
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "The PHP Unit Testing framework.",
+ "homepage": "https://phpunit.de/",
+ "keywords": [
+ "phpunit",
+ "testing",
+ "xunit"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27"
+ },
+ "funding": [
+ {
+ "url": "https://phpunit.de/sponsors.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-12-09T07:31:23+00:00"
+ },
+ {
+ "name": "sebastian/cli-parser",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/cli-parser.git",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for parsing CLI options",
+ "homepage": "https://github.com/sebastianbergmann/cli-parser",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
+ "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:08:49+00:00"
+ },
+ {
+ "name": "sebastian/code-unit",
+ "version": "1.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit.git",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Collection of value objects that represent the PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/code-unit",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:08:54+00:00"
+ },
+ {
+ "name": "sebastian/code-unit-reverse-lookup",
+ "version": "2.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Looks up which function or method a line of code belongs to",
+ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:30:19+00:00"
+ },
+ {
+ "name": "sebastian/comparator",
+ "version": "4.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/comparator.git",
+ "reference": "fa0f136dd2334583309d32b62544682ee972b51a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a",
+ "reference": "fa0f136dd2334583309d32b62544682ee972b51a",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3",
+ "sebastian/diff": "^4.0",
+ "sebastian/exporter": "^4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Volker Dusch",
+ "email": "github@wallbash.com"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@2bepublished.at"
+ }
+ ],
+ "description": "Provides the functionality to compare PHP values for equality",
+ "homepage": "https://github.com/sebastianbergmann/comparator",
+ "keywords": [
+ "comparator",
+ "compare",
+ "equality"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/comparator/issues",
+ "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-09-14T12:41:17+00:00"
+ },
+ {
+ "name": "sebastian/complexity",
+ "version": "2.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/complexity.git",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
+ "shasum": ""
+ },
+ "require": {
+ "nikic/php-parser": "^4.7",
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for calculating the complexity of PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/complexity",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/complexity/issues",
+ "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T15:52:27+00:00"
+ },
+ {
+ "name": "sebastian/diff",
+ "version": "4.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/diff.git",
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3",
+ "symfony/process": "^4.2 || ^5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Kore Nordmann",
+ "email": "mail@kore-nordmann.de"
+ }
+ ],
+ "description": "Diff implementation",
+ "homepage": "https://github.com/sebastianbergmann/diff",
+ "keywords": [
+ "diff",
+ "udiff",
+ "unidiff",
+ "unified diff"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/diff/issues",
+ "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:10:38+00:00"
+ },
+ {
+ "name": "sebastian/environment",
+ "version": "5.1.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/environment.git",
+ "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7",
+ "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-posix": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.1-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Provides functionality to handle HHVM/PHP environments",
+ "homepage": "http://www.github.com/sebastianbergmann/environment",
+ "keywords": [
+ "Xdebug",
+ "environment",
+ "hhvm"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/environment/issues",
+ "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-04-03T09:37:03+00:00"
+ },
+ {
+ "name": "sebastian/exporter",
+ "version": "4.0.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/exporter.git",
+ "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d",
+ "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3",
+ "sebastian/recursion-context": "^4.0"
+ },
+ "require-dev": {
+ "ext-mbstring": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Volker Dusch",
+ "email": "github@wallbash.com"
+ },
+ {
+ "name": "Adam Harvey",
+ "email": "aharvey@php.net"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@gmail.com"
+ }
+ ],
+ "description": "Provides the functionality to export PHP variables for visualization",
+ "homepage": "https://www.github.com/sebastianbergmann/exporter",
+ "keywords": [
+ "export",
+ "exporter"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/exporter/issues",
+ "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-09-14T06:03:37+00:00"
+ },
+ {
+ "name": "sebastian/global-state",
+ "version": "5.0.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/global-state.git",
+ "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2",
+ "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
+ },
+ "require-dev": {
+ "ext-dom": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-uopz": "*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Snapshotting of global state",
+ "homepage": "http://www.github.com/sebastianbergmann/global-state",
+ "keywords": [
+ "global state"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/global-state/issues",
+ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-02-14T08:28:10+00:00"
+ },
+ {
+ "name": "sebastian/lines-of-code",
+ "version": "1.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/lines-of-code.git",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
+ "shasum": ""
+ },
+ "require": {
+ "nikic/php-parser": "^4.6",
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for counting the lines of code in PHP source code",
+ "homepage": "https://github.com/sebastianbergmann/lines-of-code",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
+ "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-28T06:42:11+00:00"
+ },
+ {
+ "name": "sebastian/object-enumerator",
+ "version": "4.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/object-enumerator.git",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Traverses array structures and object graphs to enumerate all referenced objects",
+ "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:12:34+00:00"
+ },
+ {
+ "name": "sebastian/object-reflector",
+ "version": "2.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/object-reflector.git",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Allows reflection of object attributes, including inherited and non-public ones",
+ "homepage": "https://github.com/sebastianbergmann/object-reflector/",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:14:26+00:00"
+ },
+ {
+ "name": "sebastian/recursion-context",
+ "version": "4.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/recursion-context.git",
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
+ {
+ "name": "Adam Harvey",
+ "email": "aharvey@php.net"
+ }
+ ],
+ "description": "Provides functionality to recursively process PHP variables",
+ "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:17:30+00:00"
+ },
+ {
+ "name": "sebastian/resource-operations",
+ "version": "3.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/resource-operations.git",
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Provides a list of PHP built-in functions that operate on resources",
+ "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:45:17+00:00"
+ },
+ {
+ "name": "sebastian/type",
+ "version": "3.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/type.git",
+ "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e",
+ "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.2-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Collection of value objects that represent the types of the PHP type system",
+ "homepage": "https://github.com/sebastianbergmann/type",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/type/issues",
+ "source": "https://github.com/sebastianbergmann/type/tree/3.2.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2022-09-12T14:47:03+00:00"
+ },
+ {
+ "name": "sebastian/version",
+ "version": "3.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/version.git",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library that helps with managing the version number of Git-hosted PHP projects",
+ "homepage": "https://github.com/sebastianbergmann/version",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/version/issues",
+ "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:39:44+00:00"
+ },
+ {
+ "name": "theseer/tokenizer",
+ "version": "1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/theseer/tokenizer.git",
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-tokenizer": "*",
+ "ext-xmlwriter": "*",
+ "php": "^7.2 || ^8.0"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Arne Blankerts",
+ "email": "arne@blankerts.de",
+ "role": "Developer"
+ }
+ ],
+ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
+ "support": {
+ "issues": "https://github.com/theseer/tokenizer/issues",
+ "source": "https://github.com/theseer/tokenizer/tree/1.2.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/theseer",
+ "type": "github"
+ }
+ ],
+ "time": "2021-07-28T10:34:58+00:00"
+ }
+ ],
+ "packages-dev": [],
+ "aliases": [],
+ "minimum-stability": "stable",
+ "stability-flags": [],
+ "prefer-stable": false,
+ "prefer-lowest": false,
+ "platform": [],
+ "platform-dev": [],
+ "plugin-api-version": "2.3.0"
+}