Download the PHP package evpp/evpp_utdk3_customizations without Composer

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

EVPP UTDK 3 Customizations

This Composer packages provides a common set of configuration and customized functionality for EVPP sites based on UT Drupal Kit version 3.

Contents

This package will be installed to the web/modules/custom/ directory, but should not be committed to version control on individual sites (the default .gitignore should ignore it).

  1. After site installation, enable the evpp_utdk3_customizations module.

Current functionality

Functionality for this package will grow over time. This section lists its current functionality.

  1. Enterprise Login integration (also requires a request to ITS).

Adding new functionality

The base module evpp_utdk3_customizations does not provide functionality on its own. Each additional functional feature should be added as as a sub-module, and installed on new and existing sites. An example follows.

Example: Add a new content type, "Data visualizations"

  1. Spin up a local instance of an EVPP site that uses this package.
  2. Replace the github.com-based 'dist' version of this package with a 'source' based version from Enterprise Github (e.g., delete the directory, then git clone [email protected]:evpp-web/evpp_utdk3_customizations.git)
  3. Create a new Git branch for staging the new feature.
  4. In the codebase, add a new sub-module, evpp_content_type_data_visualization in the modules directory of this repository, with a standard .info.yml file and nothing else.
  5. Enable the bare module (drush en evpp_content_type_data_visualization) so that it is registered in the Drupal system.
  6. Use the Drupal UI to create the content type and its fields. Field machine names should be prefixed with evpp to prevent naming collisions. For example, a field for the visualization metadata could be machine-named field_evpp_viz_metadata.
  7. Enable features_ui if it is not already enabled, go to /admin/config/development/features, and click "Create new feature."
  8. Title the feature "Content Type: Data Visualization", with machine name evpp_content_type_data_visualization
  9. Choose the bundle "EVPP Customizations"
  10. Set the path for the configuration to be written to as modules/custom/evpp_utdk3_customizations/evpp_content_type_data_visualization.
  11. From the selection panel on the right, select the node type that you created. You may need to explicitly select the "Field storage" config related to the content type, too.
  12. Export the configuration by pressing "Write." (Verify it is located in the config/install directory of this new sub-module).
  13. Continue to build out the content type by adding any needed templates, libraries, and assets to the module itself.
  14. In evpp_utdk3_customizations.install, add logic to programmatically enable the new module on new and existing sites (i.e., enable it in both the hook_install() implementation and in a new hook_update() function.
  15. Test the workflow by pulling the site's live database (effectively erasing your locally-staged changes) and running drush updb. This should enable the new sub-module, which will install the new content type.
  16. Commit the changes to the branch & push them to Enterprise Github, using whatever internal review process is desired (e.g. pull request).
  17. Once merged into the default branch on Enterprise Github, create a new tag (e.g. 1.1.0) and push that to https://github.com/ut-evpp/evpp_utdk3_customizations . This should automatically update the information on Packagist.

    Deploying updates to sites

  18. For all sites that use this repository, you can now receive the pending update via Composer. Assuming the sites are hosted on Pantheon, navigate to each site's dashboard & click "Check for updates." This should detect a new version of evpp/evpp_utdk3_customizations, which you can apply via the dashboard and deploy up to the live environment (the update hook taking care of deploying the actual functionality).

All versions of evpp_utdk3_customizations with dependencies

PHP Build Version
Package Version
Requires utexas/pantheon_saml_integration Version ^3.0
evpp/evpp_utdk3_theme Version ^1.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 evpp/evpp_utdk3_customizations contains the following files

Loading the files please wait ....