2017 © Pedro Peláez
 

typo3-cms-extension t3view

An extension that outputs system information as JSON

image

visuellverstehen/t3view

An extension that outputs system information as JSON

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 491 % Grown

The README.md

Build Status Downloads, (*1)

t3view

This extension will provide several system information via an endpoint. In the client-server model context it represents the server., (*2)

Installation

  1. composer require visuellverstehen/t3view
  2. Open up the extension manager in the TYPO3 backend and active the extension.
  3. Add a secret to the extension settings to protect the endpoint.
  4. The endpoint is then available through /index.php?type=5996&secret=yoursecret

Endpoint

The endpoint is usally /index.php?type=5996 and secured with a hash / secret which is generated while creating a new instance in the backend. It will return a JSON object containing several system information, take a look at the example output below. The endpoint can be rewritten via RealURL, but it's not mandatory., (*3)

Since TYPO3 9.5 LTS it is also possible to add Route Enhancer in your site configuration which removes the need of RealURL. Example:, (*4)

routeEnhancers:
  PageTypeSuffix:
    type: PageType
    map:
      t3view.json: 5996

The endpoint is then available under /t3view.json?secret=yoursecret, (*5)

Security

The endpoint is secured with a 60 character hash called secret. It is generated while creating a new instance in the backend using Laravel's \Illuminate\Hashing\BcryptHasher::make() method (learn more about Laravel hashing) which uses the PHP password_hash() function with the CRYPT_BLOWFISH algorithm., (*6)

Example output

    {
        "applicationContext": "Development",
        "composer": true,
        "databaseVersion": "MySQL 5.7.19",
        "extensions": [
            {
                "key": "sourceopt",
                "version": "1.0.0"
            },
            {
                "key": "t3view",
                "version": "1.0.0"
            }
        ],
        "phpVersion": "7.1.10",
        "serverSoftware": "Apache\/2.4.25 (Unix) PHP\/7.1.10",
        "sitename": "Test setup",
        "typo3Version": "8.7.8"
    }

Requirements

  • TYPO3 6.2 – 9.5
  • PHP >= 5.6

Miscellaneous

  • Read code comments, they will explain a lot.
  • Contributing is welcomed, just open a pull request or help us with an issue.
  • This was part of my graduation project.

The Versions

28/02 2018

dev-master

9999999-dev https://github.com/visuellverstehen/t3view_extension/

An extension that outputs system information as JSON

  Sources   Download

The Requires

 

28/02 2018

v1.0.2

1.0.2.0 https://github.com/visuellverstehen/t3view_extension/

An extension that outputs system information as JSON

  Sources   Download

The Requires

 

25/10 2017

v1.0.1

1.0.1.0 https://github.com/visuellverstehen/t3view_extension/

An extension that outputs system information as JSON

  Sources   Download

The Requires

 

25/10 2017

v1.0.0

1.0.0.0 https://github.com/visuellverstehen/t3view_extension/

An extension that outputs system information as JSON

  Sources   Download

The Requires