Download the PHP package fond-of-spryker/contentful without Composer
On this page you can find all versions of the php package fond-of-spryker/contentful. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fond-of-spryker/contentful
More information about fond-of-spryker/contentful
Files in fond-of-spryker/contentful
Download fond-of-spryker/contentful
More information about fond-of-spryker/contentful
Files in fond-of-spryker/contentful
Vendor fond-of-spryker
Package contentful
Short Description A contentful connector for spryker.
License MIT
Package contentful
Short Description A contentful connector for spryker.
License MIT
Please rate this library. Is it a good library?
Informations about the package contentful
fond-of-spryker/contentful
A Spryker-Contentful connector. Import content from contentful to storage and updates it via cronjob.
Install
1. Add twig service provider to YvesBootstrap.php in registerServiceProviders()
2. Add ContentfulRouter to YvesBootstrap.php in registerRouters()
3. Add console command to ConsoleDependencyProvider.php in getConsoleCommands()
4. Add configs to your shop config file or in config/Shared/config_default.php
Example configuration
5. Add cronjob in jobs.php
Retrieve updated contentful entries every 5min.
6. Run
Console commands
Import last updated entries (last 5min)
Import all
Import entry by id
Usage in twig templates
Template path is Theme/default/contentful/[contentType].twig
Access contentful properties in twig templates like the following example:
Markdown to html
Image resize
Fields
Text (Default)
Boolean
Asset
Array
Reference
Object (Json)
{{ entry.[assetFieldName].type }} // 'Object'
{{ entry.[assetFieldName].value }} // ContentfulEntryId
# Pages
- If the contentful entry has a "Indentifier" field (URL) it will be imported as page with the given route via IdentifierImporterPlugin.
- Add an additional ResourceCreator to add custom logic to a special contentful entry type.
- More documentation soon
All versions of contentful with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-json Version *
aptoma/twig-markdown Version 2.0.0
contentful/contentful Version ^6.0.0
michelf/php-markdown Version 1.9
spryker/category-storage Version ^2.4
spryker/event-behavior Version ^1.24
spryker/key-builder Version ^1.1
spryker/locale Version ^3.3.0
spryker/storage Version ^3.14.0
spryker/store Version ^1.12.1
spryker/twig Version ^3.8.2
ext-json Version *
aptoma/twig-markdown Version 2.0.0
contentful/contentful Version ^6.0.0
michelf/php-markdown Version 1.9
spryker/category-storage Version ^2.4
spryker/event-behavior Version ^1.24
spryker/key-builder Version ^1.1
spryker/locale Version ^3.3.0
spryker/storage Version ^3.14.0
spryker/store Version ^1.12.1
spryker/twig Version ^3.8.2
The package fond-of-spryker/contentful contains the following files
Loading the files please wait ....