Download the PHP package tresdstudioweb/dynamic-select without Composer

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

Dynamic Select

Dynamic Select - Statamic Addon

The Dynamic Select addon for Statamic streamlines the configuration of data relationships using taxonomies. This means that the options displayed in the second selector dynamically adjust based on the choice made in the first selector. This enhances user experience by providing an intuitive and personalized selection process, allowing users to focus on and choose only the relevant options based on their initial selection. It's essential to emphasize that taxonomies must be interconnected in a one-to-many relationship through dependent fields utilizing a foreign key in the taxonomy that acts as the dependent one.

Key Features:

Simplifies configuration of data relationships through taxonomies. Dynamically adjusts the options in the second selector based on the choice in the first selector. Enhances user experience by providing a personalized selection process.

How to Install

Installation:

  1. Navigate to the Tools > Addons section in the Statamic control panel.
  2. Search for "Dynamic Select" and click Install. OR Run the following command from your project root:

Using the Addon:

To make the most of the Dynamic Select addon, follow these steps:

  1. Create two taxonomies that will be related in a one-to-many relationship.
  2. Ensure that the dependent taxonomy has a field with a foreign key to link the data to the first taxonomy. This addon is specifically designed to assist in retrieving or populating dependent select fields within the content management control panel in Statamic. Make your data relationships seamless and enhance the user's ability to make informed and relevant selections.

How to Use

  1. Set Up Taxonomies:
    • Create two taxonomies establishing a one-to-many relationship.
    • Ensure the dependent taxonomy has a field with a foreign key linking it to the first taxonomy.
  2. Create Field Type:
    • Within the content you intend to use, create the field type.
    • Choose the "Dynamic-select" field type in the special section when configuring your content blueprints.
  3. Configure Resource:
    • In the resource configuration section, select "taxonomy" as the resource origin.
    • This enables the configuration section for the two taxonomies that will populate the two selects.
  4. Configuration of the First Taxonomy:
    • Three configuration fields are available: "First Taxonomy": Choose the taxonomy populating the first select. Primary Key": Specify the primary key column within the first taxonomy. "Text Field": Specify the column containing visible text for the end user.
  5. Configuration of the Second Taxonomy:
    • In this section, configure information for the second taxonomy with four fields: "Second Taxonomy": Choose the source of data for the second select (dependent one). "Foreign Key": Specify the foreign key in the second taxonomy establishing the one-to-many relationship with the first taxonomy. "Primary Key of the Second Taxonomy": Specify the primary key of the second taxonomy. "Text Field": Enter the name of the column containing text or labels for the second select. Follow these steps to seamlessly integrate and configure the Dynamic Select addon, enhancing the user's ability to make informed and relevant selections based on the dynamic relationships between the two taxonomies.

All versions of dynamic-select with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^3.0 || ^4.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 tresdstudioweb/dynamic-select contains the following files

Loading the files please wait ....