Download the PHP package encoredigitalgroup/dynamicdata without Composer

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

EncoreDigitalGroup.DynamicData

This package is designed to allow you to create dynamic data objects that can be used in your code. This is useful for when you need to store user defined information in a standard but still flexible structure.

Installation

Creating a new Dynamic Data Object

Let's create a Dynamic Data Object for someone's favorite TV Show

In the above example, we did not utilize every method to set every field, such as setIsEncrypted, as the default value of setIsEncrypted is false. We also instructed DynamicData not to encrypt the value supplied to setValue. As you would expect, any optional field that is not defined on the DynamicData() object, will be set to null when any build() method is called.

Field Information

Field Name Required Default Value
Name
Type null
Label
Value null
Source.Name null
Source.Scope null
External true
Required false
Excrypted.Is false
Encrypted.Shall false

Dynamic Data JSON Structure

Here is an example of what a dynamic data field looks like:

The your_custom_field key is the name of the field. This is used to identify the field in your code quickly rather than needing to loop over each item checking the name of the field.

The name key inside of your_custom_field should be the same value as the key in which it resides. This is used so you can easily use this field name in your code should you need it.

The type key is used to identify what type of field this is. Encore Digital Group uses this field to determine what blade component should be used when rendering this field.

The label key is used to display a label to the user when they are editing this field.

The source.name key is used to identify where the data for this field lives. Encore Digital Group uses this field to determine what third party API to use to retrieve the data for this field.

The source.scope key is used to identify what scope to apply to the data source. For instance, if you need to add additional logic to the data source to retrieve the data, you can use this field to identify what scope to apply in you code.

The external key is used to determine if this field should be displayed to users.

The required key is used to determine if the user is required to provide a value to the field.

The encrypted.is key is used to determine if the value of the field is currently encrypted. More than likely, encrypted.is will be true if encrypted.shall is true. However, if a value has never been set for this field, then encrypted.is will be false.

The encrypted.shall key is used to determine if the value of the field should be encrypted. If encrypted.shall is true, then when the dynamic data is being encoded, this package will encrypt this field using you Laravel APP_KEY.


All versions of dynamicdata with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^10|^11|^12
spatie/laravel-package-tools Version ^1.14
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 encoredigitalgroup/dynamicdata contains the following files

Loading the files please wait ....