Download the PHP package neos/timeable-node-visibility without Composer

On this page you can find all versions of the php package neos/timeable-node-visibility. 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 timeable-node-visibility


The Timeable Node Visibility package

Neos project (learn more on www.neos.io).

If you want to use Neos, please have a look at the Neos documentation

Documentation

The Timeable Node Visibility package allows you to activate or deactivate nodes at a specific time.

Adding the Neos.TimeableNodeVisibility:Timeable nodetype mixin as superType to your nodetype definition will enable the feature for your nodetype. The mixin will add the two properties enableAfterDateTime and disableAfterDateTime to configure, when your nodetype has to be enabled or disabled.

NodeType Mixin: - Neos.TimeableNodeVisibility:Timeable

Properties: - enableAfterDateTime (DateTime) - disableAfterDateTime (DateTime)

Per default the mixin is already applied to following nodetypes: - Neos.Neos:Document - Neos.Neos:Content

An asynchronous job in background is (see: Run the background job) checking if a node need to be enabled or disabled an will execute that as a command in the ContentRepository.

Install Package

You can install the package with composer.

composer require neos/timeable-node-visibility

Run the background job

There are two ways of running the background job. Each way uses a dedicated command, provided by the package.

  1. Run in a cronjob periodically each minute / each five minutes. The command stops after each run and need to get re-executed in your favorite time frame.
COMMAND:
  neos.timeablenodevisibility:timeablenodevisibility:execute

USAGE:
  ./flow timeablenodevisibility:execute [<options>]

OPTIONS:
  --content-repository contentRepository
  --quiet              quiet

  1. Run as daemon for a longer period. The command keeps running for the given time (--ttl) and checks every interval (--interval) for new nodes to enable or disable.
COMMAND:
  neos.timeablenodevisibility:timeablenodevisibility:rundaemon

USAGE:
  ./flow timeablenodevisibility:rundaemon [<options>]

OPTIONS:
  --content-repository The content repository identifier. (Default: 'default')
  --ttl                The time to live for the daemon in seconds. Set to '0'
                       for infinite. (Default: '900')
  --interval           Interval in seconds, when the command has to get
                       executed. (Default: '60')
  --quiet              Set to false if you need a more verbose output.
                       (Default: 'true')


Contribute

If you want to contribute to Neos, please have a look at https://github.com/neos/neos-development-collection - it is the repository used for development and all pull requests should go into it.


All versions of timeable-node-visibility with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
neos/flow Version *
neos/neos Version self.version
neos/contentrepository-core Version self.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 neos/timeable-node-visibility contains the following files

Loading the files please wait ....