Download the PHP package vardot/entity-definition-update-manager without Composer

On this page you can find all versions of the php package vardot/entity-definition-update-manager. 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 entity-definition-update-manager

Entity Definition Update Manager

Provides developers with a class to perform automatic entity updates.

Use only in development environment. Not to use on production websites.

Support for automatic entity updates has been removed

https://www.drupal.org/node/3034742

User deprecated function: EntityDefinitionUpdateManagerInterface::applyUpdates() was deprecated in Drupal 8.7.0 and was removed before Drupal 9.0.0.

How to Use Entity Definition Update Manager Class

Customized class for the entity definition update manager.

Require the Package in your root composer.json file

Or require the Package in your Project with a command

1. Add Needed Namespace

Add the following name space at in custom modules or custom installation profiles.

2. Do Any Type of Configuration Import or Updates

Import or update configs in hook install or hook update, or any post install or post update.

3. Run the Class Resolver for the Instance From the Definition Class

Example Use On Installs

Varbase Core is important number of managed configurations on install. It needed to update entity definitions after that.

Have a look at the varbase_core_install hook function

https://git.drupalcode.org/project/varbase\_core/-/blob/9.0.x/varbase\_core.install\#L77

Example Use On Updates

Varbase API in some point needed to update configurations in a hook update. It needed to update entity definitions after that. Which did not work without entity definition update.

Have a look at the varbase_api_update_8702 hook function

https://git.drupalcode.org/project/varbase\_api/-/blob/9.0.x/varbase\_api.install\#L159

When to Use and When Not to Use?

Do not use when the import/update of configs works in the normal way.

If all configs are in the config/install and no issues on install.

Use when custom managed configs are been imported or updated in a custom order, And custom actions or changes in between imports are being involved.

If the module or profile has number of optional or managed configs. Which located in config/optional or config/managed or any other physical locations. Then they are imported or updated with custom Drupal Config Factory or Drupal Install Factory.

Must run at least ones at the end of each installation steps for installation profiles like Varbase, Vardoc, Uber Publisher.


All versions of entity-definition-update-manager with dependencies

PHP Build Version
Package Version
Requires drupal/core Version ~8.9 || ~9.0 || ~10
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 vardot/entity-definition-update-manager contains the following files

Loading the files please wait ....