Download the PHP package carbon/backenddocument without Composer

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

Latest stable version Total downloads License GitHub forks GitHub stars GitHub watchers

Carbon.BackendDocument Package for Neos CMS

Two small Fusion prototypes to create nice only-backend documents.

Version Neos Maintained
1.* 3.3.* - 5.*
2.* 4.* - 5.*
3.* 7.*
4.* 4.3.* - 5.*
5.* 7.* - 8.*

Installation

Carbon.BackendDocument is available via packagist.
Run the following command in your site package

Then run composer update in your project root.

Usage of Carbon.BackendDocument:Document

Property Default value Description
singleline true If you want to have a non-centric design, set this to false
content null The content to show
style null Add additional style to the document
title ${q(node).property('title')} The title of the document
namespace carbon-backend The namespace for the css class
javascripts null Add javscript to the document. Please provide also a script tag.
frontendRedirect.node ${q(documentNode).parent().get(0)} The node where the user get redirected in the frontend.
frontendRedirect.statusCode 301 The status code for the redirection
cssVariables null Add your own CSS custom properties
documentStyle Please take a look at the source code Modify/add/remove styles for the backend docment

Usage of Carbon.BackendDocument:Editable

If you use this prototype on a regular document, the editor has the default styling from Neos.Neos:Editable. If you use it on Carbon.BackendDocument:Document, the editor gets the look of an inspector field.

If a value gets updated, a Javascript event with the name Carbon.BackendDocument:Editable gets fired. This event has the following details:

Property Default value Description
node node A node instance that should be used to read the property.
property null The name of the property which should be accessed
type input Set the type of editor. For possible values look at the next table
options Neos.Fusion:DataStructure Used for type select and radio
optionGroups Neos.Fusion:DataStructure Used for type select
label null Prepend a label
placeholder null Overwrite the placeholder from the nodetype definition. This can also be dynamic
class null Add your own CSS class if you want to override some stylings
style null Add your own style to the root element
includeCSS true Inlcude the styling
inspectorStyle true If set to true and used under Carbon.BackendDocument:Document, the styling will adapt to the inspector style
fallback null Fallback for the frontend if no value is given
editable true Switch if the value should be editable

Be aware! If one element on a document has set includeCSS to true, this get's included for the whole document.

Types

Value Description
input No linebreaks, no tags, but autogrowing textfield
select Select values, uses options and optionGroups DataStructure
radio Select values, uses options DataStructure
block Default editor, block style
inline Default editor, inline style

All versions of backenddocument with dependencies

PHP Build Version
Package Version
Requires neos/neos Version ^7.0 || ^8.0
neos/fusion-afx Version ^7.0 || ^8.0
sitegeist/slipstream Version ^2.0
carbon/eel Version ^1.13 || ^2.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 carbon/backenddocument contains the following files

Loading the files please wait ....