Download the PHP package paessler/anchorlink without Composer

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

Paessler.AnchorLink

Extends the Neos CKE5 link-editor with server-side resolvable anchor links.

anchorlink

Installation

  1. Install the package: composer require paessler/anchorlink

  2. Enable additional linking options with such config:

  3. For all content nodetypes that you would like to be able to link to, inherit from Paessler.AnchorLink:AnchorMixin, e.g.:

  4. Adjust the rendering for those nodes to insert anchors before them, e.g. there is included a Fusion processor to help with that:

Note: this will add an id attribute to the corresponding output. For this to work reliably the corresponding prototype should render a single root element. Otherwise an additional wrapping div element will be rendered. Also the rendered content must not already contain an id attribute because it would be merged with the one from the augmentor in that case.

Configuration

It's possible to configure the content node nodetype that is used for linking. Also it's possible to use a different property for the anchor value and the label via Settings.yaml.

These are the defaults:

It's possible to disable the searchbox or adjust its threshold via Settings.yaml, the default settings are:

Low-level Customization

Finally, it is possible to create a completely custom anchor nodes resolver.

Create a class implementing AnchorLinkResolverInterface that would take the current content node, link and a searchTerm and return an array of options for the link anchor selector and configure it in Objects.yaml like this:

Development

If you need to adjust anything in this package, just do so and then rebuild the code like this:

And then commit changed filed including Plugin.js

About

The package is based on the DIU.Neos.AnchorLink package. We thank the DIU team for all the efforts.


All versions of anchorlink with dependencies

PHP Build Version
Package Version
Requires neos/neos-ui Version ^9.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 paessler/anchorlink contains the following files

Loading the files please wait ...