Download the PHP package eab/relatednodesbundle without Composer

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

EabRelatedNodesBundle

Summary

eZ Publish 5 bundle providing a very simple Related Nodes (Related Locations) datatype for eZ Publish 5.

Fields using the Related Nodes datatype can be accessed or displayed using the Symfony stack. To edit them you need to use the legacy stack.

The datatype does not check that locations/nodes exist or can be accessed by the current user. You will need to write your own code to do that.

More documentation

Copyright

Copyright (C) 2015 Enterprise AB Ltd

License

Licensed under GNU General Public License 2.0

Requirements

Requires eZ Publish 5.

Installation

  1. Install the bundle into vendors using composer:

    composer require --update-no-dev --prefer-dist eab/relatednodesbundle

    Or if you want to modify the bundle, clone the bundle into src using git:

    git clone https://github.com/eab-dev/EabRelatedNodesBundle.git src/Eab/RelatedNodesBundle
  2. Edit the file ezpublish/EzPublishKernel.php, look for the function registerBundles() and add:

    new Eab\RelatedNodesBundle\EabRelatedNodesBundle(),
  3. Run (in Windows you should be administrator to create symlinks):

    php ezpublish/console ezpublish:legacybundles:install_extensions
    php ezpublish/console ezpublish:legacy:script bin/php/ezpgenerateautoloads.php
    php ezpublish/console cache:clear --no-warmup --env=prod
  4. Use eZ Publish's admin interface to add a field using this datatype to a content type and create some content.

  5. Test it in a Twig template using ez_render_field. A basic usage would be:

    <div>
        {{ ez_render_field( content,
                            'my_related_node_field',
                            {
                                'parameters': {
                                                'viewType': 'line'
                                              }
                            } ) }}
    </div>

All versions of relatednodesbundle with dependencies

PHP Build Version
Package Version
Requires ezsystems/ezpublish-kernel 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 eab/relatednodesbundle contains the following files

Loading the files please wait ....