As long as composer support in CMS is "not there yet", you need to get around somehow.
Say you want to use the (awesome) markdown library, you need a way to get it in.
- Use a container extension with a private namespace
<?php | |
namespace Project\Namespace\Hooks; | |
use Psr\Http\Message\ResponseInterface; | |
use Psr\Http\Message\ServerRequestInterface; | |
use TYPO3\CMS\Backend\Utility\BackendUtility; | |
use TYPO3\CMS\Core\Core\Bootstrap; | |
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; |
* run gen_keys.sh | |
* run keycloak_server.sh | |
Take a look at kcadm on how to import more diverse data points like idp metadata and client configurations. | |
Also take a look at the simple import / export stuff at https://hub.docker.com/r/jboss/keycloak/ |
#!/bin/env bash | |
## Needs `jq` (https://stedolan.github.io/jq/) on PATH | |
## and a personal gogs token of yours. | |
## Obtain token from https://git.example.com/user/settings/applications | |
## Usage: | |
## ./migrate.sh $clone_url $project_name [$optional_group] | |
## Migrate a repository to gogs into the user namespace of the token-user | |
## ./migrate.sh git@mygitlab.com:group/repo.git repo | |
## Migrate a repository to gogs into the group namespace `group` (needs to exist) |
<?php | |
/** | |
* @package dlrg_seminare | |
* @subpackage Provider/Configuration | |
*/ | |
namespace DLRG\DlrgSeminare\Provider\Configuration; | |
class DlrgSeminareConfigurationProvider |
#!/bin/bash | |
source ~/.bash_profile | |
VERSION=$(date +%Y%m%d%H%M%S) | |
BASE_DIRECTORY=/var/www/virtual/foxyzor/html/application | |
SOURCE_ROOT=$BASE_DIRECTORY/versions/$VERSION | |
SHARED_FOLDER=$BASE_DIRECTORY/shared | |
STORAGE_FOLDER=$BASE_DIRECTORY/shared/storage | |
CURRENT_LINK=$BASE_DIRECTORY/current |
{ | |
"user": "userid", | |
"brand": "brandid", | |
"label": "Publish", | |
"message": "message provided", | |
"assets": [ | |
{ | |
"url":"https://s3-url", | |
"type":"PNG", | |
"name":"0001-9416535780.png" |
<?php | |
/** | |
* We have to increse the database name. You could also have a meaningful name, | |
* but it has to be unique, so the caches do not interfere. | |
**/ | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; | |
/** | |
* Options as per http://docs.typo3.org/typo3cms/CoreApiReference/CachingFramework/FrontendsBackends/Index.html#caching-backend-redis | |
**/ |
address=/t3cmsdev/127.0.0.1 | |
address=/l/127.0.0.1 | |
address=/silex/127.0.0.1 | |
address=/symfony2/127.0.0.1 | |
address=/dev/127.0.0.1 |
<?php | |
namespace Vendor\ExtensionKey\Helpers; | |
/** | |
* This file is part of the TYPO3 CMS project. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* |