Download the PHP package in2code/fetchurl without Composer

On this page you can find all versions of the php package in2code/fetchurl. 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 fetchurl

TYPO3 Extension fetchurl

Purpose

The task of this extension is to fetch an URL from the internet and display it on a website.

Features

Installation

via composer

composer require in2code/fetchurl

via the TYPO3 Extension Manager

or

Configuration

Templating

Copy the folder contents from EXT:fetchurl/Resources/Private/Templates/ to any location and set the new path via TypoScript setup:

Activate Features

Activate the iframe switch and link to your privacy page

Append additional parameters

It is possible to attach additional parameters to all requests of EXT:fetchurl.\ This is done with the TypoScript keys "additionalParameter.static" and "additionalParameter.iframe".

Existing parameters and the original fragment are kept.

Note: If a parameter is specified in the url and also set by TypoScript, the value in the original url is overwritten and the value from TypoScript is used.

See the example below (for parameterName=parameterValue):

flexform url final url
https://example.com/ https://example.com/?parameterName=parameterValue
https://example.com/#c123 https://example.com/?parameterName=parameterValue#c123
https://example.com/?id=12#c123 https://example.com/?id=12¶meterName=parameterValue#c123
https://example.com/?id=12¶meterName=abc#c123 https://example.com/?id=12¶meterName=parameterValue#c123

Events

Signal class name Event name information
\In2code\Fetchurl\Domain\Service\FetchService AfterUrlBuildEvent after the protocol and additional parameter are added
\In2code\Fetchurl\Domain\Service\FetchService AfterHtmlFetchEvent after the content fetched
\In2code\Fetchurl\Domain\Service\IframeService AfterUrlBuildEvent after the protocol and additional parameter are added

Screenshots

Frontend example:

Plugin for editors in backend:

Example for a privacy save 2-click-solution:

Changelog

Version Date State Description
5.0.3 2023-11-26 Bugfix Tiny bugfix
5.0.2 2023-11-25 Bugfix Fix GH action for TER release
5.0.1 2023-11-25 Bugfix two tiny bugfixes
5.0.0 2023-07-07 Feature TYPO3 V12 compatibility, switchable controller actions to CTypes, upgrade wizards added, replaced signals with events
4.5.2 2021-03-17 Bugfix Add extension key to composer.json, small development updates
4.5.1 2021-03-05 Bugfix Adjust composer.json
4.5.0 2021-03-05 Feature Support TYPO3 11
4.4.2 2021-03-04 Task First TER release by @in2code-de
4.4.1 2021-02-22 Bugfix Allow urls starting with "//"
4.4.0 2020-08-19 Task Don't add empty values to additionalparameters
4.3.0 2020-08-18 Feature Allow typoscript stdwrap for additionalparameters
4.2.0 2020-08-13 Feature Add typoscript option to add additional parameter to the flexform url, add "afterUrlBuild" signals
4.1.1 2020-08-13 Bugfix Replace signalSlogDispatcher phpDoc injection with method injection
4.1.0 2020-04-24 Feature Declare extension compatible with TYPO3 V10
4.0.2 2020-03-10 Bugfix Remove sandbox-attribute of the iframe
4.0.1 2020-03-02 Bugfix Fix small typo in template file
4.0.0 2020-02-27 Feature Add a 2-click solution for iframes
3.5.0 2019-07-29 Task Use subtree split in composer for TYPO3 core
3.4.0 2017-02-18 !!!Task Small refactoring, allow url without protocol
3.3.1 2017-02-16 Bugfix Show additional fields if plugin mode == iframe
3.3.0 2017-02-01 Feature Set iFrame width and scrollbars in FlexForm
3.2.0 2017-02-01 Feature Set iFrame height in FlexForm
3.1.0 2016-12-22 Task Remove refactor ext_tables.php for T3 8.5 and newer
3.0.2 2016-12-02 Bugfix Remove version from composer.json
3.0.1 2016-12-02 Bugfix Hide not needed tt_content fields
3.0.0 2016-11-28 Task Add iframe feature
2.0.0 2016-05-23 Initial Initial release of the fork of typo3-ter/fetch-url

All versions of fetchurl with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.0
typo3/cms-core Version ^12.4 || ^13.4
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 in2code/fetchurl contains the following files

Loading the files please wait ....