Download the PHP package ycloudyusa/yusaopeny_gated_content without Composer

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

Virtual Y

Virtual Y is a package for Open Y and consists of features, needed to organize gated content for Y clients.

Active development is currently happening at YUSA fork. Pull requests should be submitted there. They will be pulled into this repo as they are reviewed and released.

Server requirements

In order to work Virtual Y requires HTTP server to allow

Submodules

  1. Authentication system - plugin system for different authentication types.
  2. Demo - set of migrations that installs Demo content at the initial step of your Virtual Y
  3. Storage - set of entities, needed for Virtual Y
  4. Log Features for tracking activities of your Virtual Y users.
  5. Shared content - module that give's you ability to download content from shared network.
  6. Shared content server - module for shared.openy.org server.

Installation

See also the video version of these instructions. This assumes you've already built an Open Y site and have it running.

Upgrade path

Known issues

If you facing with

It’s looks like that previous updates were failed. If you don't use Custom auth provider - disable that module, and it should help. If you use it - try manually delete that config and try again

Another one

This error was because one of the service lived in a custom folder. Try to analyse what service is broken and fix it.

Development

In development purposes, you might want a set of modules to be enabled. Use openy_gc_demo module for such purposes. Specify modules that you want to be enabled as dependencies of this module. The CI configuration automatially enables this modules, and all its dependencies.

Coding standards

PHPCS

Please find the PHPCS configuration in .phpcs.xml.

In order to use the configuration just run phpcs within the module directory.

You can add this script to .git/hooks/pre-commit to run phpcs and phpcbf on git commit

eslint

Please find the esling configuration in js/gated-content/.eslintrc.js

To run the check execute npm install && npm lint-no-fix. See js/gated-content/package.json for details.

Automatic code fixing is available with npm lint.

With docksal for openy

The docksal configuration https://github.com/fivejars/docksal-for-openy/tree/openy-gc-builds is used to for building the PR builds.

In order to use it you have to install Docksal.

Follow the instruction below to get the working local environment that provides 4 local websites (1 for each base theme and not yet installed Open Y):

Vimeo private videos

For videos, protected from embed by "Specific domains" you can have an issue with thumbnails download to drupal media. In this case - apply a patch for drupal core:

JSON API patch required for Drupal 8.7

Migration notes

If you have error:

apply patch to composer.json:


All versions of yusaopeny_gated_content with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
ext-zlib Version *
cboden/ratchet Version ^0.4.4
drupal/csv_serialization Version ^2.0 || ^3.0
drupal/date_recur Version ^2.0 || ^3.0
drupal/date_recur_modular Version ^2.0 || ^3.0
drupal/jsonapi_image_styles Version ^2.0.0 || ^3.0
drupal/recurring_events Version ^2.0@RC || ^2.0
drupal/simple_recaptcha Version ^1.0
drupal/state_machine Version ^1.4
drupal/views_data_export Version ^1.0
ycloudyusa/yusaopeny Version *
ymcatwincities/daxko_sso Version *
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 ycloudyusa/yusaopeny_gated_content contains the following files

Loading the files please wait ....