Download the PHP package code711/updatetrutstedhostsfromsite without Composer

On this page you can find all versions of the php package code711/updatetrutstedhostsfromsite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package updatetrutstedhostsfromsite

TYPO3 Site config - automatic updates to $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern']

Latest Stable Version TYPO3 12 TYPO3 11 Total Downloads Monthly Downloads PHPSTAN:Level 9 build:passing

This TYPO3 extension will automatically update the $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] variable when changes to the Site Configurations are made, reflecting the used domains in the system.

This is achieved with the Extension EXT:siteconfigurationevents which provides PSR-14 events when changing the Site config in the backend.

Additionally a command for CLI is available to update the trusted host pattern from the shell or during CI/CD or as a scheduler task via cron.

./vendor/bin/typo3 code711:updatetrustedhostfromsites -h        ✔  10118  16:52:23
Description:
  update SYS/trustedHostsPattern based on the site configuration

Usage:
  code711:updatetrustedhostfromsites

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Calling the command with -v or --verbose will print the new value to the console additionaly to setting it in the config.

Installation

composer req code711/updatetrustedhostfromsites

Configuration

to date no configuration options are available

Remarks

This extension WILL yield to the TYPO3_CONTEXT (or other similar) Environment Variable if Variations in the Site Configs are set.

A . will not be escaped (as it should be). This is a limitation as the escape character \ would be escaped again by the exporter somehow.


All versions of updatetrutstedhostsfromsite with dependencies

PHP Build Version
Package Version
Requires php Version 7.4.*||8.0.*||8.1.*||8.2.*
typo3/cms-core Version 11.5.*||^12.0
code711/siteconfigurationevents Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package code711/updatetrutstedhostsfromsite contains the following files

Loading the files please wait ....