carbon/filecontent

This package is abandoned and no longer maintained. The author suggests using the carbon/eel package instead.

Include file content helper for Neos CMS

1.1.3 2018-06-22 10:51 UTC

README

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers

Carbon.FileContent Package for Neos CMS

Deprecated. Please use Carbon.Eel

Version Neos
0.5* 2.*
> 1.1 3.* + 4.*

Fusion Prototypes

Carbon.FileContent:FileContent

This prototype read a file from a path or resource. Used for including the files inline.

Carbon.FileContent:HashOfFile

This prototype read a file from a path or resource and return a md5 based string.

Installation

Most of the time you have to make small adjustments to a package (e.g., the configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:

composer require carbon/filecontent --no-update

To install the package under Neos 2.* you have to enter

composer require "carbon/filecontent:^0.5"--no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Et voilà! Your desired package is now installed correctly.

License

Licensed under MIT, see LICENSE