Download the PHP package marekskopal/typo3-recipe without Composer

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

Recipes for TYPO3 CMS

Adds a Recipe record type to georgringer/news. A recipe is a news item with the type Recipe that carries ingredient sections, instruction sections, nutrition information, and free-text fallback fields. The extension also emits schema.org Recipe JSON-LD structured data so search engines can render rich results.

Features

Examples

Requirements

Installation

After installation, run the database analyser in the TYPO3 Install Tool to create the required tables.

Setup

Include the TypoScript Set Recipe in your site package or via the site configuration sets. The Set wires the Recipe domain model as a tx_news subclass and exposes the partial path under plugin.tx_news.view.partialRootPaths.

Backend Setup

Create or edit a news record on a page where the News content element is placed. Switch the Type to Recipe and fill in the recipe palette:

Rendering the recipe

The extension ships Resources/Private/Partials/Recipe/Detail.html and registers its path on plugin.tx_news.view.partialRootPaths. Render it from your tx_news Detail template:

The partial renders ingredient sections, instruction sections, nutrition table, optional RTE fallbacks, and emits the JSON-LD block using the ViewHelper below.

JSON-LD ViewHelper

The Fluid ViewHelper <r:structuredData recipe="{recipe}" /> outputs a <script type="application/ld+json"> block with schema.org Recipe structured data. Register the namespace at the top of a template:

The structured data includes name, image, author, datePublished, description, keywords, recipeYield, nutrition, recipeIngredient, and recipeInstructions (using HowToStep for a single instruction section, or HowToSection when multiple sections exist).

Author Configuration

Configure the author block of the JSON-LD payload in the extension configuration (Admin Tools → Settings → Extension Configuration → ms_recipe):

Key Description
authorName Author name. Empty value omits the author field from the JSON-LD output.
authorUrl Optional author URL — written as author.url when set.

Customization

Templates

Override the bundled partial by adding your own path with a higher index:

Then provide a Recipe/Detail.html in that directory.

Styling

The bundled partial renders semantic markup (<ul> for ingredients, <ol> for instructions) without bundled CSS. Style the .recipe, .recipe-ingredients, .recipe-instructions, and .recipe-nutrition wrappers from your own site CSS.

License

GPL-2.0-or-later


All versions of typo3-recipe with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^13.4.24 || ^14.3.0
typo3/cms-extbase Version ^13.4.24 || ^14.3.0
georgringer/news Version ^14.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 marekskopal/typo3-recipe contains the following files

Loading the files please wait ...