Download the PHP package eminos/statamic-field-item-relationship without Composer

On this page you can find all versions of the php package eminos/statamic-field-item-relationship. 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 statamic-field-item-relationship

Statamic Field Item Relationship

A Statamic plugin that adds a Field Item Relationship fieldtype.
With Field Item Relationship you can select a value from a source fields' items. That source field could be a sibling or ancestor field (in the same blueprint), or come from a Global set.

Installation

Install this plugin using composer.

Features

Field configuration

The field configuration will depend on the source field data type.
Depending on if the source data is a simple array of strings, an array of objects or an individual object, different "Save as" options will be possible.

You will get a warning message in the field if the field configuration isn't compatible with the source field data.

Tag usage

This fetches the source value from the configured source field in field "field_item_relationship_field".

If the source value is an object you get its values like this.

Or by specifying the target field in the tag like this:

Even nested fields work, like this:

You can also get Global fields:

An other way is to use the field and path parameters:

Screenshots

A few different examples.

A real life example with the source field being in a Global set.

The field configuration options.

Advanced option label configuration.

Possible improvements

License

The MIT License (MIT). Please see License File for more information.


All versions of statamic-field-item-relationship with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^3.0||^4.0||^5.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 eminos/statamic-field-item-relationship contains the following files

Loading the files please wait ....