Download the PHP package techdivision/flexcolumnlayouts without Composer

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

Flex-ColumnLayouts for Neos CMS

Based on TailwindCSS, but offers also css classes for Bootstrap4.
It extends your standard Neos-ColumnLayouts with flex properties, so you can adjust every column with css flex properties.

Get started

  1. Install the package via packagist: Add "techdivision/flexcolumnlayouts" : "~4.0" to the require section of the composer.json or run composer require techdivision/flexcolumnlayouts.
  2. If needed (i.e. nothing follow the instructions under "TailwindCSS" or "Bootstrap4"
  3. Apply a node migration, if you want to use this feature on existing nodes.

For editors

You find a lot of settings now in your multi-column nodes. We kept the css names instead of more speaking ones and added some links to an interactive documentation right in the inspector. Flex is sometimes better understood if you try it out.

Note: All the settings can be overidden per breakpoint.

NodeType level

Here you can see, how it looks like on NodeType level: You have plenty of options to adjust your columns IF YOU EXTEND ALL ADVANCED FEATURES WITH SUPERTYPES Go to Extend Flex-Properties With More Advanced Features section

You have the following options for the whole grid

Column level

Here you can see, how it looks like on Column level: There you can override your options.

Principle

The idea behind this package is to have a full extendable set of options for flex layouts available, so you can:

  1. Do some experiments
  2. Check which layouts improve experience, readability and layout on your website
  3. Build new NodeTypes from that template

Having all those options at hand might be too complicated for some editors, but gives a great toolbox for advanced ones. Therefore we keep the default features as simple as possible. Go to Extend Flex-Properties With More Advanced Features section

For developers

TailwindCSS

If you already use tailwindcss in your project, you are all set and the classnames will be available to you. If not, you have several choices:

  1. (default) include the small css we deliver with this package which only include tailwind flex classnames
  2. include the latest tailwind css build in your project (might be oversized)
  3. include the scss files we provide in this package that produces tailwind-like classes

Bootstrap 4 & 5 Support

If you are using Bootstrap 4 or 5 in your project and have Flex Utilities 4 or Flex Utilities 5 available, you just have to:

Adding or Changing wrapper or column classes

In case if you want wrap the Flex-Container you can easily add your desired class (in this case container-fluid or container) within the fusion for MultiColumn. Also, you can add classes for Columns like this:

Node Migration

In case you do not start with a fresh project, but want to have those features available on your existing multi-column containers as well, we provided you with a node migration:
Use with caution and only if you know what you are doing!

Change breakpoint settings

If you include the scss files, you can overwrite the breakpoint variables defined by default:

Remove/Adjust breakpoint

To get rid of a breakpoint you just have to remove the breakpoint from SCCS and change the YAML configuration.

e.g. you want to remove the md breakpoint and edit some labels to increase the usability for the Editor

Enable More Flex-Properties

On Default only the basic features are enabled, to keep it simple but essential features for a better usability for editors.

Extend flex-properties with more advanced features To activate the [ Intermediate ] or [ Advanced ] features, you could activate them by extending the superTypes as follows:

Flex Grid:

out of the box: only define Grid-Col sizes for breakpoints.

Intermediate level will enable flex-properties:

Add this to your YAML-Configuration:

Advanced level will enable all from Intermediate and enable flex-properties:

Add this to your YAML-Configuration:

Flex Column:

Intermediate level will enable:

Add this to your YAML-Configuration:

Advanced level will enable all from Intermediate and enable flex-properties:

Add this to your YAML-Configuration:

Disable nesting of grids

Breaking Change from version 3 to 4

One Column Layout will lose the col0 content collection, instead content will be directly inserted into the One Column Layout, this will result in losing content after updating. With ./flow node:repair --node-type TechDivision.NodeTypes.FlexColumnLayouts:OneColumn you can delete the col0 from your One Column Layout, but you still have to add the old content manually.

Attention

Consider the loading order of your loaded packages!

Contribution

If you want to contribute or found a bug, pls provide a PR or file an issue - or get in touch with us!


All versions of flexcolumnlayouts with dependencies

PHP Build Version
Package Version
Requires neos/neos Version ^5.0 || ^7.0 || ^8.0
neos/fusion-afx Version *
neos/nodetypes-columnlayouts Version *
shel/neos-colorpicker Version *
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 techdivision/flexcolumnlayouts contains the following files

Loading the files please wait ....