Download the PHP package shel/neos-colorpicker without Composer

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

Color Picker Editor for Neos CMS

Latest Stable Version Total Downloads License

Introduction

This package provides a Color Picker Editor which can be used in Neos CMS with the Neos.Ui 2+.

This editor is based on the example in https://github.com/neos/neos-ui-extensibility-examples but has some modifications in regards to styling, supports the alpha channel and has a reset button to unset a value.

Example

See it in action.

Installation

Run this in your site package

Then run composer update in your project directory.

How to use

Add a property of type string and configure the editor as seen in this example:

Your NodeType:

Your Fusion:

Customization

The editor allows some global default options via your Settings.yaml file:

mode allows you to store the selected color values in a different format if needed. This can be helpful, when the hsl format is needed to get the individual components.

presetColors lets you customize the list of color squares that are available for quick selection.

Advanced preset usage

The presetColors option can have two shapes. One is just a simple list of color strings, the other one is a list of objects with a color (hex) and optional title and value properties.

The value can be used to store a value different from the presets color value. This value is only used when the mode is set to preset which in turn will also disable the color picker and the color fields. The benefit of this option is that you can show a color value to the user but store a different value in the node property. F.e. a CSS classname.

Contributions

Contributions are very welcome!

Please create detailed issues and PRs.


All versions of neos-colorpicker with dependencies

PHP Build Version
Package Version
Requires neos/neos Version ^5.3 || ^7.0 || ^8.0 || dev-master
neos/neos-ui Version ^5.3 || ^7.0 || ^8.0 || dev-master
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-colorpicker contains the following files

Loading the files please wait ....