Download the PHP package shel/neos-themebuilder without Composer

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

Theme builder for Neos CMS

This is a Neos CMS plugin for managing themes with CSS variables from the backend and for simplifying rendering of style attributes in AFX.

By defining theme properties in a NodeType mixin, these can be configured on the homepage or subpages and used to globally control your projects look & feel, or to allow choosing styles for individual elements from the defined properties. Think of defining various colors, spacings, font sizes, etc. in a theme and using them in your project.

This results in a flexible way to provide freedom and yet consistency in the design of your project.

Features

Installation

Install the package via composer in your site package:

Then run composer update shel/neos-theme-builder in your project root.

It is suggested to also install shel/neos-colorpicker in the same way to have a color picker for the theme properties.

Usage

Define theme properties

Add additional properties to your theme mixin NodeType:

Then extend your page NodeType with this mixin:

Now you can set the primary color in the inspector tab with the sun icon of your page and use the value in your project via CSS variable var(--primary-color). You can find all generated CSS variables in the head of your html document contained in a style tag.

By applying the mixin to any page you can also have local overrides for landing pages or other special pages.

Use theme properties in other elements

You can use the theme properties in other elements by using the themeBuilder.colorSelector preset.

Example:

This will render a select box in the inspector with all available colors from the theme properties.

Helpers

Generate CSS from props for style attributes

Define styles f.e. as private prop in a component and use it in the AFX template:

This will render the following HTML:

Note: Empty or null values will be filtered out automatically, so you don't need conditions for standard cases.

Contributions

Contributions are very welcome!

Please create detailed issues and PRs.


All versions of neos-themebuilder with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
neos/neos Version ^9.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 shel/neos-themebuilder contains the following files

Loading the files please wait ....