hmmh/safes4typo3

Front-end stage server for developing stand-alone fluid templates without having to use TYPO3.

0.5.0 2019-09-13 12:31 UTC

This package is auto-updated.

Last update: 2024-11-14 00:04:21 UTC


README

This is a skeleton for developing Fluid templates without a TYPO3 backend (or a virtual machine setup).

Table of contents

  1. Requirements
  2. Installation
  3. Setup
  4. Start development
  5. Useful View Helpers
  6. Directory Structure

Requirements

PHP 7.1

macOS 10.12 <= 10.13:

brew:

$ brew install php@7.1
$ brew install composer

MacPorts:

$ sudo port install php71
$ sudo port install php71-openssl php71-zip

Then: Following the instruction on https://getcomposer.org/download/

macOS >= 10.14 (Mojave):

brew:

$ brew install composer

MacPorts

Following the instruction on https://getcomposer.org/download/

Windows:

Following the instruction on https://windows.php.net/download#php-7.1 Then: Following the instruction on https://getcomposer.org/download/

Multiple PHP version:

Have a look here: https://github.com/phpbrew/phpbrew

Installation

Simply require this package into your new sub-project:

$ cd src_frontend
$ mkdir src_html
$ cd src_html
$ composer init
...
$ composer require hmmh/safes4typo3
...

Setup

Implements script entry in your composer.json for the help message after installation process to inform the developer what are the next step:

"scripts": {
    "post-install-cmd": [
        "HMMH\\SAFES\\DeveloperHelper::runSafes"
    ],
}